Official-source MLX releases of
Qwen/Qwen3.8-27B, converted and
validated by PocketAI Model Lab. This repository contains an experimental
2-bit AWQ build plus validated 4-bit, 6-bit, 8-bit, and unquantized BF16
variants derived from the same pinned official revision 1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0.
| Variant | Folder | Stored size | Precision layout |
|---|---|---|---|
| MLX 2-bit AWQ (experimental) | 2bit/ |
11,038,990,758 bytes (10.28 GiB) | 498 language modules affine Q2/group 32 with AWQ; vision tower BF16 |
| MLX 4-bit | 4bit/ |
16,081,493,231 bytes (14.98 GiB) | 498 language modules affine Q4/group 64; vision tower BF16 |
| MLX 6-bit | 6bit/ |
22,804,831,851 bytes (21.24 GiB) | 498 language modules affine Q6/group 64; vision tower BF16 |
| MLX 8-bit | 8bit/ |
29,528,170,361 bytes (27.50 GiB) | 498 language modules affine Q8/group 64; vision tower BF16 |
| MLX BF16 | bf16/ |
54,740,455,716 bytes (50.98 GiB) | Unquantized BF16 reference |
The 4-bit, 6-bit, 8-bit, and BF16 variants passed the complete deterministic PocketAI feature suite:
red->blue)COBALT-7319)The 4-bit variant additionally passed a 32K-context retrieval test at 32,770 actual prompt tokens.
The 2-bit build is intentionally marked experimental. It passed the text and image runtime smoke tests and exact 4K retrieval, but scored 11/12 on the compact quality gate, 3/8 on tool calling, and did not pass the synthetic temporal-video gate. Use 4-bit when instruction following, tools, or video understanding matter more than memory footprint.
These are warmed, single-run measurements on an Apple M5 Max with 128 GB
unified memory using mlx==0.32.0, mlx-vlm==0.6.8, batch size 1,
temperature 0, seed 0, and thinking disabled. The prompt contained 4,105 tokens
and the exact retrieval response contained 9 generated tokens.
| Variant | Prompt prefill | Generation | End-to-end | Peak MLX memory |
|---|---|---|---|---|
| MLX 2-bit AWQ (experimental) | 541.7 tok/s | 38.8 tok/s | 7.82 s | 16.00 GB |
| MLX 4-bit | 733.1 tok/s | 36.6 tok/s | 5.86 s | 21.80 GB |
| MLX 6-bit | 584.7 tok/s | 26.2 tok/s | 7.38 s | 29.54 GB |
| MLX 8-bit | 600.1 tok/s | 20.1 tok/s | 7.30 s | 37.27 GB |
| MLX BF16 | 623.8 tok/s | 10.8 tok/s | 7.43 s | 58.29 GB |
The full machine-readable evidence is in
benchmarks/4k-feature-suite.json.
These compact deterministic checks are regression gates, not a broad claim of
quality parity across precisions.
Install the validated runtime on an Apple Silicon Mac:
python -m pip install "mlx==0.32.0" "mlx-vlm==0.6.8"
Download only the desired variant and load its local subfolder:
from pathlib import Path
from huggingface_hub import snapshot_download
from mlx_vlm import generate, load
from mlx_vlm.prompt_utils import apply_chat_template
repo_id = "PocketAiHub/Qwen3.8-27B-MLX"
variant = "4bit" # "2bit", "4bit", "6bit", "8bit", or "bf16"
snapshot = Path(snapshot_download(repo_id, allow_patterns=[f"{variant}/*"]))
model, processor = load(str(snapshot / variant))
prompt = apply_chat_template(
processor,
model.config,
"Explain why seasons occur.",
num_images=0,
enable_thinking=False,
)
result = generate(
model,
processor,
prompt,
max_tokens=256,
temperature=0.0,
enable_thinking=False,
)
print(result.text)
For image input, pass an image path to mlx_vlm.generate and build the prompt
with num_images=1. Video input was validated with MLX-VLM's video path and
FPS arguments.
Qwen/Qwen3.8-27B1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0mlx-vlm==0.6.8artifact-manifest.json with exact file sizes and
SHA-256 hashes.release-manifest.json records the release inputs
and validation evidence.These conversions retain the original model's Apache 2.0 license. See
LICENSE and the
official Qwen model card.
6bit/model-00001-of-00005.safetensors 5.4 GB2bit/model-00001-of-00003.safetensors 5.4 GB4bit/model-00003-of-00003.safetensors 5.4 GB4bit/model-00002-of-00003.safetensors 5.4 GB8bit/model-00003-of-00006.safetensors 5.4 GB8bit/model-00002-of-00006.safetensors 5.4 GB6bit/model-00002-of-00005.safetensors 5.3 GBbf16/model-00009-of-00011.safetensors 5.3 GBbf16/model-00005-of-00011.safetensors 5.3 GB4bit/model-00001-of-00003.safetensors 5.3 GB8bit/model-00004-of-00006.safetensors 5.3 GB6bit/model-00004-of-00005.safetensors 5.3 GB6bit/model-00003-of-00005.safetensors 5.3 GBbf16/model-00004-of-00011.safetensors 5.3 GBbf16/model-00006-of-00011.safetensors 5.3 GBbf16/model-00003-of-00011.safetensors 5.3 GBbf16/model-00007-of-00011.safetensors 5.3 GBbf16/model-00008-of-00011.safetensors 5.3 GBbf16/model-00002-of-00011.safetensors 5.3 GB8bit/model-00001-of-00006.safetensors 5.3 GB8bit/model-00005-of-00006.safetensors 5.3 GBbf16/model-00001-of-00011.safetensors 5.2 GB2bit/model-00002-of-00003.safetensors 5.2 GBbf16/model-00010-of-00011.safetensors 4.3 GB8bit/model-00006-of-00006.safetensors 2.8 GBbf16/model-00011-of-00011.safetensors 2.5 GB6bit/model-00005-of-00005.safetensors 1.4 GB2bit/model-00003-of-00003.safetensors 477 MBQwen/Qwen3.8-27B