description: Small and mighty useful. Run Phi-3 vision with ONNX Runtime.
has_children: false
parent: Tutorials
grand_parent: Generate API (Preview)
nav_order: 1
image: /images/coffee.png
---
# Run the Phi-3 vision model with the ONNX Runtime generate() API
{: .no_toc }
The Phi-3 vision model is a small, but powerful multi modal model that allows you to use both image and text to output text. It is used in scenarios such as describing the content of images in detail.
The Phi-3 vision model is supported by versions of onnxruntime-genai 0.3.0-rc2 and later.
HuggingFace uses `git` for version control. To download the ONNX models you need `git lfs` to be installed, if you do not already have it.
* Windows: `winget install -e --id GitHub.GitLFS` (If you don't have winget, download and run the `exe` from the [official source](https://docs.github.com/en/repositories/working-with-files/managing-large-files/installing-git-large-file-storage?platform=windows))
* Linux: `apt-get install git-lfs`
* MacOS: `brew install git-lfs`
Then run `git lfs install`
2. Install the HuggingFace CLI
```bash
pip install huggingface-hub[cli]
```
## Choose your platform
If you have an NVIDIA GPU, that will give the best performance right now.
The models will also run on CPU, but they will be slower.
Support for Windows machines with GPUs other than NVIDIA is coming soon!
**Note: Only one package and model is required based on your hardware. That is, only execute the steps for one of the following sections**