Run this model with HF Jobs

Run exalandru/Qwen3-VL-32B-Text-Encoder-Quantum-MLX on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.

Paste one of these prompts into your coding agent:

Fine-tune on my dataset

Use HF Jobs to fine-tune https://huggingface.co/exalandru/Qwen3-VL-32B-Text-Encoder-Quantum-MLX. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.

Run batch inference

Use HF Jobs to run batch inference with https://huggingface.co/exalandru/Qwen3-VL-32B-Text-Encoder-Quantum-MLX on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.

Qwen3-VL-32B Text Encoder — Quantum MLX

This repository holds MLX quantized copies (8, 6 and 4 bit) of the language part of Qwen/Qwen3-VL-32B-Instruct, used as the text encoder of MiniMax H3 (image / video generation) in the Quantum Suite on Apple silicon. The text-encoder weights of MiniMaxAI/MiniMax-H3 are byte-identical to the corresponding Qwen3-VL-32B-Instruct shards; this repository is converted from the Qwen repository.

This is not a chat or text-generation model: there is no lm_head, no final norm and no vision tower, and only decoder layers 0-50 are kept. It produces hidden states for a diffusion/video model; it cannot generate text. This is not an official Qwen / Alibaba Cloud release.

Variants

Variant Folder Text encoder size Total download (incl. shared tokenizer) Recommended unified memory
q8 (8-bit) q8/ 27.98 GB 27.99 GB 32 GB
q6 (6-bit) q6/ 21.76 GB 21.77 GB 32 GB
q4 (4-bit) q4/ 15.54 GB 15.56 GB 32 GB

The tokenizer files (0.01 GB) are shared by all variants (common/) and downloaded once. The whole repository is 65.30 GB. The recommended memory is a judgement for loading the encoder, not a measurement of the full H3 pipeline.

What's in the repo

.
├── README.md
├── LICENSE
├── NOTICE
├── common/
│   └── tokenizer/        shared tokenizer files (unchanged upstream bytes)
├── q8/
│   ├── quantum-model.json
│   └── text_encoder/     8-bit
├── q6/
│   ├── quantum-model.json
│   └── text_encoder/     6-bit
├── q4/
│   ├── quantum-model.json
│   └── text_encoder/     4-bit

Each <variant>/quantum-model.json is the Quantum Suite manifest of that variant: every file it needs (the variant's text encoder plus the shared tokenizer) with its size and SHA-256, the source pin of this repository and the provenance of the weights.

Usage

These files are installed and loaded by Quantum Image Studio (part of the Quantum Suite) through its shared model store, together with the MiniMax H3 transformer and VAE (not part of this repository). They are not a drop-in for PyTorch or transformers; for those, use the original Qwen/Qwen3-VL-32B-Instruct.

Provenance

Upstream: Qwen/Qwen3-VL-32B-Instruct @ 0cfaf48183f594c314753d30a4c4974bc75f3ccb (license: Apache-2.0).

Upstream file Upstream SHA-256
model-00001-of-00014.safetensors 6b9dfbc930e505402ae9d7e5091a9d7d656cda5f34614f01cfe70bfb0cca27cb
model-00002-of-00014.safetensors d8bb44b4ff303fe76fe9e894022fb3dc71b15a2e716592790fe0e3c3e60478fa
model-00003-of-00014.safetensors 54f22e8b3168f8dc962fac0d313607ebf52a12b433d4cf3098a0d82d9f042940
model-00004-of-00014.safetensors ad09c74d3c13ee29b5d0d84548fd8a3424a651564eaccd519946c296e59c557f
model-00005-of-00014.safetensors fc993c8a0e2a5b0570f383e1a95dc3a1281d1b224b6f3ee908f4827941e1dfc2
model-00006-of-00014.safetensors 82f05620d1f718a90c362b221d6a184ff1a0f53301d706882d3df49695fa1974
model-00007-of-00014.safetensors fb91da8cb01ff4de3eef0eab1c3e769a734b3a1aafc61734068638a0d6c86934
model-00008-of-00014.safetensors 431ca56535c8781944ce3801f5eb61c45531e853ecc5846d936ebaf4761b764f
model-00009-of-00014.safetensors 3825e3f4302f4d2f7d76aa7430d2ce0864fde6b9e540a5806bf0d8e38e4d9f47
model-00010-of-00014.safetensors aded5a4d1d5e22dbd8b6f79266b6eb88c840411b09527c53917a1419ace22e2f
model-00011-of-00014.safetensors 3820ffe8d8d6477f6fe8d614ef3c87abb264ee39accebf43a1507b970d80946f
config.json d2dd0c60d01b9e195d9447c52da61c7302d28828524914c044d9c6e1b81d0427
model.safetensors.index.json 06c952c569285870b811989b794b9766493e280fb77fbcb957fc4e5fcf25403a
tokenizer.json a5d85b6dcc535e6b93115a9ef287e6132fdbf30270da6218194ba742261173c7
tokenizer_config.json c2da771801886ad9ae98181793ffd3dfb7f1af30f6f7c6a4e15d7dbba52e2399
vocab.json ca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910
merges.txt 599bab54075088774b1733fde865d5bd747cbcc7a547c5bc12610e874e26f5e3

Converter: exalandru/Quantum-Image-Studio at commit 2371f06eb6ecda02c3d88681285f31ff23726aab.

Changes made

  • Only the language-model part of Qwen3-VL-32B-Instruct is included: the token embedding table and decoder layers 0-50 (of 64), which is what the MiniMax H3 text encoder loads in the QIS engine (no final norm). Dropped: decoder layers 51-63, the final norm, lm_head and the whole vision tower (model.visual.*). Upstream shards 12-14 are not used; upstream shards 1-11 were read (the tensors kept come from them).
  • Every kept 2-D .weight whose input dimension is divisible by 64 (all attention and MLP projections) was MLX-affine quantized to 8, 6 or 4 bits with group size 64 (packed uint32 weight + bfloat16 scales and biases), one folder per variant. The token embedding table (embed_tokens.weight) and the norm vectors are stored as bfloat16, unquantized.
  • The weights were re-sharded by the converter (6 / 5 / 4 shards for q8 / q6 / q4 plus a new index); tensor names are the upstream names, with .scales / .biases added next to each quantized weight.
  • config.json, tokenizer.json, tokenizer_config.json, vocab.json and merges.txt are byte-identical to upstream (SHA-256 below); the other upstream files (preprocessor, chat template, generation config, README) are not included.
  • No training, fine-tuning or merging.
  • Converter: Quantum Image Studio (exalandru/Quantum-Image-Studio) at commit 2371f06eb6ecda02c3d88681285f31ff23726aab, unmodified (qis-bench convert h3image --bits 8|6|4; the converter needs a complete H3-Image snapshot, so it was run with placeholder transformer and VAE inputs whose outputs were discarded, and only the text_encoder/ output is published).

Validation

Each variant was loaded as the text encoder of a MiniMax H3 pipeline and run end-to-end to generate one 512×512 image (smoke test); no quality evaluation is published here.

Citation

From the upstream model card:

@misc{qwen3technicalreport,
      title={Qwen3 Technical Report}, 
      author={Qwen Team},
      year={2025},
      eprint={2505.09388},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2505.09388}, 
}

@article{Qwen2.5-VL,
  title={Qwen2.5-VL Technical Report},
  author={Bai, Shuai and Chen, Keqin and Liu, Xuejing and Wang, Jialin and Ge, Wenbin and Song, Sibo and Dang, Kai and Wang, Peng and Wang, Shijie and Tang, Jun and Zhong, Humen and Zhu, Yuanzhi and Yang, Mingkun and Li, Zhaohai and Wan, Jianqiang and Wang, Pengfei and Ding, Wei and Fu, Zheren and Xu, Yiheng and Ye, Jiabo and Zhang, Xi and Xie, Tianbao and Cheng, Zesen and Zhang, Hang and Yang, Zhibo and Xu, Haiyang and Lin, Junyang},
  journal={arXiv preprint arXiv:2502.13923},
  year={2025}
}

@article{Qwen2VL,
  title={Qwen2-VL: Enhancing Vision-Language Model's Perception of the World at Any Resolution},
  author={Wang, Peng and Bai, Shuai and Tan, Sinan and Wang, Shijie and Fan, Zhihao and Bai, Jinze and Chen, Keqin and Liu, Xuejing and Wang, Jialin and Ge, Wenbin and Fan, Yang and Dang, Kai and Du, Mengfei and Ren, Xuancheng and Men, Rui and Liu, Dayiheng and Zhou, Chang and Zhou, Jingren and Lin, Junyang},
  journal={arXiv preprint arXiv:2409.12191},
  year={2024}
}

@article{Qwen-VL,
  title={Qwen-VL: A Versatile Vision-Language Model for Understanding, Localization, Text Reading, and Beyond},
  author={Bai, Jinze and Bai, Shuai and Yang, Shusheng and Wang, Shijie and Tan, Sinan and Wang, Peng and Lin, Junyang and Zhou, Chang and Zhou, Jingren},
  journal={arXiv preprint arXiv:2308.12966},
  year={2023}
}

License

Apache License 2.0 (see LICENSE), the license of the original weights. See NOTICE for the upstream attribution and the statement of changes.

Downloads last month

-

Downloads are not tracked for this model. How to track
MLX
Hardware compatibility
Log In to add your hardware

Quantized

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for exalandru/Qwen3-VL-32B-Text-Encoder-Quantum-MLX

Quantized
(54)
this model

Collection including exalandru/Qwen3-VL-32B-Text-Encoder-Quantum-MLX

Papers for exalandru/Qwen3-VL-32B-Text-Encoder-Quantum-MLX