From: microsoft <huggingface.co/microsoft>Newsgroups: alt.freeweights.textSubject:

Mage-VL

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

Image text to text model with 4.7B parameters. Safetensors weights, 10.8 GB in all. Published by microsoft under Apache-2.0.

4.7B params10.8GBMage-VLsafetensorspermissive
FactsParams4.7BSize10.8 GBFormatssafetensorsTaskimage text to textLicenseApache-2.0From sourcepermissive
$ fw get microsoft/Mage-VL
# manifest sha256 197a3e7bf6d1… · 10.8 GB · 78 files
$ fw verify ./Mage-VL microsoft/Mage-VL
From sourceHosted (signed)microsoft/Mage-VLLast check: 2026-11-15 02:48 UTC

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

Runs withAIBrixBentoMLCTranslate2ExLlamaV2ExLlamaV3exofastllmFlashInferKTransformersLitServeLMCacheLMDeployLocalAImistral.rsMLC LLMMooncakeSGLangText Generation WebUItinygradTransformersTriton Inference ServervLLMXinferenceFine-tune withAccelerateAlignment HandbookAxolotlColossal-AIDeepSpeedEasyR1FlashAttentionH2O LLM StudioJAXKerasLiger KernelLitGPTLLaMA-FactoryMegatron-LMms-swiftnanotronOLMo-coreOpenRLHFOumiPEFTPyTorch Lightningsd-scriptsSimpleTunerTorchTitantorchtuneTransformer EngineTRLUnslothverlConvert withAQLMAutoRoundCore ML ToolsExecuTorchGPTQModelLLM CompressormergekitNeural CompressorOliveONNXOptimum QuantoOptimumsafetensorsTensorRT Model OptimizertorchaoEvaluate withAutoevalsDeepEvalEvaluateHELMLightEvallm-evaluation-harnessOpenCompassOpikRagassimple-evalsSWE-benchTruLensWeaveScan withAgentDojoAI Fairness 360DeepTeamDetoxifyFairlearngarakGiskardGuardrailsMCP ScannerModelScanNeMo GuardrailspicklescanpromptfooWorks withAgent Development KitAG2Google AI Edge GalleryAiderany-llmAnythingLLMBAMLbrowser-useCAMELHugging Face Chat UIChatboxCherry StudioClineCodex CLICogneeCrewAIDeerFlowdocTRDSPyEasyOCREnchantedGemini CLIGitHub MCP ServergooseGPT ResearcherGradioGraphitiGuidanceHollamaInstructorKilo CodeLangflowLangGraphLiteLLMLlamaIndexLLMLocalAGILoLLMs WebUIMCP Python SDKMem0MetaGPTNextChatOllama JavaScriptOllama PythonolmOCROpenAI Agents SDKopencodeOpenHandsotermOutlinesPage AssistPlaywright MCPPortkey AI GatewayPrivateGPTQwen CodeRWKV RunnerSemantic KernelsmolagentsStrands AgentsSuryaVaneXGrammar

Overview

Size
10.8 GB
Weights
10.6 GB (safetensors)
Parameters
4.7B
Formats
safetensors
Task
image text to text
License
Apache-2.0 (permissive)
Files
78, each with a sha256
Publisher
microsoft
Added
2026-11-15
Section
alt.freeweights.text
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 02:48 UTCpassed

Model card

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

Mage-VL#

An Efficient Codec-Native Streaming Multimodal Foundation Model

Project Page arXiv GitHub Mage-VL Mage-ViT License: Apache 2.0

Image: Mage-VL


Mage-VL is a codec-native, proactive-streaming multimodal foundation model for image and video understanding, whose visual encoder is trained entirely from scratch at a compact 4B scale. It targets a modern Moravec's paradox of VLMs — strong at complex offline reasoning, yet slow and compute-heavy on simple real-time streaming perception. Instead of decoding video into uniformly-sampled frames and pushing a dense grid of patch tokens through a frozen web-pretrained ViT, Mage-VL follows the structure of modern video codecs: it separates a stream into anchor (I) frames and predicted (P) frames, keeps every anchor patch, and retains only the predicted-frame patches where the codec spends bits — the regions carrying real motion and new detail. This codec-aligned sparsity cuts visual tokens by over 75% while preserving spatio-temporal context, yielding up to 3.5× wall-clock inference speedup over uniform frame sampling.

