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

Fix ONNXRT example with upgraded optimum 1.14.0 #1381

Merged
merged 4 commits into from
Nov 13, 2023
Merged

Conversation

mengniwang95
Copy link
Contributor

Type of Change

bug fix

Description

detail description

Expected Behavior & Potential Risk

the expected behavior that triggered by this PR

How has this PR been tested?

how to reproduce the test (including hardware information)

Dependency Change?

any library dependency introduced or removed

@@ -17,7 +17,7 @@ pip install -r requirements.txt
## 2. Prepare Model

```bash
optimum-cli export onnx --model decapoda-research/llama-7b-hf --task text-generation-with-past ./llama_7b
python prepare_model.py --input_model="decapoda-research/llama-7b-hf" --output_model="./llama_7b"
Copy link
Contributor

Choose a reason for hiding this comment

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

Unable to access decapoda-research/llama-7b-hf on huggingface

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed in this pr: #1345

@chensuyue chensuyue merged commit da3442d into master Nov 13, 2023
26 of 29 checks passed
@chensuyue chensuyue deleted the mengni/example branch November 13, 2023 05:07
mengniwang95 added a commit that referenced this pull request Nov 20, 2023
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