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 example to build Phi-3 vision ONNX models #705

Merged
merged 3 commits into from
Jul 17, 2024

Conversation

kunal-vaishnavi
Copy link
Contributor

@kunal-vaishnavi kunal-vaishnavi commented Jul 17, 2024

Description

This PR open-sources the scripts used to generate the Phi-3 vision ONNX models that run with ONNX Runtime GenAI. The extra files needed for generating the Phi-3 vision ONNX models have been uploaded to the Hugging Face repos.

Motivation and Context

This PR allows users to build the ONNX models needed for Phi-3 vision. It also helps the following issues.

@kunal-vaishnavi kunal-vaishnavi merged commit cb313b4 into main Jul 17, 2024
12 checks passed
@kunal-vaishnavi kunal-vaishnavi deleted the kvaishnavi/phi3-vision branch July 17, 2024 04:38
skyline75489 pushed a commit that referenced this pull request Jul 17, 2024
### Description

This PR open-sources the scripts used to generate the Phi-3 vision ONNX
models that run with ONNX Runtime GenAI. The extra files needed for
generating the Phi-3 vision ONNX models have been uploaded to the
Hugging Face repos.

-
[`microsoft/Phi-3-vision-128k-instruct-onnx-cpu`](https://huggingface.co/microsoft/Phi-3-vision-128k-instruct-onnx-cpu/tree/main/onnx)
-
[`microsoft/Phi-3-vision-128k-instruct-onnx-cuda`](https://huggingface.co/microsoft/Phi-3-vision-128k-instruct-onnx-cuda/tree/main/onnx)
-
[`microsoft/Phi-3-vision-128k-instruct-onnx-directml`](https://huggingface.co/microsoft/Phi-3-vision-128k-instruct-onnx-directml/tree/main/onnx)

### Motivation and Context

This PR allows users to build the ONNX models needed for Phi-3 vision.
It also helps the following issues.

- #571
- #685
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.

2 participants