-
Notifications
You must be signed in to change notification settings - Fork 26.2k
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
Make sam ONNX exportable #22915
Make sam ONNX exportable #22915
Conversation
The documentation is not available anymore as the PR was closed or merged. |
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 good to me. Should you also add an ONXX config and enable the CI tests ? (not sure maybe tracing will work)
@ArthurZucker The PR is here: huggingface/optimum#995 |
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.
Thanks for adding this!
Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
* fix code not exportable * fix * Update src/transformers/models/sam/modeling_sam.py Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com> --------- Co-authored-by: Sylvain Gugger <35901082+sgugger@users.noreply.github.com>
As per title, would be great to have this PR on the next release so that we can support the ONNX export (see huggingface/optimum#995). This piece is the only blocking one.