alt.freeweights.phi / Phi-3-vision-128k-instruct-onnx-cuda
From: microsoft <huggingface.co/microsoft>Newsgroups: alt.freeweights.phiSubject:

Phi-3-vision-128k-instruct-onnx-cuda

Date: 2026-11-15Commit: 6796188Signed: 2DC28CC7B26A283B ✓

Text generation model. Onnx weights, 10.9 GB in all. Published by microsoft under MIT.

phi10.9GBPhi-3-vision-128k-instruct-onnx-cudaonnxpermissive
FactsParamsnot statedSize10.9 GBFormatsonnxTasktext generationLicenseMITFrom sourcepermissive
$ fw get microsoft/Phi-3-vision-128k-instruct-onnx-cuda
# manifest sha256 190179a93518… · 10.9 GB · 30 files
$ fw verify ./Phi-3-vision-128k-instruct-onnx-cuda microsoft/Phi-3-vision-128k-instruct-onnx-cuda
From sourceHosted (signed)microsoft/Phi-3-vision-128k-instruct-onnx-cudaLast check: 2026-11-15 03:57 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Runs with

Ranked by fit to this model (onnx), then by GitHub stars.

Convert with

Overview

Size
10.9 GB
Weights
411 B (smallest of 6 ONNX variants)
Parameters
not stated
Formats
onnx
Task
text generation
License
MIT (permissive)
Files
30, each with a sha256
Publisher
microsoft
Added
2026-11-15
Section
alt.freeweights.phi
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 03:57 UTCpassed

Model card

From the publisher at commit 6796188. Shown as plain text with links; images open at the publisher.

Phi-3 Vision-128k-Instruct ONNX CUDA models#

NOTE: This repository has been deprecated. Please refer to the new repository here for the latest models.

This repository hosts the optimized versions of Phi-3-vision-128k-instruct to accelerate inference with ONNX Runtime for your machines with NVIDIA GPUs.

Phi-3 Vision is a lightweight, state-of-the-art open multimodal model built upon datasets that include synthetic data and filtered publicly available web data with a focus on very high-quality, reasoning dense data both on text and vision. The model belongs to the Phi-3 model family, and the multimodal version supports up to 128K context length (in tokens). The base model has undergone a rigorous enhancement process, incorporating both supervised fine-tuning and direct preference optimization, to ensure precise instruction adherence and robust safety measures.

Optimized variants of the Phi-3 Vision models are published here in ONNX format to run with ONNX Runtime on CPU and GPU across devices, including server platforms, Windows, Linux and Mac desktops, and mobile CPUs, with the precision best suited to each of these targets.

ONNX Models#

Here are some of the optimized configurations we have added:

  1. ONNX model for FP16 CUDA: ONNX model for NVIDIA GPUs.
  2. ONNX model for INT4 CUDA: ONNX model for NVIDIA GPUs using int4 quantization via RTN.

How do you know which is the best ONNX model for you:

Note: Using the Hugging Face CLI, you can download sub folders and not all models if you are limited on disk space. The FP16 model is recommended for larger batch sizes, while the INT4 model optimizes performance for lower batch sizes.

Example:

