Instructions to use mlx-community/Qwen3.6-35B-A3B-DFlash2-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use mlx-community/Qwen3.6-35B-A3B-DFlash2-4bit with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # if on a CUDA device, also pip install mlx[cuda] # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("mlx-community/Qwen3.6-35B-A3B-DFlash2-4bit") prompt = "Once upon a time in" text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use mlx-community/Qwen3.6-35B-A3B-DFlash2-4bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Generate some text mlx_lm.generate --model "mlx-community/Qwen3.6-35B-A3B-DFlash2-4bit" --prompt "Once upon a time"
- Atomic Chat
Qwen3.6-35B-A3B-DFlash2-4bit
The DFlash 2 draft model for Qwen3.6-35B-A3B, as a standard safetensors checkpoint with MLX affine 4-bit weights (group size 64).
Source and changes
- Source: the
draft/files ofincoai/Qwen3.6-35B-A3B-Splash, revision0f4714b2db37b5f3c42a10de07281e74f88e4adc(Apache-2.0). That package names its draft source asincoai/Qwen3.6-35B-A3B-DFlash2, revision8e713508f0bb02f03b5cb5cabbc8d9604f924be2. - The draft model was made by Inco AI. This repository is not published or endorsed by Inco AI.
- Changes: the Splash runtime storage (tiled q4 integers with bf16 scales and biases) was converted to row-major
MLX affine storage in one
model.safetensors, and aconfig.jsonwas written. The integers, scales and biases are moved bit for bit; no tensor was requantized (208 tensors). The original unquantized weights are not recovered. Mask token id and RoPE parameters come from the target's configuration.source.jsonlists the SHA-256 of every source file.
Use with vLLM on Apple silicon (exo-vllm plugin)
vllm serve mlx-community/Qwen3.6-35B-A3B-4bit \
--enable-auto-tool-choice --tool-call-parser qwen3_xml --reasoning-parser qwen3 --kv-cache-dtype fp8 \
--speculative-config '{"method": "dflash", "model": "mlx-community/Qwen3.6-35B-A3B-DFlash2-4bit", "num_speculative_tokens": 7}'
License
Apache-2.0, as the source package. See LICENSE.
- Downloads last month
- 198
Model size
0.5B params
Tensor type
U32
·
BF16 ·
Hardware compatibility
Log In to add your hardware
4-bit
Model tree for mlx-community/Qwen3.6-35B-A3B-DFlash2-4bit
Base model
incoai/Qwen3.6-35B-A3B-DFlash2 Quantized
incoai/Qwen3.6-35B-A3B-Splash
# Install MLX LM uv tool install mlx-lm# Generate some text mlx_lm.generate --model "mlx-community/Qwen3.6-35B-A3B-DFlash2-4bit" --prompt "Once upon a time"