Skip to content

Enable exporter on non INF instances#178

Merged
JingyaHuang merged 3 commits intomainfrom
enable-export-cpu-instance
Aug 21, 2023
Merged

Enable exporter on non INF instances#178
JingyaHuang merged 3 commits intomainfrom
enable-export-cpu-instance

Conversation

@JingyaHuang
Copy link
Collaborator

@JingyaHuang JingyaHuang commented Aug 18, 2023

Add the possibility to disable the validation in optimum-cli for better export experience on CPU only instances.

  • Use the flag --disable-validation when export with no neuron devices
optimum-cli export neuron --model yiyanghkust/finbert-tone --disable-validation --sequence_length 128 --batch_size 1 test_issue/

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Co-authored-by: Michael Benayoun <mickbenayoun@gmail.com>
@JingyaHuang JingyaHuang merged commit 3f74a9a into main Aug 21, 2023
@JingyaHuang JingyaHuang deleted the enable-export-cpu-instance branch August 21, 2023 10:26
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.

3 participants