The system pairs two components:

  • Mage-ViT — a from-scratch Codec-ViT visual encoder that allocates tokens by codec-derived spatio-temporal importance, on a shared 16×16 patch grid with 3D rotary position encoding. It is codec-agnostic: the same interface accepts a traditional codec (H.264/AVC, HEVC/H.265) via motion vectors + residual energy, or a neural codec (DCVC-RT) via its learned rate map — no architecture or retraining change.
  • Qwen3-4B causal decoder — a Qwen3-4B-Instruct-2507 language backbone (the only pretrained component) that consumes Mage-ViT's variable-length token stream through a lightweight two-layer MLP projector, with a unified interface for images, short/long/ultra-long video, and streaming.

On top of this pair, a System 1 & System 2 dual-process design adds proactive streaming inside a single model: a lightweight cognition gate (System 1) watches each rolling codec window and stays silent on routine content, invoking the full VLM (System 2) only when a response-worthy event completes — no multi-agent pipeline required.

✨ Highlights#

  • Codec-native & from scratch. The entire visual stack is trained from scratch — no billion-scale image-text ViT initialization. The bio-inspired predictive-patch mechanism (I/P frames at 16×16) cuts visual-token consumption by over 75% (~1/8 or less of dense frame sampling), letting the model train on videos 8× longer under the same budget.
  • Codec-native speedup. Codec tokenization sets a superior accuracy–efficiency frontier — up to 3.5× wall-clock inference speedup over uniform frame sampling at matched accuracy, and the fastest of all compared models on most video benchmarks (single 8×B200 node).
  • Data-efficient tokenizer. Trained on only ~100M unlabeled images/videos, Mage-ViT matches or beats frontier encoders trained on billions of image-text pairs (SigLIP2 @ 10B, MoonViT @ 2B) — e.g. 99.33% on CIFAR-10 and 85.69% on ImageNet with 256 tokens, showing web-scale pretraining is not essential for a strong VLM front-end.
  • Native-resolution scaling. Variable-resolution pretraining lets Mage-ViT improve monotonically with the token budget (peaking >96.1% Food-101 / >86.3% ImageNet at 676 tokens) where fixed-resolution encoders saturate or degrade.
  • Matched-LLM video gains. With the 4B Qwen3 backbone held fixed and only the ViT swapped, Mage-VL improves over Qwen3-VL-4B on every reported video and temporal-grounding benchmark — largest on localization-heavy tasks (+22.5 QVHighlight, +17.1 ActivityNet, +11.0 VSI-Bench, +24.5 VideoEval-Pro).
  • Strong for its size. On par with Qwen3-VL-4B on static images, and clearly ahead on video understanding and spatial intelligence (+11.0 VSI-Bench, +53.1 CrossPoint, +5.2 EmbSpatial, +22.5 QVHighlight).
  • Proactive streaming, single model. A frozen-backbone cognition gate delivers low-latency, event-gated commentary; it tops TimVal / F1 / ROC-AUC / PR-AUC on SoccerNet streaming and generalizes to real 2026 World Cup broadcasts.

📥 Model#

A single checkpoint, microsoft/Mage-VL, is one unified model that simultaneously provides image & video understanding and the proactive streaming gate — the same weights answer offline image/video questions and drive event-gated commentary. It covers every Mage-VL capability: image understanding, frame-sampled video, traditional H.264/HEVC codec video, neural DCVC-RT codec video, and event-gated streaming. The repository bundles the codec processor, the neural codec package, and the proactive gate weights — no separate understanding, NVC, or streaming checkpoint is required.

We additionally release microsoft/Mage-ViT — the standalone visual encoder from the two-stage, from-scratch ViT pre-training (cluster-discrimination on ~100M unlabeled image/video frames). This is the ViT-pre-trained checkpoint only: it has not gone through the joint VLM training with the language model. Use it as a data-efficient, codec-native visual encoder or as a drop-in ViT for your own multimodal training.

ModelTaskBackboneHugging Face
Mage-VLimage & video understanding + proactive streaming gateMage-ViT + Qwen3-4B-Instruct-2507🤗 microsoft/Mage-VL
Mage-ViTcodec-native visual encoder — ViT pre-training only, no VLM joint trainingCodec-ViT (from scratch)🤗 microsoft/Mage-ViT

🏗️ Architecture#

Image: Mage-VL proactive streaming framework Proactive streaming framework — Mage-ViT incrementally encodes the continuous stream into codec-native visual features shared by the event gate and the causal decoder. The gate scores each rolling window and stays silent on routine content; when it opens, the decoder emits an event-conditioned response.

Mage-ViT — a from-scratch Codec-ViT visual encoder. On a 16×16 patch grid it keeps all anchor (I) frame patches and only the motion-salient predicted (P) frame patches, cutting visual tokens by over 75% while a shared 3D RoPE preserves spatio-temporal positions.

