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

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

Date: 2026-11-15Commit: 0a7a521Signed: 2DC28CC7B26A283B ✓

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

phi2.60GBPhi-3-vision-128k-instruct-onnx-directmlonnxpermissive
FactsParamsnot statedSize2.60 GBFormatsonnxTasktext generationLicenseMITFrom sourcepermissive
$ fw get microsoft/Phi-3-vision-128k-instruct-onnx-directml
# manifest sha256 7a3bfc31d61a… · 2.60 GB · 19 files
$ fw verify ./Phi-3-vision-128k-instruct-onnx-directml microsoft/Phi-3-vision-128k-instruct-onnx-directml
From sourceHosted (signed)microsoft/Phi-3-vision-128k-instruct-onnx-directmlLast 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
2.60 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:57 UTCpassed

Model card

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

Phi-3 Vision-128k-Instruct ONNX DirectML 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 DirectML and ONNX Runtime for your machines with 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.

DirectML support lets developers bring hardware acceleration to Windows devices at scale across AMD, Intel, and NVIDIA GPUs. Along with DirectML, ONNX Runtime provides cross platform support for Phi-3 models across a range of devices for CPU and GPU.

ONNX Models#

Here are some of the optimized configurations we have added:

ONNX model for INT4 DML: ONNX model optimized to run with DirectML and quantized to int4 precision using 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. You can also test this with a chat app.

Hardware Supported#

The model has been tested on:

  • GPU SKU: RTX 4080 (DirectML)

Minimum Configuration Required:

  • Windows: DirectX 12-capable GPU and a minimum of 10GB of combined 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, Patrice Vignola, Xiang Zhang, Chai Chaoweeraprasit, Logan Iyer, Vicente Rivera, Jacques Van Rhyn

Files

19 files · 2.60 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.md6.02 KB375852c08d130179b1cc13fcb97e0944ea4fbbbda8746a23242d7143f36ae4e8
config.json3.66 KBe3fbad3779524ca7e4186f276cd0fd81e2c2b33aaed3331fcced7253d5f7d391
directml-int4-rtn-block-32/genai_config.json2.16 KBcae2a5eb88b5a126e1f0dfd4ab5c70f6992852abb8f1212922848f51b000f89f
directml-int4-rtn-block-32/model.onnx277 KB5ad6888c1368a6e246b1559859979c38afada8958a3251afeffa22fca9e22ca3
directml-int4-rtn-block-32/model.onnx.data2.12 GB36156f3337594e6f015c8984d6a12eb21c996b669729ce02601b761864bc495e
directml-int4-rtn-block-32/phi-3-v-128k-instruct-text-embedding.onnx411 B1c7c1cfa5b18a03f0334b02bf774d0e069472ae110aaa786a3b2cc8f37ad15fa
directml-int4-rtn-block-32/phi-3-v-128k-instruct-text-embedding.onnx.data197 MBbbb5071dffdeee95cf3edda83cbd651f066fea4d13f537f3287d0abb4af20e1c
directml-int4-rtn-block-32/phi-3-v-128k-instruct-vision.onnx416 KBd4b01c2d70bd95692f95402cd88e201565fb73a37fa39a123e92df627df1a84c
directml-int4-rtn-block-32/phi-3-v-128k-instruct-vision.onnx.data282 MB5cc72c56fd9fe5bd76bb1deef5757c1b42a37dc695c8f7ff59174d007a296938
directml-int4-rtn-block-32/processor_config.json787 B6ebb9f9b59d76f02d16f1ad03566ca59f5a058a295db9871604bd2b74c250893
directml-int4-rtn-block-32/special_tokens_map.json706 B8aa9f4bae46e5280787c8979252ffbf81f411a9aae79650f33a03d2a4b282514
directml-int4-rtn-block-32/tokenizer.json1.95 MB707bc76fabfacc23418b4b6cec3bd3a49b08a49cb8cfca1129f02e5322edbca9
directml-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
0a7a521320 pinned now2026-11-15 03:57 UTC19 files · 2.60 GB

Use it

$ fw get microsoft/Phi-3-vision-128k-instruct-onnx-directml
# manifest sha256 7a3bfc31d61a… · 2.60 GB · 19 files
$ fw verify ./Phi-3-vision-128k-instruct-onnx-directml microsoft/Phi-3-vision-128k-instruct-onnx-directml
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-directml.json --dir ./Phi-3-vision-128k-instruct-onnx-directml $ python3 fw.py verify ./Phi-3-vision-128k-instruct-onnx-directml ./microsoft__Phi-3-vision-128k-instruct-onnx-directml.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-directml --revision 0a7a521320f9b3865a153e1879da7253f1f356fb --local-dir ./Phi-3-vision-128k-instruct-onnx-directml

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-directmlDate: 2026-11-15Commit: 0a7a521Signed: 2DC28CC7B26A283B ✓
Upstream
microsoft/Phi-3-vision-128k-instruct-onnx-directml
Pinned commit
0a7a521320f9b3865a153e1879da7253f1f356fb
Manifest
Phi-3-vision-128k-instruct-onnx-directml.json · .minisig
Manifest sha256
7a3bfc31d61adfc759a37ab4c6c2e807af074bf72dee15ecb98abac7bfa6df98
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-directml.json $ curl -O https://freeweights.allternit.com/manifests/microsoft/Phi-3-vision-128k-instruct-onnx-directml.json.minisig $ minisign -Vm Phi-3-vision-128k-instruct-onnx-directml.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-directml
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-directml.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