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

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

Date: 2026-11-15Commit: d1fb285Signed: 2DC28CC7B26A283B ✓

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

phi3.22GBPhi-3-vision-128k-instruct-onnx-cpuonnxpermissive
FactsParamsnot statedSize3.22 GBFormatsonnxTasktext generationLicenseMITFrom sourcepermissive
$ fw get microsoft/Phi-3-vision-128k-instruct-onnx-cpu
# manifest sha256 9241734d0e24… · 3.22 GB · 19 files
$ fw verify ./Phi-3-vision-128k-instruct-onnx-cpu microsoft/Phi-3-vision-128k-instruct-onnx-cpu
From sourceHosted (signed)microsoft/Phi-3-vision-128k-instruct-onnx-cpuLast check: 2026-11-15 03:59 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
3.22 GB
Weights
411 B (smallest of 3 ONNX variants)
Parameters
not stated
Formats
onnx
Task
text generation
License
MIT (permissive)
Files
19, 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:59 UTCpassed

Model card

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

Phi-3 Vision-128k-Instruct ONNX CPU 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 CPU.

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 INT4 CPU: ONNX model for CPUs using int4 quantization via RTN.

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

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:

  • Intel(R) Core(TM) i9-10920X CPU @ 3.50GHz

Minimum Configuration Required:

  • CPU machine with 16GB RAM
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

19 files · 3.22 GBWeights 411 B (smallest of 3 ONNX variants). Sizes and sha256 from the signed manifest.
Hide all 19 files with their sha256
FileSizesha256
.gitattributes1.57 KB1403a1a07764f40b81196144fc294c8daff49cbc0f1d0a79fcfbf5e35a027311
LICENSE1.08 KBfa8235e5b48faca34e3ca98cf4f694ef08bd216d28b58071a1f85b1d50cb814d
README.md5.54 KB45bb18809fa7f0af60a47615f126b7809a2ccc2f6bb4d1a28923e9c24ad4e06b
config.json3.66 KBe3fbad3779524ca7e4186f276cd0fd81e2c2b33aaed3331fcced7253d5f7d391
cpu-int4-rtn-block-32-acc-level-4/genai_config.json2.08 KB46063df539734c5f95d2eec0b1753295a31ab49a884f2f7dce04b1853fed5e59
cpu-int4-rtn-block-32-acc-level-4/phi-3-v-128k-instruct-text-embedding.onnx411 B80d4bef0a944c6c826e2aab6b9ba3384c208142167b6f108f7c1fbca0cf1b2ec
cpu-int4-rtn-block-32-acc-level-4/phi-3-v-128k-instruct-text-embedding.onnx.data394 MB8ff71ee46ce8a76b05e327bc2fa13fe694723621bc0ddb857efc326934881e75
cpu-int4-rtn-block-32-acc-level-4/phi-3-v-128k-instruct-text.onnx52.1 MB255026552017d9cdf4041b5140609158afd2b185463098e69b68ab6083869e1e
cpu-int4-rtn-block-32-acc-level-4/phi-3-v-128k-instruct-text.onnx.data2.33 GB81967c3ae100a6b9a47abe34ecb9ee7ef9256bbb36aae02fc22faec4f571d69f
cpu-int4-rtn-block-32-acc-level-4/phi-3-v-128k-instruct-vision.onnx403 KB7ca4a1114104165c6ae99087f4ca5001500be2328db5d6254b8cd369f21b3a83
cpu-int4-rtn-block-32-acc-level-4/phi-3-v-128k-instruct-vision.onnx.data445 MB890b25ca58548e0e7ea88ce4325a58d08e753cc179dfa4893e09e7594d02b860
cpu-int4-rtn-block-32-acc-level-4/processor_config.json753 Bd99e46ad1153d648154b61a263f4dcbbbf95dfca342c6ac9c52dfa527f09a4a6
cpu-int4-rtn-block-32-acc-level-4/special_tokens_map.json670 Bf9535fada19315e0d8eb89521cebe111c008fee98d16e7c6744acfb50505d8c3
cpu-int4-rtn-block-32-acc-level-4/tokenizer.json1.85 MBe0ac4f900b1d5d554a629fa945a901dacbf1209aaa5807a8b215c6e61f3b976d
cpu-int4-rtn-block-32-acc-level-4/tokenizer_config.json9.22 KB6e62fa7cce7ebd42b2f099c0825162acf1682a0a7ba3222664fc167d79d6f953
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
d1fb2857b6 pinned now2026-11-15 03:59 UTC19 files · 3.22 GB

Use it

$ fw get microsoft/Phi-3-vision-128k-instruct-onnx-cpu
# manifest sha256 9241734d0e24… · 3.22 GB · 19 files
$ fw verify ./Phi-3-vision-128k-instruct-onnx-cpu microsoft/Phi-3-vision-128k-instruct-onnx-cpu
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-cpu.json --dir ./Phi-3-vision-128k-instruct-onnx-cpu $ python3 fw.py verify ./Phi-3-vision-128k-instruct-onnx-cpu ./microsoft__Phi-3-vision-128k-instruct-onnx-cpu.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-cpu --revision d1fb2857b6adca175ce2ef44a68591e076bb9445 --local-dir ./Phi-3-vision-128k-instruct-onnx-cpu

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-cpuDate: 2026-11-15Commit: d1fb285Signed: 2DC28CC7B26A283B ✓
Upstream
microsoft/Phi-3-vision-128k-instruct-onnx-cpu
Pinned commit
d1fb2857b6adca175ce2ef44a68591e076bb9445
Manifest
Phi-3-vision-128k-instruct-onnx-cpu.json · .minisig
Manifest sha256
9241734d0e24d9d60cf47cf334f53c3ef159ee9f6570bab2301d0681918913bd
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:59 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-cpu.json $ curl -O https://freeweights.allternit.com/manifests/microsoft/Phi-3-vision-128k-instruct-onnx-cpu.json.minisig $ minisign -Vm Phi-3-vision-128k-instruct-onnx-cpu.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-cpu
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-cpu.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