Mage-VL — a unified model where projected visual tokens and text tokens share one causal Qwen3 decoder. Still images become a single spatial block; videos become temporally-ordered codec windows. In streaming mode, a lightweight cognition gate predicts p_speak = g(h_t) per rolling window (over a recurrent streaming memory kept by an event-preserving feature extractor) and triggers generation when p_speak ≥ τ; the response is decoded by the frozen base model from a local sliding window of the most recent codec segments, and a text query can be injected at any time.

Training — a progressive five-stage supervised curriculum (no preference/RL post-training) that produces one unified model:

  1. Multimodal alignment via captions — ~350M dense image captions + 4.2M short-video captions.
  2. Instruction tuning + short temporal grounding — ~54M image-instruction samples + 3.4M 30–180s video captions.
  3. Temporal-horizon expansion — medium/long video (LLaVA-Video, TimeLens, VideoChat-Flash, Molmo2) with retained image SFT.
  4. Codec-native long-context adaptation — 350K long videos as rolling codec windows (up to 384/768 frames).
  5. Proactive streaming alignment — a cognition gate fine-tuned on ~3.3M streaming samples with the visual encoder and LLM kept frozen (only the gate is trained).

The five stages together produce a single unified model, Mage-VL, that handles image understanding, offline video reasoning, and proactive streaming — no separate variants are shipped.

Two parts of the pipeline apply an AI4AI (AI-for-AI) paradigm: (1) dense recaptioning runs through an agentic closed loop where a GPT-5 rubric scorer grades captions and a Copilot coding agent co-designs the prompt and harness code (e.g. rendering timestamp overlays) under a human validation gate — improving every downstream OCR/doc/chart/perception benchmark and inspiring SkillOpt-Lite; and (2) Stage-3 uses AI-based diagnostics to decide which video categories, resolutions, and frame counts to train on.

📊 Performance#

Image understanding & spatial intelligence — click to expand

Performance comparison across models. Mage-VL-4B and Qwen3-VL-4B use the same 4B Qwen3 LLM backbone; Phi-4-Multimodal-Instruct (Phi-4-MM, 5.6B) and Phi-4-Reasoning-Vision (Phi-4-R-V, 15B) are reported for reference. – = not run. Bold = best in row.

BenchmarkMage-VL-4BQwen3-VL-4BPhi-4-MM-5.6BPhi-4-R-V-15B
Document understanding
DocVQA-val95.1494.6992.7976.20
InfoVQA-val80.3379.5071.8455.41
AI2D w/ Mask83.1681.5481.8382.87
ChartQA84.8883.9683.7683.40
OCRBench81.8081.6081.7073.90
MultiDocVQA-val87.4687.2146.8458.35
ChartQAPro32.5726.790.1325.38
TextVQA-val77.2880.5539.9376.06
CC-OCR Doc32.2539.694.9917.65
General VQA
MMBench-EN-dev84.0283.2565.8184.19
MMBench-CN-dev82.0480.5875.1779.47
MMStar67.3262.0461.2459.63
MME-Perception1709.541703.501409.661590.21
SeedBench (All)76.7875.6568.2873.70
CV-Bench87.7985.3757.0981.31
MME-RealWorld66.5263.2032.4557.80
Spatial intelligence
CV-Bench-2D82.1381.0056.1280.11
CV-Bench-3D94.7592.3056.9282.50
BLINK65.1165.1035.2457.80
EmbSpatial82.6777.5041.5172.67
CrossPoint80.0026.9012.2047.73
CRPE-Relation76.1277.7034.6074.46
SAT67.3369.3055.3366.67

Video understanding & temporal grounding — click to expand

Bold = best in row.

BenchmarkMage-VL-4BQwen3-VL-4BPhi-4-MM-5.6BPhi-4-R-V-15B
Video QA
MV-Bench65.166.744.949.2
NextQA83.179.854.169.0
VideoMME64.059.744.755.3
LongVideoBench61.357.741.1451.2
LVBench41.839.225.3134.4
MLVU-dev68.761.544.1851.8
VideoEval-Pro45.220.714.3516.8
Temporal grounding
Timelens-Charades50.743.14.0920.6
Timelens-ActivityNet45.428.42.0323.0
Timelens-QVHighlight57.434.92.4711.6
Spatial reasoning
VSI-Bench64.353.324.0925.5
Tracking (J&F)
Ref-DAVIS1725.837.483.142.15
MeViS-ValidU22.553.1610.281.53
ReasonVOS17.769.669.509.77
Ref-YT-VOS25.575.288.643.85

Proactive streaming (SoccerNet) & online video (OVO-Bench) — click to expand

SoccerNet — response timing (StreamMind protocol, codec-native inputs, zero-tolerance canvas matching). Bold = best in column.

