Skip to content

Conversation

gs-olive
Copy link
Contributor

@gs-olive gs-olive commented Feb 4, 2023

Description

  • Designed to reflect test_models.py which evaluates the TorchScript path on a few key models, test_compile_e2e.py tests the ease-of-compilation using fx2trt by porting over the test cases and using "ir=fx"
  • Evaluate functionality using cosine similarity metric
  • Small fix in failing test within dispatch tracer
  • Enable all tracer tests in noxfile
  • BERT/Transformer tests to come

Fixes #1634

Type of change

  • Improved testing coverage

Checklist:

  • [ x ] My code follows the style guidelines of this project (You can use the linters)
  • [ x ] I have performed a self-review of my own code
  • [ x ] I have commented my code, particularly in hard-to-understand areas and hacks
  • [ x ] I have made corresponding changes to the documentation
  • [ x ] I have added tests to verify my fix or my feature
  • [ x ] New and existing unit tests pass locally with my changes
  • [ x ] I have added the relevant labels to my PR in so that relevant reviewers are notified

- Designed to reflect `test_models.py` which evaluates the TorchScript
path on a few key models, `test_compile_e2e.py` tests the
ease-of-compilation using fx2trt by porting over the test cases and
using "ir=fx"
- Evaluate functionality using cosine similarity metric
- Small fix in failing test within dispatch tracer
- Enable all tracer tests in noxfile
- BERT/Transformer tests to come
@gs-olive gs-olive force-pushed the fx_e2e_model_tests branch from 878ec44 to 88d7975 Compare March 29, 2023 03:50
@gs-olive gs-olive closed this Apr 12, 2023
@gs-olive gs-olive deleted the fx_e2e_model_tests branch April 12, 2023 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Port Tensor-RT and model compatibility tests to FX
2 participants