chore: add support for quantized versions of CV models CLIP, Style Transfer, EfficientNetV2, SSDLite#940
Open
chore: add support for quantized versions of CV models CLIP, Style Transfer, EfficientNetV2, SSDLite#940
Conversation
Contributor
|
I will run the new models later today to see if they work. I think you should also benchmark them and add the results to our docs. You can ask @IgorSwat for the tips about benchmarking ;D |
Contributor
Contributor
Author
|
I've added the profiling results to the corresponding READMEs in the internal exports gitlab. They all look fine to me (>80% delegated ops), but you can also take a look to make sure everything is correct. |
NorbertKlockiewicz
requested changes
Mar 9, 2026
Contributor
NorbertKlockiewicz
left a comment
There was a problem hiding this comment.
Please change examples in demo apps to use quantized models by default.
Comment on lines
+394
to
+396
| export const EFFICIENTNET_V2_S_QUANTIZED = { | ||
| modelSource: EFFICIENTNET_V2_S_QUANTIZED_MODEL, | ||
| }; |
Contributor
There was a problem hiding this comment.
Suggested change
| export const EFFICIENTNET_V2_S_QUANTIZED = { | |
| modelSource: EFFICIENTNET_V2_S_QUANTIZED_MODEL, | |
| }; | |
| export const EFFICIENTNET_V2_S_QUANTIZED = { | |
| modelName: "efficientnet-v2-s-quantized" | |
| modelSource: EFFICIENTNET_V2_S_QUANTIZED_MODEL, | |
| }; |
Please add modelName to each new model
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds support for quantized versions of CV models CLIP, Style Transfer, EfficientNetV2, SSDLite and updates paths to non-quantized models exported with ExecuTorch v1.1.0.
Introduces a breaking change?
Type of change
Tested on
Testing instructions
SSDLITE_320_MOBILENET_V3_LARGEEFFICIENTNET_V2_S,EFFICIENTNET_V2_S_QUANTIZEDSTYLE_TRANSFER_CANDY,STYLE_TRANSFER_MOSAIC,STYLE_TRANSFER_UDNIE,STYLE_TRANSFER_RAIN_PRINCESS,STYLE_TRANSFER_CANDY_QUANTIZED,STYLE_TRANSFER_MOSAIC_QUANTIZED,STYLE_TRANSFER_UDNIE_QUANTIZED,STYLE_TRANSFER_RAIN_PRINCESS_QUANTIZED,CLIP_VIT_BASE_PATCH32_IMAGE,CLIP_VIT_BASE_PATCH32_IMAGE_QUANTIZEDScreenshots
Related issues
Closes #719
Checklist
Additional notes