Skip to content

Add option to use dynamo ONNX exporter in export-timm-model.py #651

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

Merged
merged 2 commits into from
Apr 2, 2025

Conversation

robertknight
Copy link
Owner

Add a --dynamo flag to export-timm-model.py to use the newer TorchDynamo-based ONNX exporter.

This provides a convenient way to test dynamo-exported versions of many popular vision models. See also #645.

RTen still doesn't implement some of the core optimizations for
convolution-based vision models that ORT does (eg. NCHWc reordering), but it
does now do some operator fusion.
@robertknight robertknight merged commit 4161071 into main Apr 2, 2025
2 checks passed
@robertknight robertknight deleted the timm-export-dynamo branch April 2, 2025 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant