Downloads · 30 days
95
29% of all-time downloads
mlx-community/MAI-UI-2B-6bit-v2
MAI-UI-2B-6bit-v2 is a image-text-to-text model from mlx-community. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for mlx. The card lists the license as apache-2.0.
This is a 6-bit quantized MLX conversion of Tongyi-MAI/MAI-UI-2B, optimized for Apple Silicon.
Downloads · 30 days
95
29% of all-time downloads
All-time downloads
323
Public
Parameters
2.1B
2.2 GB on disk
Likes
1
Trending 1
Click a slice to open those files.
.safetensors2.2 GB · 99%
How the weights are stored.
U321.7B · 81%
From the Hugging Face model README
This is a 6-bit quantized MLX conversion of Tongyi-MAI/MAI-UI-2B, optimized for Apple Silicon.
MAI-UI is a family of real-world centric foundation GUI agents built for grounding, GUI navigation, user interaction, and broader device-cloud agent workflows. The family spans multiple scales and is framed upstream around realistic deployment, including user interaction, MCP-style tool use, online RL, and device-cloud collaboration.
This artifact was derived from the validated local MLX bf16 reference conversion and then quantized with mlx-vlm. It was validated locally with both mlx_vlm prompt-packet checks and vllm-mlx OpenAI-compatible serve checks.
| Field | Value |
|---|---|
| Upstream model | Tongyi-MAI/MAI-UI-2B |
| Artifact type | 6bit quantized MLX conversion |
| Source artifact | local validated bf16 MLX artifact |
| Conversion tool | mlx_vlm.convert via mlx-vlm 0.3.12 |
| Python | 3.11.14 |
| MLX | 0.31.0 |
| Transformers | 5.2.0 |
| Validation backend | vllm-mlx (phase/p1 @ 48b51ed) |
| Quantization | 6bit |
| Group size | 64 |
| Quantization mode | affine |
| Reported effective bits per weight | 8.318 |
| Artifact size | 2.1G |
| Template repair | tokenizer_config.json["chat_template"] was re-injected from chat_template.jinja after quantization |
Additional notes:
vllm-mlx multimodal detection compatibility.processor_config.json and video_preprocessor_config.json are present at repo root.6bit line is paired with the refreshed bf16-v2 repo rather than the older nested mlx-community/MAI-UI-2B-bf16 line.This artifact passed local validation in this workspace:
mlx_vlm prompt-packet validation: PASSvllm-mlx OpenAI-compatible serve validation: PASSLocal validation notes:
bf16 reference artifactbf16, but stayed on the correct API Host region2.1Gmlx_vlm validation used about 3.48 GB average peak memory446-556 prompt tok/s and 1.8-12.1 generation tok/s across the four validation promptsvllm-mlx non-stream request time was about 9.36s, with streamed completion in about 9.81sThese are local validation measurements, not a full benchmark suite.
pip install -U mlx-vlm
python -m mlx_vlm.generate \
--model mlx-community/MAI-UI-2B-6bit-v2 \
--image path/to/image.png \
--prompt "Describe the visible controls on this screen." \
--max-tokens 256 \
--temperature 0.0
from mlx_vlm import load, generate
model, processor = load("mlx-community/MAI-UI-2B-6bit-v2")
result = generate(
model,
processor,
prompt="Describe the visible controls on this screen.",
image="path/to/image.png",
max_tokens=256,
temp=0.0,
)
print(result.text)
python -m vllm_mlx.cli serve mlx-community/MAI-UI-2B-6bit-v2 --mllm --localhost --port 8000
Planned sibling repos in this Track C refresh:
Not published from this wave:
4bit was evaluated locally and rejected after runtime validationbf16 reference artifact.2B repos are uploaded.If you use this MLX conversion, please also cite the original MAI-UI work:
@misc{zhou2025maiuitechnicalreportrealworld,
title={MAI-UI Technical Report: Real-World Centric Foundation GUI Agents},
author={Hanzhang Zhou and Xu Zhang and Panrong Tong and Jianan Zhang and Liangyu Chen and Quyu Kong and Chenglin Cai and Chen Liu and Yue Wang and Jingren Zhou and Steven Hoi},
year={2025},
eprint={2512.22047},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2512.22047},
}
This repo follows the upstream model license: Apache 2.0. See the upstream model card for the authoritative license details: Tongyi-MAI/MAI-UI-2B.