Skip to content
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 argument in the CLI to specify device to do the ONNX export on #634

Merged

Conversation

fxmarty
Copy link
Contributor

@fxmarty fxmarty commented Dec 22, 2022

As per title, can be useful for large models.

The validation should be done on the same device as well.

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Dec 22, 2022

The documentation is not available anymore as the PR was closed or merged.

Copy link
Contributor

@regisss regisss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Member

@michaelbenayoun michaelbenayoun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

optimum/exporters/onnx/convert.py Outdated Show resolved Hide resolved
optimum/exporters/onnx/convert.py Outdated Show resolved Hide resolved
fxmarty and others added 8 commits December 22, 2022 18:21
@fxmarty fxmarty merged commit 874d2b2 into huggingface:main Dec 23, 2022
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.

4 participants