A float16 repackage of AtomicChat/Qwen3.8-27B-MLX-AD-4.50bpw-DWQ-16.0GB. The model is otherwise identical to the base model; the only difference is the dtype of the non-quantized layers:
| Base model | This model | |
|---|---|---|
| Non-quantized tensors (1,682) | bfloat16 | float16 |
| Quantized tensors (498) | uint32 (4-bit, group size 64, affine) | uint32 (unchanged) |
model.safetensors size |
16,054,543,838 B | 16,054,542,160 B |
Every bfloat16 value is exactly representable in float16 (both are 2-byte formats), so the conversion is numerically lossless: same weights, same behavior, same memory usage, same download size (the ~1.7 KB size difference is only the safetensors header). The purpose is compatibility with inference runtimes that do not support bfloat16 weights.
This repo additionally ships the model's MTP (multi-token prediction) module as a separate shard, which the base repo does not include (see below).
A_log / dt_bias / conv1d, selected in_proj_a / in_proj_b, quantization scales/biases, and the entire vision tower (333 tensors).vision_config, image/video token IDs, and the processor configs are included.The 1-layer MTP module is stored in a separate shard, model-mtp.safetensors (≈ 314 MB), matching mtp_num_hidden_layers in config.json:
mtp.fc (final projection), layer norms, and quantization scales/biases: float16 (converted from bfloat16, same as above)Tested via oMLX on M2 Max (30-core, 32 GB), 4-bit quantized weights:
| Benchmark | Score |
|---|---|
| MBPP | 91.0% (91/100) |
enable_thinking: true), temperature 1All three animated SVGs below were generated in one shot from the same prompt:
Write an animated svg for a pelican riding a motorcycle.
The only difference is the reasoning effort. They render natively in the model card (HF supports animated SVG):
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("NapYang/Qwen3.8-27B-MLX-AD-4.50bpw-DWQ-16.0GB-fp16")
prompt = "hello"
if tokenizer.chat_template is not None:
messages = [{"role": "user", "content": prompt}]
prompt = tokenizer.apply_chat_template(
messages, add_generation_prompt=True, return_dict=False,
)
response = generate(model, tokenizer, prompt=prompt, verbose=True)
model.safetensors 16 GBmodel-mtp.safetensors 314 MB