Downloads · 30 days
13
12% of all-time downloads
spacecomx/Qwen3.6-27B-oQ8e-fp16-mtp
Qwen3.6-27B-oQ8e-fp16-mtp is a image-text-to-text model from spacecomx. 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.
An oQ mixed-precision MLX quantization of Qwen/Qwen3.6-27B, built for Apple Silicon.
Downloads · 30 days
13
12% of all-time downloads
All-time downloads
107
Public
Parameters
27.8B
30.9 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors30.9 GB · 100%
How the weights are stored.
U3227.3B · 98%
From the Hugging Face model README
An oQ mixed-precision MLX quantization of
Qwen/Qwen3.6-27B, built for Apple Silicon.
This is a dense model: every parameter is active on every token. It is markedly slower than the A3B MoE siblings on the same hardware -- see the benchmark note below before choosing it for long-context work.
Uniform 8-bit affine, group size 64 (no per-module overrides).
Bit-width assignment is imatrix-guided (oqe_code_multilingual, 128 samples x 512 tokens) — 503 of 504 collected entries applied. Layers left unquantized are
kept at fp16, which is what the fp16 in the repo name refers to. The mtp suffix means
the checkpoint retains its multi-token-prediction head (1 MTP layer, shared embeddings),
so MTP speculative decoding works without a separate draft model.
oq_imatrix_report.json is included in this repo| Base architecture | Qwen3_5ForConditionalGeneration |
| Parameters | 27 B |
| Active per token | 27 B (all parameters active per token) |
| Layers | 64 (16 full-attention, 48 linear-attention) |
| Attention heads | 24 query / 4 key-value, head dim 256 |
| Hidden size | 5120 |
| Vocabulary | 248,320 |
| Max position embeddings | 262,144 |
This is a hybrid-attention model: only the 16 full-attention layers grow a KV cache with sequence length. The remaining 48 linear-attention layers hold a fixed-size recurrent state.
Single-stream, measured on an Apple M1 Max / 64 GB running oMLX. 300-token generations (median of 3) and a 7.5k-token uncached prefill.
| Metric | Value |
|---|---|
| Decode | 15.4 tok/s |
| Prefill | 144 tok/s |
| Cold load | 13.1 s |
These are throughput figures on one machine, not a quality benchmark, and they will vary with hardware, context length and sampler settings. The first request after a model load reads low — that is warm-up, not steady state.
At fp16 the KV cache costs roughly 67 KB per token (16 full-attention layers x 4 KV heads x 256 head dim x 2 for K/V x 2 bytes).
| Context | KV cache at fp16 |
|---|---|
| 32,768 | 2.09 GiB |
| 65,536 | 4.19 GiB |
| 131,072 | 8.38 GiB |
Budget for weights plus KV cache plus runtime overhead. If the cache does not fit, quantizing it (for example TurboQuant 8-bit) roughly halves these figures at no measurable throughput cost.
Served through oMLX over an OpenAI-compatible API:
curl http://127.0.0.1:8055/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{"model": "Qwen3.6-27B-oQ8e-fp16-mtp", "messages": [{"role": "user", "content": "Hello"}]}'
Sampling follows Qwen guidance: thinking mode temperature 0.6, top_p 0.95; non-thinking
temperature 0.7, top_p 0.8; top_k 20, min_p 0 throughout. Avoid greedy decoding with
thinking enabled — Qwen documents that the combination can produce endless repetition.
Verified with oMLX. Loading outside oMLX (mlx-lm / mlx-vlm) requires a runtime that honours per-module quantization overrides in
config.json; this has not been tested here.
Apache 2.0, inherited from Qwen/Qwen3.6-27B. A copy of
the license is included as LICENSE. Quantization does not change the licensing terms — all
credit for the underlying model belongs to the Qwen team.