MethodTriggerAccTimValF1ROC-AUCPR-AUC
StreamMind52.1847.36–––
JoyAI-VL-Interaction-9B97.9819.253.5556.261.68
Mage-VL-4B79.2155.5416.3583.149.30

JoyAI's high TriggerAcc comes from predicting silence almost everywhere under SoccerNet's heavy class imbalance, so it collapses on the precision-sensitive metrics; StreamMind is trained in-distribution on SoccerNet, whereas Mage-VL is not.

OVO-Bench — online video understanding (SimpleStream recent-window protocol, 4 frames @ 1 fps; no streaming-specific fine-tuning). Mage-VL sets a new state-of-the-art overall score among streaming architectures. RT-Avg / BT-Avg are the Real-Time Visual Perception / Backward Tracing sub-task averages; Overall is their mean. Bold = best model per column (Human is the reference upper bound).

Model#FramesRT-AvgBT-AvgOverall
Human–93.292.392.77
Offline video LLMs
Qwen2.5-VL-7B1 fps59.944.752.28
LLaVA-Video-7B6463.540.451.95
Qwen3-VL-4B6472.853.163.00
Online / streaming video LLMs
VideoLLM-online-8B2 fps20.817.719.26
Flash-VStream-7B1 fps28.427.427.90
Dispider-7B1 fps54.636.145.35
TimeChat-Online-7B1 fps61.941.751.80
StreamForest-7B1 fps61.252.056.60
Streamo-7B1 fps66.046.156.05
HERMES-7B†1 fps69.049.459.20
JoyAI-VL-Interaction-9B1 fps68.448.658.50
Mage-VL-4B1 fps79.8448.1564.00

† HERMES = Qwen2.5-VL-7B + HERMES (4K tokens). Baseline results and table structure follow SimpleStream.

🔬 Key Findings#

Beyond the model, the report distills seven empirical findings for efficient multimodal training:

  1. Web-scale pretraining is not essential. A from-scratch backbone on ~100M unlabeled frames matches encoders trained on billions of image-text pairs.
  2. Variable-resolution pretraining scales monotonically. Quality keeps improving with the visual-token budget instead of saturating/degrading like fixed-resolution encoders.
  3. Codec-native tokenization sets a better accuracy–efficiency frontier — up to 3.5× wall-clock inference speedup over uniform frame sampling.
  4. Explicit VideoQA SFT is redundant. Dense video captions + standard image SFT are sufficient for strong zero-shot VideoQA.
  5. Motion–spatial synergy. Dynamic video training substantially improves static 2D/3D spatial reasoning.
  6. AI4AI data pipeline. Agentic closed-loop feedback + prompt/code co-design systematically lift caption quality and downstream scores (inspired SkillOpt-Lite).
  7. Zero-Vision SFT for multimodal RL. Bypassing visual SFT in favor of pure-text reasoning SFT unlocks stronger multimodal RL — a compute-efficient path.

🚀 Quick Start#

A single checkpoint, microsoft/Mage-VL, covers every capability below.

CapabilityScriptHow to run
Image understandinginference.py--mode offline --image
Frame-sampled videoinference.py--mode offline --video --video-backend frames
Traditional H.264/HEVC codec videoinference.py--mode offline --video --video-backend codec --codec-engine traditional
Neural DCVC-RT codec videoinference.py--mode offline --video --video-backend codec --codec-engine neural
Online image / video (SGLang)inference.py--mode online … --base-url <server>
Event-gated streaming commentaryinference_streaming.pyin the GitHub repo
Installation#

For offline Transformers inference:

pip install "transformers>=5.7" accelerate pillow torch torchvision \
  opencv-python codec-video-prep

Codec-based video inference also requires ffmpeg and ffprobe on PATH.

Examples#

Two sample inputs ship with this repository:

InputQuestionContent
examples/dog.jpgDescribe this image in detail.Photo of a dog sitting in front of a patterned rug
examples/soccer-broadcast.mp4Describe this video.30s, 960×540 football broadcast clip
Offline inference#

Download inference.py. Offline mode loads the checkpoint with AutoModelForCausalLM.from_pretrained and supports images, frame sampling, and both codec engines:

# image
python inference.py --mode offline --image examples/dog.jpg \
  --question "Describe this image in detail."

The image depicts a dog sitting on a patterned rug. The dog appears to be a medium-sized breed with a thick, fluffy coat. Its fur is primarily white with patches of black and brown. The dog's ears are perked up, and it has a calm and attentive expression. [...]

# video — uniform frame sampling
python inference.py --mode offline --video examples/soccer-broadcast.mp4 \
  --video-backend frames --num-frames 32 \
  --question "Describe this video."

