-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TorchFX][Conformance test] Migration to
torch.export.export
(#2990)
### Changes * tests/post_training/pipelines/image_classification_torchvision.py supports both `capture_pre_autograd_model` and `torch.export.export(...).module()` export paths * Micro fix in NNCFGraph ### Reason for changes * capture_pre_autograd_graph introduces accuracy drop for the swin_v2_s model (Improvement: Metric value is better than reference 0.836 > 0.8296) * Incorrect constant collection fails on models exported via `torch.export.export(...).module()` ### Related tickets #2766 ### Tests post_training_quantization/490/
- Loading branch information
1 parent
da5217a
commit ad11ee1
Showing
3 changed files
with
32 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters