Views
No views yet
qwen3_5: a hybrid GatedDeltaNet
(linear-attention) + full-attention model with a vision tower and an MTP head).llm-compressor 0.12 (AWQModifier + QuantizationModifier) → compressed-tensors (pack-quantized)Why this model and notMia-AiLab/Qwable-3.6-27b: that repo ships only aQ4_K_MGGUF (no full-precision weights), so it cannot be honestly AWQ-quantized (AWQ needs BF16/FP16 source weights). This checkpoint quantizes the genuine Fable-5 BF16 fine-tune instead — the same Fable-5 reasoning lineage.
mlp.{gate,up,down}_proj on all 64 decoder layersself_attn.{q,k,v,o}_proj on the 16 full-attention layerslinear_attn (mamba) layers
(no standard AWQ mapping, quantization-sensitive), the vision tower (model.visual.*),
the MTP head (mtp.*), token embeddings, lm_head, and all norms. The headline name
reflects the LM-tower quantization; on-disk size averages the int4 and BF16 parts.duo_scaling.weight_packed (int4) + weight_scale;
the 48 GatedDeltaNet layers, vision tower, MTP head, embeddings and lm_head remain BF16.
Functionally verified on an NVIDIA Thor by dequantizing the int4 weights to dense BF16 and
generating: the model reasons correctly (e.g. the "17 sheep, all but 9 run away" trick →
answers 9, and recognizes 17 is irrelevant) and produces coherent code reasoning,
matching the BF16 source's behavior. This is a functional smoke test, not a quality benchmark.trust_remote_code and sdpa attention. The GatedDeltaNet kernels
(causal-conv1d / flash-linear-attention) fall back to a pure-PyTorch path where
unavailable (e.g. ARM/Jetson) — correct, just slower.1import torch
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4repo = "sahilchachra/Qwen3.6-27B-Fable-5-AWQ-W4A16"
5tok = AutoTokenizer.from_pretrained(repo, trust_remote_code=True)
6model = AutoModelForCausalLM.from_pretrained(
7 repo, dtype=torch.bfloat16, device_map="cuda",
8 attn_implementation="sdpa", trust_remote_code=True).eval()
9
10msgs = [{"role": "user", "content": "Explain why the sky is blue, briefly."}]
11enc = tok.apply_chat_template(msgs, add_generation_prompt=True,
12 return_tensors="pt", return_dict=True).to("cuda")
13print(tok.decode(model.generate(**enc, max_new_tokens=256)[0]))Loader note:compressed-tensors == 0.17.1has a bug in its eagerdecompress_modelpath (it mis-readsgroup_sizeas 0 and raisesstrategy group requires group_size to be set to a positive value). This affects allpack-quantizedcheckpoints, not just this one. Use a compressed-tensors version where this is fixed, or serve with vLLM (its own loader is unaffected). The weights/scales on disk are standard and correct.
compressed-tensors pack-quantized. Custom code, processor/tokenizer and config
carried over from the source.