-
Notifications
You must be signed in to change notification settings - Fork 489
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
Add test for exporters.onnx CLI #573
Conversation
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. |
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.
LGTM!
@@ -0,0 +1,58 @@ | |||
PYTORCH_EXPORT_MODELS_TINY = { |
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 think this could be the occasion to get rid of the PYTORCH_EXPORT_MODELS
in test_onnx_export.py
and use this everywhere, wdty?
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.
Yes, I want to do it in a next PR where we'll have nightly tests for the ONNX export with various shapes, potentially a bit larger models, while the normal (on PR and main) exporters tests would use this TINY
dict!
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.
LGTM! Thanks @fxmarty 🔥
Will merge and fix the failing tests in an other PR. |
As per title.
Simply check that the CPI does not raise errors.
Next PR: testing on various shapes, slow and fast tests.
Before submitting