Downloads · 30 days
17
8% of all-time downloads
SocialLocalMobile/Qwen3.6-35B-A3B-HQQ-INT4
Qwen3.6-35B-A3B-HQQ-INT4 is a image-text-to-text model from SocialLocalMobile. Use it for the image-text-to-text task on the model card, and read the license before you ship it in a product. It is set up for executorch. The card lists the license as apache-2.0.
Mixed-precision quantized version of Qwen/Qwen3.6-35B-A3B for ExecuTorch CUDA export.
Downloads · 30 days
17
8% of all-time downloads
All-time downloads
221
Public
Parameters
19.7B
57.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors20.8 GB · 100%
How the weights are stored.
I818.6B · 94%
From the Hugging Face model README
Mixed-precision quantized version of Qwen/Qwen3.6-35B-A3B for ExecuTorch CUDA export.
Qwen 3.6 does not have quantization-aware training, so uniform INT4 quantization destroys GatedDeltaNet recurrent state and MoE expert outputs. This checkpoint uses sensitivity-aware mixed precision based on per-layer error profiling and GGUF Q4_K_M analysis.
| Component | Method | Bits | Group Size | bpw |
|---|---|---|---|---|
| GatedDeltaNet internals (conv1d, dt_bias, A_log, norm) | None | bf16 | — | 16 |
| MoE gate routing, shared expert gate | None | bf16 | — | 16 |
| Layer norms | None | bf16 | — | 16 |
| Attention projections (qkv/in_proj, o/out_proj) | Weight-only | INT8 | 32 | 8.5 |
| Shared expert (gate_up, down) | Weight-only | INT8 | 32 | 8.5 |
| lm_head | Weight-only | INT8 | 32 | 8.5 |
| Expert gate_up (w1) | HQQ scale-only | INT4 | 32 | 4.5 |
| Expert down (w2) | HQQ scale-only | INT4 | 32 | 4.5 |
| Embeddings | Weight-only | INT8 | 32 | 8.5 |
model.safetensors — Quantized weights. Tensor subclasses (IntxUnpackedToInt8Tensor) are flattened into plain inner tensors with .__qdata / .__scale / .__zero_point suffixes. Expert weights are stored as packed INT4 buffers (w1, w1_scale, w2, w2_scale). Reconstruction metadata is in the safetensors header under "quantization".config.json — Model architecture configuration.tokenizer.json, tokenizer_config.json, merges.txt, vocab.json — Tokenizer files for runtime.pip install safetensors)cd executorch/examples/models/qwen3_5_moe
python inference.py \
--prequantized /path/to/Qwen3.6-35B-A3B-HQQ-INT4 \
--prompt "The capital of France is" \
--max-new-tokens 128
cd executorch/examples/models/qwen3_5_moe
python export.py --prequantized /path/to/Qwen3.6-35B-A3B-HQQ-INT4
make qwen3_5_moe-cuda
cmake-out/examples/models/qwen3_5_moe/qwen3_5_moe_runner \
--model_path exports/model.pte \
--data_path exports/aoti_cuda_blob.ptd \
--tokenizer_path /path/to/Qwen3.6-35B-A3B-HQQ-INT4/tokenizer.json \
--prompt "The meaning of life is" \
--max_new_tokens 128
cd executorch/examples/models/qwen3_5_moe
python quantize_and_save.py \
--model-dir /path/to/Qwen3.6-35B-A3B \
--sensitive \
--hqq \
--output Qwen3.6-35B-A3B-HQQ-INT4
Requires CUDA and ~70GB RAM (for loading the original bf16 model).