The video opens with a man in a black polo shirt, sporting a short haircut, standing in a stadium. He is holding a yellow microphone with the BBC Sport logo on it. The background reveals a large crowd of spectators. [...]

# video — traditional codec (HEVC/H.264)
python inference.py --mode offline --video examples/soccer-broadcast.mp4 \
  --video-backend codec --codec-engine traditional --num-frames 32 \
  --question "Describe this video."

The video opens with a BBC Sport broadcast, featuring a presenter in a black shirt holding a yellow microphone. The background reveals a packed stadium, with the scoreboard displaying "ENG 1 ARG 2 FT", indicating the final score of the match. [...]

# video — neural codec (DCVC-RT)
python inference.py --mode offline --video examples/soccer-broadcast.mp4 \
  --video-backend codec --codec-engine neural --num-frames 32 \
  --question "Describe this video."

The video opens with a BBC Sport broadcast, featuring a presenter standing in a stadium filled with spectators. The presenter, dressed in a black shirt, holds a yellow BBC Sport microphone and wears a black earpiece. [...]

Online inference#

Online mode talks to an OpenAI-compatible SGLang server. First build and launch the server with the Mage-VL SGLang branch (building it needs protobuf-compiler and a Rust toolchain):

sudo apt-get update && sudo apt-get install -y protobuf-compiler
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
  | sh -s -- -y --profile minimal --default-toolchain 1.90.0
source "$HOME/.cargo/env"

git clone -b feat/mage-vl https://github.com/kcz358/sglang
cd sglang
pip install -e 'python[all]'
python -m sglang.launch_server \
  --model-path microsoft/Mage-VL \
  --trust-remote-code

Then send an image or sampled video frames to the running server:

pip install openai

python inference.py --mode online --image examples/dog.jpg \
  --question "Describe this image in detail." \
  --base-url http://localhost:30000/v1

python inference.py --mode online --video examples/soccer-broadcast.mp4 \
  --num-frames 32 \
  --question "Describe this video." \
  --base-url http://localhost:30000/v1

Use --model, --max-new-tokens, and --api-key to override their defaults.

Streaming inference#

streammind_gate.safetensors in this repository holds the event gate. Streaming inference splits a video into non-overlapping segments, stays silent on routine content, and generates a caption only when a response-worthy event is detected. Run it with inference_streaming.py from the GitHub repository:

python inference_streaming.py \
  --video examples/soccer-broadcast.mp4 \
  --video_backend codec \
  --segment_sec 8
[t=0.0-8.0s] gate=silence (p=0.19)
[t=8.0-16.0s] gate=response (p=0.55) -> The video features a live sports broadcast from BBC Sport, set in a large stadium filled with spectators. The broadcast focuses on a football match between England and Argentina, with the score displayed as England 1, Argentina 2. [...]
[t=16.0-24.0s] gate=response (p=0.73) -> The video features a sports broadcast set in a large stadium filled with spectators. Four commentators are gathered around a table with a 'BBC Sport' logo, each holding a yellow microphone. [...]
[t=24.0-30.0s] gate=silence (p=0.31)

The gate is trained on codec inputs, so --video_backend codec is the intended setting. Use --video_backend frames for direct frame sampling. Additional controls include --num_frames, --cur_fps, --max_segments, --max_new_tokens, --gate_threshold, and --attn_impl.

📝 Citation#

@article{yang2026mage,
  title={Mage-VL: An Efficient Codec-Native Streaming Multimodal Foundation Model},
  author={Yang, Senqiao and Zhang, Kaichen and Jia, Zhaoyang and Guo, Jinghao and Shen, Yifei and Zhang, Xinjie and Zhang, Xiaoyi and Wang, Haoqing and Li, Xiao and Zhang, Peng and others},
  journal={arXiv preprint arXiv:2607.24904},
  year={2026}
}

📄 License#

Mage-VL is released under the Apache-2.0 License.

Files

