mlx-community/Holo-3.1-35B-A3B-8bit

I converted this model to MLX from Hcompany/Holo-3.1-35B-A3B using mlx-vlm 0.8.0. Validated by m4zar. See the original model card for model details. The original model is by H Company. The license of the original model (Apache-2.0) is preserved.

Format: 8-bit affine, group size 64 (same layers as the 4-bit version). The vision tower is kept in bfloat16. Converted from the official bfloat16 weights, not from the NVFP4 or FP8 releases.

Use with MLX

pip install -U mlx-vlm
python -m mlx_vlm.generate --model mlx-community/Holo-3.1-35B-A3B-8bit --max-tokens 64 --temperature 0.0 --prompt "<prompt from the original model card>" --image <path_to_screenshot>

The localization prompt (coordinates as integers in [0, 1000]) is in the original model card.

Validation

  • Loads and generates with the released mlx-vlm 0.8.0 (PyPI) and mlx 0.32.4.
  • Reference: the same checkpoint in bfloat16 run with mlx-vlm (70 GB of weights). On the smaller Holo models, mean KL between MLX bf16 and transformers bf16 was 1.8e-4 to 3.1e-4. Click-answer logits against that reference, teacher-forced on the answer: mean KL 9.2e-4 (720p) / 6.0e-4 (1080p). First token identical.
  • Click answers on two synthetic screenshots (target at 500, 200): bf16 reference {"x":500,"y":190} / {"x":490,"y":196}, and this model {"x":500,"y":191} / {"x":502,"y":192} (720p / 1080p). llama.cpp Q4_K_M: {"x":503,"y":193} / {"x":503,"y":198}.
  • The synthetic screenshots are smoke tests. WebClick accuracy is reported below.

Speed (Apple M5 Max, 128 GB, single request, greedy)

engine 1280x720: first token / decode 1920x1080: first token / decode memory
MLX, this model (8bit) 415 ms / about 100 tok/s 1.2-1.3 s / 95-99 tok/s 39.8 GB (peak)
llama.cpp (Metal), Q4_K_M (official GGUF) 814-869 ms / 110-119 tok/s 2.4-2.7 s / 110-119 tok/s 22.9 GB (RSS)

1080p is 2221 prompt tokens, 720p is 1061. The bfloat16 checkpoint contains 70 GB of weights. The machine was shared with other jobs, so treat the numbers as indicative. Memory is measured differently per engine. MLX numbers are from mlx-vlm 0.8.0 as released.

WebClick (click accuracy)

Benchmark: Hcompany/WebClick (Apache-2.0), all 1639 samples. A click counts as a hit when the predicted point falls inside the target box. Protocol: H Company's published localization recipe (official smart_resize and prompt, thinking off, greedy, 32 new tokens, coordinates in [0, 1000]), mlx-vlm 0.8.0. Same samples and prompt for every row.

model accuracy 95% CI
MLX 8bit (this model) 90.5% 89.0 to 91.9
MLX 4bit 90.2% 88.6 to 91.5
llama.cpp Q4_K_M (official GGUF) 91.5% 90.1 to 92.8

The official Q4_K_M GGUF on llama.cpp scores 1.0 to 1.3 points higher than these MLX builds on the same samples (paired exact test, p = 0.01 for 4-bit and 0.03 for 8-bit), while the difference between 4-bit and 8-bit MLX was not statistically significant (p = 0.55). Preprocessing differs between engines, so accuracy differences cannot be attributed to the weights alone.

Speed with a long multi-image prompt (3 screenshots at 1920x1080, about 12k prompt tokens, 1024 generated tokens)

engine time to first token decode memory
MLX, this model (8bit) 10.0 s* 57 tok/s 40.0 GB (peak)
llama.cpp (Metal), Q4_K_M (official GGUF) 17.2 s 59 tok/s 23.0 GB (RSS)

Apple M5 Max, 128 GB, greedy, end-of-sequence suppressed to force 1024 tokens, median of 3 runs, mlx-vlm 0.8.0 and mlx 0.32.4 (llama.cpp with -c 16384). I started each timing only when GPU utilization was under 8%. The machine was shared with other jobs. I repeated cells whose runs differed by more than 10% and report the best attempt. A * marks results that still varied by more than 10%, so treat these timings as indicative. Memory is measured differently per engine.

Conversion

mlx_vlm.convert --hf-path Hcompany/Holo-3.1-35B-A3B --mlx-path Holo-3.1-35B-A3B-8bit --dtype bfloat16 -q --q-bits 8 --q-group-size 64
Downloads last month
30
Safetensors
Model size
35B params
Tensor type
U32
ยท
BF16
ยท
MLX
Hardware compatibility
Log In to add your hardware

8-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for mlx-community/Holo-3.1-35B-A3B-8bit

Quantized
(13)
this model

Collection including mlx-community/Holo-3.1-35B-A3B-8bit