-
Notifications
You must be signed in to change notification settings - Fork 240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TorchFX] Conformance test init #2841
[TorchFX] Conformance test init #2841
Conversation
5daacf3
to
237771d
Compare
02024fd
to
9c8daec
Compare
044021d
to
31146c3
Compare
@@ -22,6 +22,16 @@ hf/hf-internal-testing/tiny-random-gpt2_backend_OV: | |||
metric_value: null | |||
hf/hf-internal-testing/tiny-random-gpt2_backend_TORCH: | |||
metric_value: null | |||
torchvision/resnet18_backend_FP32: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What differ between torchvision and timm models?
If it's same but timm can not be exported to FX, timm/resnet18 can be removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've removed timm/resnet18 and replaced with torchvision/resnet18
self.calibration_dataset = nncf.Dataset(loader, self.get_transform_calibration_fn()) | ||
|
||
def _validate(self): | ||
val_dataset = datasets.ImageFolder(root=self.data_dir / "imagenet" / "val", transform=self.transform) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it can be reused from image_classification_timm.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
e87712a
to
1700e7f
Compare
Build post_training_quantization/442 is green |
Changes
Conformance test for resnet18
Reason for changes
To extend testing scope for the TorchFX backend
Related tickets
#2766
Tests
post_training_quantization/442 is successfull