78 files · 10.8 GBWeights 10.6 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 78 files with their sha256
FileSizesha256
.gitattributes1.95 KBe3645ea2e6944c6af3f1d2b3ef56af6df1e48572e45ad9f30c446dfe70873fd3
README.md22.5 KBe84630ce6e4d4f636dc280b28065357c22aa1a373d29e7404a8a5dcfbbd81f45
added_tokens.json605 B58b54bbe36fc752f79a24a271ef66a0a0830054b4dfad94bde757d851968060b
assets/mage-vl-cover.png2.71 MBf5a8f9a516d1d26b4798e9633fbca431b10d7065fa6f3c05df3b2a3bbbe3abff
assets/mage-vl-framework.png1.52 MB9a62ff5d41f67f420f3d32426358eee2fd56870eb07cd09a0e6f3a7fa96291f4
chat_template.jinja1.02 KBa0bc6f6fc7a29a80017a433e8f03a1cc1236e838a944a2d034295a60c4f2fddb
codec_video_processing_mage_vl.py26.4 KBf3bff7fe00f84a91d542e08561d5d819dd6a4b4192cf075858eb8c495f9e0b02
config.json3.24 KBfd4621212569e893ce2caa110431fde73f3cc1a1d92e1b8320bb4e0cfbcad34a
configuration_mage_vl.py4.93 KB7e3da0c90726ef33da4f0362b3c71dc28650003f1cc11e061d3e99404a8bfed8
examples/dog.jpg525 KB164d8dfe707fb854e288ad2eea65c2db87e90af11f689c85502860eeaf3f4794
examples/soccer-broadcast.mp43.91 MB9d840e86558fe5a59bb743092d161228c63c687ab53588ee476a1cd46064125a
generation_config.json121 B8b9afb365eaab1c8fc2395f618067ee2307b9821e207f12c5c52cf371a14b0e0
inference.py5.99 KBb70b06ef25073f3178c156859da658c61e26dc8d1baad2f56a9c37acbfa7f12b
merges.txt1.67 MB8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5
model-00001-of-00002.safetensors4.97 GB98fa203652a843650343732d2597f08c9b491cf4e310cd269eed34ca27ebce58
model-00002-of-00002.safetensors4.52 GB719360069004f6b7b59303bd21bc1111bcd353bb0ccdebe1fe3971b87cd7b30f
model.safetensors.index.json65.8 KB2cad26f4364750d9b0551dff11e776837b9ef822fe29e068f68d935a8e65cc54
modeling_mage_vl.py72.8 KB3fe8bb1e40fa38db4ae08da097ee1238aa4258c4d454e66fe93a44d08ab641ec
neural_codec/DCVC/LICENSE.txt1.07 KB7c77a44a8acd9b41fdc209864a8016b3d430b5d0e09309818d5b7444336df744
neural_codec/DCVC/NOTICE.txt14.4 KBecd478088d8f3cdf2a9378c35ebb83213a5470c84750875c53081e212241f651
neural_codec/DCVC/src/cpp/py_rans/py_rans.cpp15.0 KB8d7bf63b3877e15e6a49f28b52bfd1f343f5899de0461fc6c155c885d9e512f1
neural_codec/DCVC/src/cpp/py_rans/py_rans.h2.46 KBb7ebdd2f00d685486f24317ed2efa09a4772e06aba02932ee696377e6d64e3d4
neural_codec/DCVC/src/cpp/py_rans/rans.cpp17.7 KBfd78ff143d4f62b6b7393b8468eaa6558b8e6fd5021b15f84b8c7b22ae3e9a72
neural_codec/DCVC/src/cpp/py_rans/rans.h6.99 KB9b15dc5c77bcbf9bde1ce88c7bb357b5170bb8601ef9852960335999eafb5261
neural_codec/DCVC/src/cpp/py_rans/rans_byte.h5.08 KBa5d057d14657c8acc4a24300f2aa9424ff0544b42e92551a17a746fd0cc70a77
neural_codec/DCVC/src/cpp/setup.py820 B36ade348d410279cc0043a6d20ba3105c6aae30c593250ed2424431950785307
neural_codec/DCVC/src/layers/cuda_inference.py7.07 KB9641636f1d6e06bfd18ac9f94837f3cfeeb64b77253988cc7f54f0e2be2e6433
neural_codec/DCVC/src/layers/extensions/inference/bind.cpp1.66 KBa6047535c368a38446a3edbe584e4511cfc441b0c858f9d11f57d8cbcd8e6ca6
neural_codec/DCVC/src/layers/extensions/inference/common.h10.2 KB7825d382f8e01f80dcc777b4075984301e072a6340112d03ddfa341ddeeadd7b
neural_codec/DCVC/src/layers/extensions/inference/def.h5.64 KBf495c634944c6482e7282a2beb80373a1416f1b8ee73d6a015b3f52a5b79f066
neural_codec/DCVC/src/layers/extensions/inference/impl.cpp6.67 KB985728101e8556ddd0ec3fe39aad7edd4de4c082bc3b7559ba0e1f48d2f7d683
neural_codec/DCVC/src/layers/extensions/inference/kernel.cu47.4 KB875aff392b0dca42af382ae48c0dceaba5672239fec710e47ae7e616c2cd92a3
neural_codec/DCVC/src/layers/extensions/inference/setup.py1.20 KBaae9650bbffd90425dc83ff9611f359d05bc4457a37daf8b87ed48d90951656b
neural_codec/DCVC/src/layers/layers.py5.47 KB2839de3e14029c2c384849d58c233c6eaf1d66d8386eb5e8713e2b5aed4bfb10
neural_codec/DCVC/src/models/common_model.py13.2 KBb93f028ee97891c01bfd291a22edcb63f8664cdfcc78b8d5a21c8f98558777a1
neural_codec/DCVC/src/models/entropy_models.py13.4 KB9f01781847cbff2afd3d2b2ce6b14b1a0905bb1da41ca5e20e68ab4a031e0e57
neural_codec/DCVC/src/models/image_model.py7.86 KBb72fbfb95c392e68aea3bd0820c53c4ec901a8372e203319a5f8372547dbb37d
neural_codec/DCVC/src/models/video_model.py13.1 KB3ba7094ef0ef938897bdfefcea18ebe2d9c79743768348c2d33a3a70a85ead8a
neural_codec/DCVC/src/utils/common.py6.76 KBe3db33408fe0e4f3f659ab77b40c903cd3fd91ee7ec2dd007d33cfad06e87b36
neural_codec/DCVC/src/utils/metrics.py3.17 KB986aa1c803aca94d651a1eb3c3f7690f36045a02053972e0275000f1b4f780f9
neural_codec/DCVC/src/utils/stream_helper.py6.04 KB40fb73b75fd2d96b371c5d5733928c83e1c785c40e8b89a93ea4414af5431bf1
neural_codec/DCVC/src/utils/transforms.py1.62 KB8d07100e2e531357f4a315db33e3ae137076b2378d1835888fc6055dfb46fe55
neural_codec/DCVC/src/utils/video_reader.py2.76 KB33476bef2c7815ba09e7b706a0596347b30e43e68c227f0a851bfc0c3d9fec82
neural_codec/DCVC/src/utils/video_writer.py1.40 KB53b76c28abc4058b602c7c2cac6c0189d669cdd0af9464bcb6a77e1ab25283dd
neural_codec/README.md3.25 KB66b7285cb259dc8f2885940513dcd2506d0e74f6d0396fd528a34dcca3cf6cf2
neural_codec/canvas_assembler.py9.10 KB8bd6b8eb549111fbf930e2751986ce88eb6d66d090df86a8c125469d4413f06a
neural_codec/codec_dcvc_config.py2.90 KBa088776acf7e1c59bfb2cb298ceb3e9e6346644c18ad55ecd475eb045bb074f4
neural_codec/codec_loader.py3.90 KB23e7cf09b645585165cf274f9f4222bb6782bf13e7c1f2c28208848584198387
neural_codec/codec_tools/__init__.py0 Be3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
neural_codec/codec_tools/codec_patch_gop/__init__.py252 Bf0f4216f435695a06d78af3d92a41b624056a64ba43befcea8a8e5940377df75
neural_codec/codec_tools/codec_patch_gop/energy_sampling.py21.5 KB8a8ae72111f55dbfd5104ac040d0385931e497a37323a147582b4734240b8719
neural_codec/codec_tools/codec_patch_gop/frame_utils.py17.7 KBb7495f41e65fa5d6d66e0d735d0e4a178b02b58cd22ee1ecb4375d999e54c437
neural_codec/codec_tools/codec_patch_gop/patch_utils.py5.23 KBd1dae44745ec5bef7aae540141cddb45c51cf4fb3a9ed710a28c005d043f22fe
neural_codec/codec_tools/codec_patch_gop/scoring.py3.97 KBa2360c44338e94fdb3b51627cad47b34f5e8b16a8f4882ddd78a568d2f4896df
neural_codec/codec_tools/codec_patch_gop/utils.py6.47 KB2d660b068cc5cad1842815729e4222e9fd685833239c0ee252e2d32bd7cebac2
neural_codec/codec_tools/codec_patch_gop/video_probe.py10.7 KBecfda73ebcc8d4f3e116faf764822df675bd57f149c3c8f9ac83b15f2ca12667
neural_codec/codec_tools/codec_patch_gop/video_processor.py71.9 KB0c316cc3ba49d36fb81029a0731f4ded059d9f42688ab6627d868868a32d1d59
neural_codec/codec_tools/pipeline/__init__.py0 Be3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
neural_codec/codec_tools/pipeline/generate_codec_patch_smart_resize.py110 KB6a5293550f504eaf2e2ba73604b9bec922966d157c9ec3682bccb3e5cac57d9b
neural_codec/codec_tools/pipeline/process_video_bitcost_mv_mask_collage.py66.2 KB16c870cd8e7e85d0193216258e97e7ad13fbd86732af76bff407daaad08bb079
neural_codec/codec_tools/pipeline/process_video_bitcost_readiness.py29.2 KB1502206b7136e3d168b8b8cdf389a61d9b0a6517ce02946247eb21ed0586f603
neural_codec/dcvc_readiness_gen.py5.85 KBe6bb6761a58fff91b4bb8d0ccf88fee7a7cc9d82880a4190f749178f4fa43c12
neural_codec/dcvc_rt_engine.py12.1 KB97cc52781ff58275df319f9128cfb675e920b9c1373290d132d96e9989e10443
neural_codec/dcvc_rt_inter.tar82.9 MBb12e7faf4ddb6126d8e138a627ed6a349b8e1052d3ed9e343e1ba266466675d6
neural_codec/dcvc_rt_intra.tar183 MB555eff5f4026774f477bebdcbb3b52548e0da230803959dcebcea4d732a90dd9
neural_codec/infer_dcvc_rt.py5.12 KB5e5929bf7497c116f135fce086cb04a4007a2de4d4a39fa4c2ff7c9eaf5fb7dd
neural_codec/precompute_dcvc_rt.py12.2 KBf7b4835ad43653c73bdd9bb61e889fb60c1a8688e42fc40d6eb2f71c3b48e12e
neural_codec/reproduce_bench.py6.50 KBec72d3ce5c8b937972257dae895b6ab42367a0bbed3660066f6b9e07adb2b8ae
preprocessor_config.json1.81 KB86401f541a46dee7689e84444b87cfa556e1575f1994a446582dc58d919cc69e
processing_mage_vl.py25.5 KBc755ac93a161377cbe15f4d6dc30fae6460ef90e6d156d1bff7df82f3dd828cf
special_tokens_map.json613 B76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd
streammind_gate.py5.10 KB5d9a9d7525aeecc0360ffd43f891ce9d2220297df5092a293a98e2fd31e9d99d
streammind_gate.safetensors1.07 GB01938c515679c1130cff2e6a2af2e4cbc3aad10ea7ccb29229e64c2cfdbf6535
tokenizer.json11.4 MBba0c439f7be467bf47d12a7e6f9adc6116201056fc60c67f431c679b7c16afc8
tokenizer_config.json4.75 KBf64d944a98d2d9901581be7a5f36b626ff2dc0d5b7d5dedb412412ca39606df0
video_preprocessor_config.json465 B9d8345e0c7be09da56d8ea535fa6a5fa1a35728ccec9e7dbffa030ba34ce4a72
video_processing_mage_vl.py28.4 KB67f28ea772c260b131983e8a90ad15948134a1baa769bfe6adbf0dd383541acb
vocab.json2.78 MBca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
d88b153285 pinned now2026-11-15 02:48 UTC78 files · 10.8 GB

