-
Notifications
You must be signed in to change notification settings - Fork 61
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
feat(examples): add image classification example using quantized vit … #308
feat(examples): add image classification example using quantized vit … #308
Conversation
a7e2fbf
to
caeee73
Compare
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.
Thank you very much for this pull-request. Can you remove the debug comments, and apply styling (make style
) to make the CI green ?
examples/vision/image-classification/pets/quantize_vit_model.py
Outdated
Show resolved
Hide resolved
examples/vision/image-classification/pets/quantize_vit_model.py
Outdated
Show resolved
Hide resolved
examples/vision/image-classification/pets/quantize_vit_model.py
Outdated
Show resolved
Hide resolved
The CPU tests are failing because of the release of pytorch 2.4.1 last week (I have a guard preventing to use |
@dacorvo I have made the changes you requested. |
bd0332f
to
10e9e0b
Compare
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.
Thank you for this pull-request !
What does this PR do?
This adds an image classification example using a quantized ViT model as per #169.
Before submitting
Pull Request section?
to it if that's the case.
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.