Qwen3.8-27B MLX-8bit-Group32

This is a vanilla quantization of Qwen/Qwen3.8-27B. It is not a fine-tune, merge, ablation, alignment change, or chat-template modification. The source weights are pinned to commit 1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0.

The official checkpoint uses Qwen3_5ForConditionalGeneration / qwen3_5 as its internal architecture identifier. That string does not mean these weights came from a Qwen3.5 model.

Conversion

{
  "algorithm": "MLX affine 8-bit quantization with group size 32",
  "bit_width": 8,
  "group_size": 32,
  "calibration_source": "none"
}
  • Source tensor inventory: 1199 tensors, including 333 vision tensors and 15 source MTP tensors.
  • Conversion tool/runtime requirement: mlx-vlm / 0.6.1.
  • Artifact size: 32.074 GB (decimal).
  • Expected hardware: Apple Silicon with at least 48 GB unified memory.

Calibration source: none.

Component status

  • Text: passed release tests.
  • Vision/video: passed deterministic local image tests.
  • Tool calling: passed all native XML tool tests.
  • MTP: loaded and passed a temperature-zero equivalence and throughput A/B.
  • Chat template, tokenizer, processor, generation config, and special-token IDs: checked against the locked source by the structural gate.
  • Quality comparison: passed against the locked BF16 source using the exact same functional cases. Semantic similarity uses sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2 at e8f8c211226b894fcb81acc59f3b34ba3efd5f42 as a measured proxy, not as ground-truth accuracy.
  • Longest recorded validation prompt: 73 prompt tokens. This is a measured test boundary, not a claim that the architectural maximum was exercised.

Validation results

{
  "release_gate": "PASS",
  "text": [
    true,
    true,
    true,
    true,
    true,
    true,
    true,
    true,
    true,
    true
  ],
  "tools": [
    true,
    true,
    true,
    true,
    true
  ],
  "vision": [
    true,
    true,
    true
  ],
  "mtp": {
    "passed": true,
    "drafter_kind": "mtp",
    "output_equivalent_temperature_zero": true,
    "accepted_drafts": 84,
    "drafted_tokens": 88,
    "acceptance_rate": 0.9545454545454546,
    "baseline_tps": 7.93442327248812,
    "mtp_tps": 11.110166256993331,
    "speedup": 1.4002487484524309,
    "measured_improvement": true,
    "baseline_wall_seconds": 16.510943749919534,
    "mtp_wall_seconds": 11.774584958096966,
    "advertise_acceleration": true
  },
  "bf16_source_comparison": {
    "passed": true,
    "mean_semantic_similarity": 0.9863808214664459,
    "exact_matches": 9,
    "measurements": {
      "average_generation_tps": 8.52152581187538,
      "peak_memory_gb": 35.199014081,
      "artifact_bytes": 32074160991,
      "maximum_prompt_tokens_tested": 73,
      "loop_rate": 0.0
    },
    "evaluator": {
      "repo_id": "sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2",
      "revision": "e8f8c211226b894fcb81acc59f3b34ba3efd5f42",
      "pooling": "attention-mask mean pooling followed by L2 normalization",
      "maximum_tokens": 256
    }
  },
  "bf16_fixed_logit_comparison": {
    "positions": 106,
    "inputs_sha256": "f1a0af6b9580739ebc9efa9375ae31aa6940dafe7ff6446097ed6cf8d9ab37de",
    "mean_kl_divergence": 0.0003183703201840509,
    "reference_perplexity": 9.84727010437735,
    "candidate_perplexity": 9.853291632468812,
    "perplexity_delta": 0.0060215280914626135,
    "top1_token_agreement": 0.9811320754716981,
    "selection": "selected",
    "warnings": [
      "KL is measured on fixed original text, not a public benchmark.",
      "BF16 log-probabilities are stored in float16 after float32 log-softmax; reported KL therefore has finite-storage approximation error."
    ]
  }
}

No acceleration is advertised unless the MTP report contains a measured throughput improvement. Exact measurements are artifact-, prompt-, context-, and hardware-specific.

Inference

python -m pip install 'mlx==0.31.2' 'mlx-lm==0.31.3' 'mlx-vlm==0.6.1' 'huggingface-hub[cli]'
hf download Chungulus/Qwen3.8-27B-MLX-8bit-Group32 --local-dir ./qwen38-quant
python -m mlx_vlm.generate --model ./qwen38-quant --draft-model ./qwen38-quant/mtp-drafter --draft-kind mtp --draft-block-size 3 --prompt 'Describe this image.' --image ./image.png --max-tokens 256 --no-verbose

Use the exact source chat-template controls for thinking (enable_thinking, reasoning_effort, and preserve_thinking) and the native Qwen tool format.

Limitations

Quantization can reduce quality, especially at very low bit widths. Runtime support for the hybrid Gated DeltaNet/full-attention graph, vision tower, projector, processor, and MTP component is format-specific. A loader that reads only a language tensor is not sufficient. Tested context length and resource measurements are recorded in validation_result.json; untested context lengths must not be inferred from the architectural maximum.

License and attribution

The parent model and this unmodified quantization are distributed under the source model's Apache-2.0 license. See the official Qwen3.8-27B repository for the upstream model card and attribution.

Downloads last month
36
Safetensors
Model size
9B params
Tensor type
F16
·
U32
·
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Chungulus/Qwen3.8-27B-MLX-8bit-Group32

Base model

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

Collection including Chungulus/Qwen3.8-27B-MLX-8bit-Group32