Use it

$ fw get microsoft/Mage-VL
# manifest sha256 197a3e7bf6d1… · 10.8 GB · 78 files
$ fw verify ./Mage-VL microsoft/Mage-VL
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/microsoft/Mage-VL.json --dir ./Mage-VL $ python3 fw.py verify ./Mage-VL ./microsoft__Mage-VL.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download microsoft/Mage-VL --revision d88b153285f1633a61b2f693c59c8576693af185 --local-dir ./Mage-VL
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForImageTextToText, AutoProcessor processor = AutoProcessor.from_pretrained("microsoft/Mage-VL", revision="d88b153285f1633a61b2f693c59c8576693af185") model = AutoModelForImageTextToText.from_pretrained("microsoft/Mage-VL", revision="d88b153285f1633a61b2f693c59c8576693af185", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve microsoft/Mage-VL --revision d88b153285f1633a61b2f693c59c8576693af185

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
e84630ce6e4d4f636dc280b28065357c22aa1a373d29e7404a8a5dcfbbd81f45
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.textSubject: Mage-VLDate: 2026-11-15Commit: d88b153Signed: 2DC28CC7B26A283B ✓
Upstream
microsoft/Mage-VL
Pinned commit
d88b153285f1633a61b2f693c59c8576693af185
Manifest
Mage-VL.json · .minisig
Manifest sha256
197a3e7bf6d15b46e25dec88150d7f9a4e787e9a6c06cd3983db23cc88565b34
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:48 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/microsoft/Mage-VL.json $ curl -O https://freeweights.allternit.com/manifests/microsoft/Mage-VL.json.minisig $ minisign -Vm Mage-VL.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

2 models in the catalog name this one as their parent.

Fine-tunes
1
Quantizations
1
Fine-tunes 1
Quantizations 1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download microsoft/Mage-VL
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. Mage-VL.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of Mage-VL. Each has its own license check and page.

From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B