mlx-community/Holo4-27B-8bit

Non-commercial license. The original model is released under CC-BY-NC-4.0 by H Company and this conversion keeps that license. You may not use it for commercial purposes. Read the license of Hcompany/Holo4-27B before using it.

I converted this model to MLX from Hcompany/Holo4-27B 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 (CC-BY-NC-4.0) is preserved.

Format: 8-bit affine, group size 64 (attention, DeltaNet and MLP layers, embeddings and lm_head quantized). The vision tower is kept in bfloat16. Converted from the official bfloat16 weights.

Use with MLX

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

From Python:

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

model, processor = load("mlx-community/Holo4-27B-8bit")
prompt = apply_chat_template(processor, model.config, "<prompt from the original model card>", num_images=1, enable_thinking=False)
out = generate(model, processor, prompt, image=["screenshot.png"], max_tokens=64, temperature=0.0)
print(out.text)

The localization prompt (coordinates as integers in [0, 1000], thinking off) is in the original model card and in the H Company documentation.

Validation

  • Loads and generates with the released mlx-vlm 0.8.0 (PyPI) and mlx 0.32.4. I took the measurements below with the mlx-vlm 0.8.0 main branch (commit 36565bc1).
  • Click answers on two synthetic screenshots (target at 500, 200): {"x":500,"y":193} (1280x720) and {"x":471,"y":191} (1920x1080). These are smoke tests. WebClick accuracy is reported below.

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) 92.9% 91.6 to 94.1
MLX 4bit 93.1% 91.8 to 94.2
llama.cpp Q4_K_M (official GGUF) 93.5% 92.2 to 94.6

By subset (this model): agentbrowse 95.8% (n=590), calendars 90.0% (n=528), humanbrowse 92.7% (n=521).

On the same samples, 8bit against 4bit: -0.2 points (paired exact test, p = 0.78), and against the official Q4_K_M GGUF on llama.cpp: -0.5 points (paired exact test, p = 0.18). Preprocessing differs between engines, so accuracy differences cannot be attributed to the weights alone.

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

engine 1280x720: first token / decode 1920x1080: first token / decode memory
MLX, this model (8bit) 1.55 s / 19 tok/s 3.93 s / 19 tok/s* 32.6 GB (peak)
llama.cpp (Metal), Q4_K_M (official GGUF) 3.57 s* / 26 tok/s 8.13 s / 24 tok/s 19.3 GB (RSS)

1080p is 2221 prompt tokens, 720p is 1061. Each answer is about 14 tokens, so first-token time dominates a click. Median of 3 runs. I started each timing only when GPU utilization was under 8%. 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 (MLX peak, llama.cpp resident set).

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) 31.9 s* 12 tok/s 33.3 GB (peak)
llama.cpp (Metal), Q4_K_M (official GGUF) 37.2 s* 16 tok/s not measured

Apple M5 Max, 128 GB, greedy, end-of-sequence suppressed to force 1024 tokens, median of 3 runs, mlx-vlm 0.8.0 main and mlx 0.32.4 (llama.cpp with -c 16384). Same timing rules as above.

Conversion

mlx_vlm.convert --hf-path Hcompany/Holo4-27B --mlx-path Holo4-27B-8bit --dtype bfloat16 -q --q-bits 8 --q-group-size 64
Downloads last month
-
Safetensors
Model size
27B 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/Holo4-27B-8bit

Base model

Qwen/Qwen3.8-27B
Quantized
(16)
this model

Collection including mlx-community/Holo4-27B-8bit