Downloads · 30 days
21
9% of all-time downloads
cspenn/Qwen3.6-35B-A3B-MLX-Mixed-4-8
Qwen3.6-35B-A3B-MLX-Mixed-4-8 is a text generation model from cspenn. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as apache-2.0.
An MLX mixed-precision quantization of unsloth/Qwen3.6-35B-A3B, itself built on the official Qwen/Qwen3.6-35B-A3B. Quantized for inference on Apple Silicon using the mlx-lm framework.
Downloads · 30 days
21
9% of all-time downloads
All-time downloads
228
Public
Parameters
34.7B
21 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors21 GB · 100%
How the weights are stored.
U3234.7B · 100%
From the Hugging Face model README
An MLX mixed-precision quantization of unsloth/Qwen3.6-35B-A3B, itself built on the official Qwen/Qwen3.6-35B-A3B. Quantized for inference on Apple Silicon using the mlx-lm framework.
Qwen3.6-35B-A3B is a Mixture-of-Experts (MoE) language model from the Qwen3.5 family. The "35B" refers to total parameters; "A3B" means only ~3 billion parameters are active per forward pass — the model routes each token through 8 of its 256 experts, making inference dramatically cheaper than a dense 35B model.
| Property | Value |
|---|---|
| Architecture | Qwen3_5MoeForConditionalGeneration |
| Total parameters | ~35B |
| Active parameters per token | ~3B (8 of 256 experts) |
| Layers | 40 |
| Attention heads | 16 (2 KV heads, head dim 256) |
| Hidden size | 2,048 |
| Vocabulary | 248,320 tokens |
| Context length | 262,144 tokens (256K) |
| Attention type | Hybrid linear + full attention (full every 4 layers) |
| Base dtype | bfloat16 |
Architecture note: This model uses
Qwen3VLProcessorand carries vision/audio special token IDs, meaning the architecture is multimodal-capable. This quantization is intended for text-generation use withmlx-lm.
This is a mixed 4/8-bit quantization using the MLX affine scheme (group_size: 64). Sensitive layers (embeddings, attention projections, linear attention layers) are kept at 8-bit; the bulk of the MoE expert weights are compressed to 4-bit.
| Bit width | Layer count |
|---|---|
| 8-bit | 132 |
| 4-bit | 380 |
| Total quantized | 512 |
Disk size: ~20 GB across 4 safetensors shards.
This model requires Apple Silicon with the MLX framework. Due to the MoE architecture, active memory use is much lower than total parameter count suggests.
| Configuration | Notes |
|---|---|
| Recommended | 32 GB unified memory (M3 Max / M4 Max / M2 Ultra or better) |
| Minimum | 24 GB unified memory (tight; context length will be limited) |
The 256K context window is the theoretical maximum; practical context at 24 GB will be shorter.
Install dependencies:
pip install mlx-lm
CLI:
mlx_lm.generate \
--model cspenn/Qwen3.6-35B-A3B-MLX-Mixed-4-8 \
--prompt "Explain the difference between a sparse MoE and a dense transformer." \
--max-tokens 512
Python:
from mlx_lm import load, generate
model, tokenizer = load("cspenn/Qwen3.6-35B-A3B-MLX-Mixed-4-8")
prompt = "Explain the difference between a sparse MoE and a dense transformer."
# Apply the model's chat template
messages = [{"role": "user", "content": prompt}]
formatted = tokenizer.apply_chat_template(
messages, tokenize=False, add_generation_prompt=True
)
response = generate(model, tokenizer, prompt=formatted, max_tokens=512, verbose=True)
Thinking mode: Qwen3 supports a /think prefix in the system prompt or user turn to enable extended chain-of-thought reasoning. Omit it for standard fast responses.
Qwen/Qwen3.6-35B-A3B → unsloth/Qwen3.6-35B-A3B → this MLX mixed-4/8 quant
The unsloth base applies fixes for multi-token prediction (MTP) compatibility.
Apache 2.0 — see the upstream license.