alt.freeweights.text / Mage-VL-8bit
From: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.textSubject:

Mage-VL-8bit

Date: 2026-11-15Commit: 40dc28dSigned: 2DC28CC7B26A283B ✓

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

4.7B params5.37GBMage-VL-8bitsafetensorspermissive
FactsParams4.7BSize5.37 GBFormatssafetensorsTaskimage text to textLicenseApache-2.0From sourcepermissive
$ fw get mlx-community/Mage-VL-8bit
# manifest sha256 52c7b8241ca1… · 5.37 GB · 28 files
$ fw verify ./Mage-VL-8bit mlx-community/Mage-VL-8bit
From sourceHosted (signed)mlx-community/Mage-VL-8bitLast check: 2026-11-15 05:19 UTC

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

Quantized of Mage-VL.

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
5.37 GB
Weights
5.35 GB (safetensors)
Parameters
4.7B
Formats
safetensors
Task
image text to text
License
Apache-2.0 (permissive)
Files
28, each with a sha256
Publisher
mlx-community
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Base model: microsoft/Mage-VL

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 05:19 UTCpassed

Model card

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

Mage-VL-8bit#

microsoft/Mage-VL (4B codec-native multimodal model, Apache-2.0) quantized to 8-bit for MLX on Apple Silicon.

Converted with mlx_vlm.convert (affine, group size 64, 9.023 bits/weight): the Qwen3-4B language model — embeddings, attention/MLP projections, lm_head — is int8; the Mage-ViT vision tower stays bf16. 5.0 GB on disk vs 9.5 GB upstream.

Quality#

Gated against the bf16 checkpoint and the PyTorch reference on the model's own examples/dog.jpg, greedy decoding:

comparisonresult
int8 vs PyTorch reference48/48 tokens identical
int8 vs bf16 MLX48/48 tokens identical
final-position logits vs referencecos 0.9982 (bf16 baseline: 0.9996)

Measured on an M5 Max (macOS 27), one process per number, floor read post-load, at the default 4096-token budget:

resident flooractivationdecode
int8 · image5.0 GB3.0 GB85.7 tok/s
int8 · video 16f5.0 GB5.8 GB80.0 tok/s
bf16 · image8.85 GB2.85 GB51.2 tok/s
bf16 · video 16f8.85 GB5.8 GB50.2 tok/s

Activation is unchanged by quantization (5.77 vs 5.79 GB) — only the resident floor moves.

The token budget, not the frame count, is the memory lever: at a fixed budget, 32 frames costs slightly less than 16 because per-frame resolution drops to compensate. Raising the budget is what costs — the same clip at an 8192-token budget needs 14.2 GB of activation.

Corrected 2026-07-29. This section previously read "~14 GB for 16-frame video QA at a 4096-token budget". That 14 GB figure is real but belongs to the 8192-token budget: it was measured before per-frame video resolution was derived from the token budget, and was not re-measured when the default changed. Swift package v0.3.0 re-declares its footprint accordingly.

Use#

Python — the mage_vl architecture is merged into mlx-vlm (PR #1745, merged 2026-07-29), so no fork or branch install is needed:

pip install "mlx-vlm>=0.6.9"
# 0.6.9 is the first release containing mage_vl. Until it lands on PyPI, install from main:
#   pip install git+https://github.com/Blaizzy/mlx-vlm

No trust_remote_code needed — the port ships a torch-free processor, and no torch or torchvision install is required.

If you installed from the old xocialize/mlx-vlm@mage-vl branch, switch to upstream — that branch is retired and will not receive fixes. Anything installed from it before bf9ca87 (2026-07-28) also carries a bug where torchvision-free setups silently fell back to the checkpoint's torch-based remote processor and failed with ones_like(): argument 'input' must be Tensor. Details in discussion #1.

from mlx_vlm import load, generate
from mlx_vlm.prompt_utils import apply_chat_template

model, processor = load("mlx-community/Mage-VL-8bit")
prompt = apply_chat_template(processor, model.config, "Describe this image in detail.", num_images=1)
print(generate(model, processor, prompt, image=["dog.jpg"], max_tokens=64).text)

Swift — xocialize/mage-vl-swift (≥ v0.3.0) serves this checkpoint as an MLXEngine package (imageAnalysis + videoAnalysis):

try await engine.register(
    MageVLPackage.registration,
    configuration: MageVLConfiguration(quant: .int8))

Provenance#

Upstream weights: microsoft/Mage-VL, Apache-2.0. This repo excludes the DCVC neural-codec runtime and the StreamMind gate weights (CUDA-only / not used by the MLX ports). The neural_codec Python sources are retained verbatim from upstream for trust_remote_code completeness.

Files

28 files · 5.37 GBWeights 5.35 GB (safetensors). Sizes and sha256 from the signed manifest.
Show all 28 files with their sha256
FileSizesha256
.gitattributes1.81 KBdcd3ac21538e5134f097b6a3f0b1c609e6cc5259fbe838225177b9fa39253e9a
README.md4.12 KB92e4dae4b00ad3ec31d766c87b9d7c71c8525c43d85bbfa0230dc89f5da1f9f0
__pycache__/configuration_mage_vl.cpython-311.pyc5.92 KB9a20e34efbed12dc7581abe8c34e972a16c8b4a5420bed120f2dca1163199867
__pycache__/modeling_mage_vl.cpython-311.pyc86.2 KBe31fc55a88cfffa4b7690d2fb02830a2b6ac27199163cbf73fd3afcbda84a80c
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.1 KB4dadf463f79a315b253ff05f4e8a57421a1c2538bed1ebd3652fe412e373e0fd
config.json4.13 KB9340ec7595335a86cc7e4c8ff60ecc1999aef85108a8c1a087ac4da35d3e60de
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.safetensors5.35 GB2442f282dafd316571c1603a4695baea86b1433a5fea7202b2e3784f06b44f45
model.safetensors.index.json101 KB1467a4405e967b692b5ac8e5b6bddcdbaaac72ce41e18e6e26f33fbfef2a7a60
modeling_mage_vl.py72.8 KB3fe8bb1e40fa38db4ae08da097ee1238aa4258c4d454e66fe93a44d08ab641ec
preprocessor_config.json1.81 KB86401f541a46dee7689e84444b87cfa556e1575f1994a446582dc58d919cc69e
processing_mage_vl.py23.7 KB43f72035c055439187e06fe06dd459fbf4a103da7374d75ded63cd745368fe33
special_tokens_map.json613 B76862e765266b85aa9459767e33cbaf13970f327a0e88d1c65846c2ddd3a1ecd
streammind_gate.py5.10 KB5d9a9d7525aeecc0360ffd43f891ce9d2220297df5092a293a98e2fd31e9d99d
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
40dc28d825 pinned now2026-11-15 05:19 UTC28 files · 5.37 GB

Use it

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

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
92e4dae4b00ad3ec31d766c87b9d7c71c8525c43d85bbfa0230dc89f5da1f9f0
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: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.textSubject: Mage-VL-8bitDate: 2026-11-15Commit: 40dc28dSigned: 2DC28CC7B26A283B ✓
Upstream
mlx-community/Mage-VL-8bit
Pinned commit
40dc28d825dfaf0dfdea374f39539475d5ee35f2
Manifest
Mage-VL-8bit.json · .minisig
Manifest sha256
52c7b8241ca1700a7828fe87fd2e868d34fd9808a742271144afdb1892464025
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:19 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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

Parent

microsoft/Mage-VL · this model is a quantization of it

No model in the catalog names this one as its parent.

Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mlx-community/Mage-VL-8bit
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-8bit.json. Provenance. Takedown history: none.
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