# Download just the FP16 model
$ huggingface-cli download microsoft/Phi-3-vision-128k-instruct-onnx-cuda --include cuda-fp16/* --local-dir .  --local-dir-use-symlinks False

How to Get Started with the Model#

To support the Phi-3 models across a range of devices, platforms, and EP backends, we introduce a new API to wrap several aspects of generative AI inferencing. This API makes it easy to drag and drop LLMs straight into your app. To run the early version of these models with ONNX, follow the steps here.

Hardware Supported#

The models are tested on:

  • 1 A100 GPU, SKU: Standard_ND96amsr_A100_v4 (CUDA)

Minimum Configuration Required:

Model Description#
  • Developed by: Microsoft
  • Model type: ONNX
  • Language(s) (NLP): Python, C, C++
  • License: MIT
  • Model Description: This is a conversion of the Phi-3 Vision-128K-Instruct model for ONNX Runtime inference.

Additional Details#

Performance Metrics#

The performance of the ONNX vision model is similar to Phi-3-mini-128k-instruct-onnx during token generation.

Base Model Usage and Considerations#

Primary use cases

The model is intended for broad commercial and research use in English. The model provides uses for general purpose AI systems and applications with visual and text input capabilities which require

  1. memory/compute constrained environments;
  2. latency bound scenarios;
  3. general image understanding;
  4. OCR;
  5. chart and table understanding.

Our model is designed to accelerate research on efficient language and multimodal models, for use as a building block for generative AI powered features.

Use case considerations

Our models are not specifically designed or evaluated for all downstream purposes. Developers should consider common limitations of language models as they select use cases, and evaluate and mitigate for accuracy, safety, and fairness before using within a specific downstream use case, particularly for high-risk scenarios.

Developers should be aware of and adhere to applicable laws or regulations (including privacy, trade compliance laws, etc.) that are relevant to their use case.

Nothing contained in this Model Card should be interpreted as or deemed a restriction or modification to the license the model is released under.

Appendix#

Model Card Contact#

parinitarahi, kvaishnavi, natke

Contributors#

Kunal Vaishnavi, Sunghoon Choi, Yufeng Li, Baiju Meswani, Sheetal Arun Kadam, Rui Ren, Natalie Kershaw, Parinita Rahi

Files

30 files · 10.9 GBWeights 411 B (smallest of 6 ONNX variants). Sizes and sha256 from the signed manifest.
Show all 30 files with their sha256
FileSizesha256
.gitattributes1.57 KB1403a1a07764f40b81196144fc294c8daff49cbc0f1d0a79fcfbf5e35a027311
LICENSE1.08 KBfa8235e5b48faca34e3ca98cf4f694ef08bd216d28b58071a1f85b1d50cb814d
README.md6.13 KB43e0b5da67207f9a2128bcfc58e6d92a5ecfe28fb014f029eefab40d72596618
config.json3.66 KBe3fbad3779524ca7e4186f276cd0fd81e2c2b33aaed3331fcced7253d5f7d391
cuda-fp16/genai_config.json2.26 KB50f3e1361cc9fac4f2dcb17d3979b73c64879253c8e8ea93c99d7b1f9b695883
cuda-fp16/phi-3-v-128k-instruct-text-embedding.onnx411 B1c7c1cfa5b18a03f0334b02bf774d0e069472ae110aaa786a3b2cc8f37ad15fa
cuda-fp16/phi-3-v-128k-instruct-text-embedding.onnx.data197 MBbbb5071dffdeee95cf3edda83cbd651f066fea4d13f537f3287d0abb4af20e1c
cuda-fp16/phi-3-v-128k-instruct-text.onnx26.1 MB1819aec5f7a5116d5a01491862791b1d9a23f010913afad374bc6d3e6049e0e2
cuda-fp16/phi-3-v-128k-instruct-text.onnx.data7.45 GB3dc27fb464c649bcd54a533f8162b9787bc2e81920c96e1e950971261bab4b10
cuda-fp16/phi-3-v-128k-instruct-vision.onnx399 KBccffd883fc063aa249cde4af299ac4efb292fc46b3c796b27e7c2032cef312d4
cuda-fp16/phi-3-v-128k-instruct-vision.onnx.data626 MB91c0a60e39055b5767e557a849002ed49ee8601149a60ffb2cafd5a9e6ed122b
cuda-fp16/processor_config.json753 Bd99e46ad1153d648154b61a263f4dcbbbf95dfca342c6ac9c52dfa527f09a4a6
cuda-fp16/special_tokens_map.json706 B8aa9f4bae46e5280787c8979252ffbf81f411a9aae79650f33a03d2a4b282514
cuda-fp16/tokenizer.json1.85 MBe0ac4f900b1d5d554a629fa945a901dacbf1209aaa5807a8b215c6e61f3b976d
cuda-fp16/tokenizer_config.json9.63 KB7172058effa057df3794ec071e6cb46e1445ffe70b2e045e066ff1694acca801
cuda-int4-rtn-block-32/genai_config.json2.26 KB50f3e1361cc9fac4f2dcb17d3979b73c64879253c8e8ea93c99d7b1f9b695883
cuda-int4-rtn-block-32/phi-3-v-128k-instruct-text-embedding.onnx411 B1c7c1cfa5b18a03f0334b02bf774d0e069472ae110aaa786a3b2cc8f37ad15fa
cuda-int4-rtn-block-32/phi-3-v-128k-instruct-text-embedding.onnx.data197 MBbbb5071dffdeee95cf3edda83cbd651f066fea4d13f537f3287d0abb4af20e1c
cuda-int4-rtn-block-32/phi-3-v-128k-instruct-text.onnx26.2 MB7dddf37fac48112a8bd8052e3d3cddb8c7b148f805c559509db99d8ddd1b191f
cuda-int4-rtn-block-32/phi-3-v-128k-instruct-text.onnx.data2.09 GB9bc8568a35a27a07a0801045cbaf5feeb9a2a1c85af745600ea6345cd1c2b60c
cuda-int4-rtn-block-32/phi-3-v-128k-instruct-vision.onnx411 KB339fc588156547028e199b16294c95d9b8e86a7b2178de8e54bfa83f2984ece6
cuda-int4-rtn-block-32/phi-3-v-128k-instruct-vision.onnx.data282 MBb396a234471a1eba65405344feb7115d0ff6d16905e83e6a88a52ed2d130ddc7
cuda-int4-rtn-block-32/processor_config.json753 Bd99e46ad1153d648154b61a263f4dcbbbf95dfca342c6ac9c52dfa527f09a4a6
cuda-int4-rtn-block-32/special_tokens_map.json706 B8aa9f4bae46e5280787c8979252ffbf81f411a9aae79650f33a03d2a4b282514
cuda-int4-rtn-block-32/tokenizer.json1.85 MBe0ac4f900b1d5d554a629fa945a901dacbf1209aaa5807a8b215c6e61f3b976d
cuda-int4-rtn-block-32/tokenizer_config.json9.63 KB7172058effa057df3794ec071e6cb46e1445ffe70b2e045e066ff1694acca801
onnx/builder.py8.56 KBb588ef7365bde2b08fbd02e4418c0457ad4061262b85666e04aa22ec846d614f
onnx/config.json3.65 KB90a8c8ab1568392b75720b4a0c5a5751cb838154f8ce33d6b804e774794ec4f9
onnx/image_embedding_phi3_v_for_onnx.py13.9 KBb78ffb8d074c4d74a63a0307518ee67440cddfc4c4306ece811df2505041ec18
onnx/modeling_phi3_v.py75.5 KB76c0136fef902a33b50b2d6b981a378b1f5faa5d5b85ff0039f3813c80287e68
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
67961884c1 pinned now2026-11-15 03:57 UTC30 files · 10.9 GB

Use it

$ fw get microsoft/Phi-3-vision-128k-instruct-onnx-cuda
# manifest sha256 190179a93518… · 10.9 GB · 30 files
$ fw verify ./Phi-3-vision-128k-instruct-onnx-cuda microsoft/Phi-3-vision-128k-instruct-onnx-cuda
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/microsoft/Phi-3-vision-128k-instruct-onnx-cuda.json --dir ./Phi-3-vision-128k-instruct-onnx-cuda $ python3 fw.py verify ./Phi-3-vision-128k-instruct-onnx-cuda ./microsoft__Phi-3-vision-128k-instruct-onnx-cuda.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download microsoft/Phi-3-vision-128k-instruct-onnx-cuda --revision 67961884c19c391ec14e8982e0adf792161898dd --local-dir ./Phi-3-vision-128k-instruct-onnx-cuda

License

Name
MIT License
Id
MIT
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
LICENSE
Text sha256
fa8235e5b48faca34e3ca98cf4f694ef08bd216d28b58071a1f85b1d50cb814d
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: microsoft <huggingface.co/microsoft>Newsgroups: alt.freeweights.phiSubject: Phi-3-vision-128k-instruct-onnx-cudaDate: 2026-11-15Commit: 6796188Signed: 2DC28CC7B26A283B ✓
Upstream
microsoft/Phi-3-vision-128k-instruct-onnx-cuda
Pinned commit
67961884c19c391ec14e8982e0adf792161898dd
Manifest
Phi-3-vision-128k-instruct-onnx-cuda.json · .minisig
Manifest sha256
190179a93518a72b19e77760c2a5db417f9ccb8e6de0ffb2348a2ca9f9fc4f25
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:57 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/microsoft/Phi-3-vision-128k-instruct-onnx-cuda.json $ curl -O https://freeweights.allternit.com/manifests/microsoft/Phi-3-vision-128k-instruct-onnx-cuda.json.minisig $ minisign -Vm Phi-3-vision-128k-instruct-onnx-cuda.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download microsoft/Phi-3-vision-128k-instruct-onnx-cuda
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. Phi-3-vision-128k-instruct-onnx-cuda.json. Provenance. Takedown history: none.
From: BAAI <huggingface.co/BAAI>Subject: bunny-phi-2-siglip-lora
From: microsoft <huggingface.co/microsoft>Subject: MediPhi
From: microsoft <huggingface.co/microsoft>Subject: MediPhi-Clinical
From: microsoft <huggingface.co/microsoft>Subject: MediPhi-Guidelines
From: microsoft <huggingface.co/microsoft>Subject: MediPhi-Instruct
From: microsoft <huggingface.co/microsoft>Subject: MediPhi-MedCode