{"schema_version":"1.2.0","id":"unsloth/Qwen3.5-397B-A17B-GGUF","snapshot":{"generated":"2026-11-27T14:50:55Z","digest":"3e3b3951a5cae62c","snapshot_id":11754},"family":{"key":"qwen35397ba17b","representative":"Qwen/Qwen3.5-397B-A17B","members":5,"relation":"mirror"},"architecture":{"value":{"arch":"Qwen3_5MoeForConditionalGeneration","model_type":"qwen3_5_moe_text","layers":60,"hidden":4096,"heads":32,"kv_heads":2,"head_dim":256,"vocab":248320,"act":"silu","tied_embeddings":false,"dtype":"bfloat16","attn":"GQA","gqa_ratio":16.0,"moe_layers":60,"experts":512,"experts_per_tok":10,"shared_experts":0,"moe_intermediate":1024,"is_moe":true,"hybrid":true,"nested_config":true,"layer_types":[{"i":0,"attn_kind":"l","mlp_kind":"m","ffn_gate":"swiglu","ffn_gate_source":"hidden_act: silu","experts":512,"experts_per_tok":10,"expert_width":1024,"shared_width":1024,"norm":"rmsnorm","norm_source":"rms_norm_eps","kv_per_token":0},{"i":1,"attn_kind":"a","mlp_kind":"m","attn":"GQA","heads":32,"kv_heads":2,"head_dim":256,"qkv_bias":false,"ffn_gate":"swiglu","ffn_gate_source":"hidden_act: silu","experts":512,"experts_per_tok":10,"expert_width":1024,"shared_width":1024,"norm":"rmsnorm","norm_source":"rms_norm_eps","kv_per_token":2048}],"layer_schedule":"000100010001000100010001000100010001000100010001000100010001","layer_note":"attention per layer from `layer_types` (15 full, 45 linear/SSM); experts from the sparse-step rule"},"graph":{"schema":"osynk-arch/1","root":"model","defs":{"block.0":{"kind":"block","label":"block type 0","nodes":[{"id":"in","kind":"io","label":"in","lines":["residual stream"]},{"id":"norm1","kind":"norm","label":"RMSNorm","lines":["inferred from rms_norm_eps"],"facts":{"norm":"rmsnorm"},"source":"layer_types[0].norm (rms_norm_eps)","derived":"rms_norm_eps"},{"id":"attention","kind":"use","label":"linear attention / SSM","lines":["a recurrent state, no KV cache"],"facts":{"attn_kind":"l"},"ref":"attention.0","source":"layer_types[0].attn/kv_lora_rank/heads/kv_heads/window"},{"id":"add1","kind":"add","label":"+","lines":["residual"]},{"id":"norm2","kind":"norm","label":"norm","lines":["same as above"]},{"id":"mlp","kind":"use","label":"MoE MLP","lines":["10 of 512 experts","width 1024"],"facts":{"mlp_kind":"m","experts":512,"experts_per_tok":10},"ref":"mlp.0","source":"layer_types[0].mlp_kind/experts/experts_per_tok/ffn_dense"},{"id":"add2","kind":"add","label":"+","lines":["residual"]},{"id":"out","kind":"io","label":"out","lines":["to the next layer"]}],"edges":[["in","norm1"],["norm1","attention"],["attention","add1"],["add1","norm2"],["norm2","mlp"],["mlp","add2"],["add2","out"],["in","add1"],["add1","add2"]],"omissions":["the SSM's internal shape is not in this record"]},"block.1":{"kind":"block","label":"block type 1","nodes":[{"id":"in","kind":"io","label":"in","lines":["residual stream"]},{"id":"norm1","kind":"norm","label":"RMSNorm","lines":["inferred from rms_norm_eps"],"facts":{"norm":"rmsnorm"},"source":"layer_types[1].norm (rms_norm_eps)","derived":"rms_norm_eps"},{"id":"attention","kind":"use","label":"full attention","lines":["32 query -> 2 KV heads"],"facts":{"attn_kind":"a","attn":"GQA","heads":32,"kv_heads":2},"ref":"attention.1","source":"layer_types[1].attn/kv_lora_rank/heads/kv_heads/window"},{"id":"add1","kind":"add","label":"+","lines":["residual"]},{"id":"norm2","kind":"norm","label":"norm","lines":["same as above"]},{"id":"mlp","kind":"use","label":"MoE MLP","lines":["10 of 512 experts","width 1024"],"facts":{"mlp_kind":"m","experts":512,"experts_per_tok":10},"ref":"mlp.1","source":"layer_types[1].mlp_kind/experts/experts_per_tok/ffn_dense"},{"id":"add2","kind":"add","label":"+","lines":["residual"]},{"id":"out","kind":"io","label":"out","lines":["to the next layer"]}],"edges":[["in","norm1"],["norm1","attention"],["attention","add1"],["add1","norm2"],["norm2","mlp"],["mlp","add2"],["add2","out"],["in","add1"],["add1","add2"]],"omissions":[]},"attention.0":{"kind":"attention","label":"linear attention / SSM","nodes":[{"id":"ssm","kind":"ssm","label":"linear attention / SSM","lines":["a recurrent state, no KV cache"],"withheld":"the record does not state the SSM's state size, conv width or expand factor"}],"edges":[],"omissions":["the SSM's internal shape is not in this record"]},"mlp.0":{"kind":"mlp","label":"MoE MLP","nodes":[{"id":"router","kind":"router","label":"router","lines":["top 10/512"],"facts":{"experts_per_tok":10},"source":"layer_types[0].router_*/experts_per_tok","withheld":"the config does not state the score function or the top-k normalisation"},{"id":"experts","kind":"use","label":"512 experts","lines":["width 1024 each","10 fire per token"],"facts":{"experts":512,"expert_width":1024,"experts_per_tok":10},"ref":"ffn.0","source":"layer_types[0].experts/expert_width/experts_per_tok"}],"edges":[["router","experts"]]},"ffn.0":{"kind":"ffn","label":"the expert FFN","edges":[],"nodes":[{"id":"ffn","kind":"ffn","label":"SwiGLU","lines":["up -> gate * act -> down","width 1024","silu"],"facts":{"expert_width":1024,"ffn_gate":"swiglu","act":"silu"},"source":"layer_types[].ffn_gate (hidden_act: silu)","derived":"hidden_act: silu"}]},"attention.1":{"kind":"attention","label":"GQA","nodes":[{"id":"qkv","kind":"qkv","label":"QKV projection","lines":["32 query heads x 256","2 KV heads","no bias"],"facts":{"heads":32,"kv_heads":2,"head_dim":256,"qkv_bias":false},"source":"layer_types[1].heads/kv_heads/head_dim/qkv_bias"},{"id":"attention","kind":"attention","label":"full attention","lines":["16:1 query heads share a KV head","2.0 KB per token"],"facts":{"attn":"GQA","kv_per_token":2048},"source":"layer_types[1].attn/kv_lora_rank/window/kv_per_token"},{"id":"proj","kind":"proj","label":"output projection","lines":["back to hidden"]}],"edges":[["qkv","attention"],["attention","proj"]]},"mlp.1":{"kind":"mlp","label":"MoE MLP","nodes":[{"id":"router","kind":"router","label":"router","lines":["top 10/512"],"facts":{"experts_per_tok":10},"source":"layer_types[1].router_*/experts_per_tok","withheld":"the config does not state the score function or the top-k normalisation"},{"id":"experts","kind":"use","label":"512 experts","lines":["width 1024 each","10 fire per token"],"facts":{"experts":512,"expert_width":1024,"experts_per_tok":10},"ref":"ffn.1","source":"layer_types[1].experts/expert_width/experts_per_tok"}],"edges":[["router","experts"]]},"ffn.1":{"kind":"ffn","label":"the expert FFN","edges":[],"nodes":[{"id":"ffn","kind":"ffn","label":"SwiGLU","lines":["up -> gate * act -> down","width 1024","silu"],"facts":{"expert_width":1024,"ffn_gate":"swiglu","act":"silu"},"source":"layer_types[].ffn_gate (hidden_act: silu)","derived":"hidden_act: silu"}]}},"model":{"kind":"model","label":"Qwen3_5MoeForConditionalGeneration","nodes":[{"id":"text","kind":"text","label":"tokenized text","lines":["up to 256k tokens"],"facts":{"ctx":262144},"source":"spec.ctx"},{"id":"embedding","kind":"embedding","label":"token embedding","lines":["248,320 x 4096"],"facts":{"vocab":248320,"hidden":4096,"tied_embeddings":false},"source":"spec.vocab/hidden/tied_embeddings"},{"id":"block.0","kind":"use","label":"block type 0","lines":["linear attention / SSM","MoE MLP"],"facts":{"attn_kind":"l","mlp_kind":"m","experts":512,"experts_per_tok":10},"ref":"block.0","count":45,"source":"layer_types[0]"},{"id":"block.1","kind":"use","label":"block type 1","lines":["full attention","MoE MLP"],"facts":{"attn_kind":"a","mlp_kind":"m","experts":512,"experts_per_tok":10},"ref":"block.1","count":15,"source":"layer_types[1]"},{"id":"norm","kind":"norm","label":"final norm","lines":["hidden 4096"],"facts":{"hidden":4096},"source":"spec.hidden"},{"id":"head","kind":"head","label":"linear output layer","lines":["4096 x 248,320"],"facts":{"vocab":248320,"hidden":4096},"source":"spec.vocab/hidden"}],"facts":{"params_total":396346350336,"params_active":17349040896,"kv_bytes_per_token":30720,"vocab":248320,"hidden":4096,"ctx":262144},"edges":[["text","embedding"],["embedding","block.0"],["block.0","block.1"],["block.1","norm"],["norm","head"]]},"omissions":["this record is a multi-modal checkpoint - the text decoder is shown, the other towers are not sized here","45 layers hold no KV cache (a recurrent state instead)"]},"provenance":{"class":"derived","source":"config.json","method":"spec-v1"}},"lineage":{"org":"unsloth","tier":"C","foundational":false,"excluded_because":"repack","family":"qwen","generation":"3.5","size":"397B 17B","role":null,"line":null,"rungs":0,"first_of_line":false,"new_rung":false,"base_of":"Qwen/Qwen3.5-397B-A17B"},"params":{"total":396346350336,"active":17349040896,"active_ratio":0.0438,"params_per_expert":12582912,"mtp_excluded":null,"provenance":{"class":"derived","method":"moe-subtract-v1","total_from":"gguf-header-v1","from_base":null},"withheld":null},"inference":{"kv_bytes_per_token":30720,"attn_layers":15,"gb_fp16":792.69,"gb_active_fp16":34.7,"ctx":262144},"quants":[{"format":"IQ1_M","bytes":106819877056,"files":4,"path":"UD-IQ1_M/Qwen3.5-397B-A17B-UD-IQ1_M-00001-of-00004.gguf"},{"format":"IQ2_XXS","bytes":114872940736,"files":4,"path":"UD-IQ2_XXS/Qwen3.5-397B-A17B-UD-IQ2_XXS-00001-of-00004.gguf"},{"format":"IQ2_M","bytes":123053144288,"files":4,"path":"UD-IQ2_M/Qwen3.5-397B-A17B-UD-IQ2_M-00001-of-00004.gguf"},{"format":"IQ3_XXS","bytes":140333676736,"files":4,"path":"UD-IQ3_XXS/Qwen3.5-397B-A17B-UD-IQ3_XXS-00001-of-00004.gguf"},{"format":"IQ3_S","bytes":146373474496,"files":4,"path":"UD-IQ3_S/Qwen3.5-397B-A17B-UD-IQ3_S-00001-of-00004.gguf"},{"format":"Q3_K_XL","bytes":178739034432,"files":5,"path":"UD-Q3_K_XL/Qwen3.5-397B-A17B-UD-Q3_K_XL-00001-of-00005.gguf"},{"format":"IQ4_XS","bytes":189735450944,"files":5,"path":"UD-IQ4_XS/Qwen3.5-397B-A17B-UD-IQ4_XS-00001-of-00005.gguf"},{"format":"IQ4_NL","bytes":193761982784,"files":5,"path":"UD-IQ4_NL/Qwen3.5-397B-A17B-UD-IQ4_NL-00001-of-00005.gguf"},{"format":"MXFP4","bytes":237353302496,"files":6,"path":"MXFP4_MOE/Qwen3.5-397B-A17B-MXFP4_MOE-00001-of-00006.gguf"},{"format":"Q4_K_XL","bytes":245272148448,"files":6,"path":"UD-Q4_K_XL/Qwen3.5-397B-A17B-UD-Q4_K_XL-00001-of-00006.gguf"},{"format":"Q5_K_XL","bytes":294865599104,"files":8,"path":"UD-Q5_K_XL/Qwen3.5-397B-A17B-UD-Q5_K_XL-00001-of-00008.gguf"},{"format":"Q3_K_S","bytes":328646587008,"files":10,"path":"Q3_K_S/Qwen3.5-397B-A17B-Q3_K_S-00001-of-00005.gguf"},{"format":"Q3_K_M","bytes":354819044032,"files":10,"path":"Q3_K_M/Qwen3.5-397B-A17B-Q3_K_M-00001-of-00005.gguf"},{"format":"Q6_K_XL","bytes":362328980288,"files":9,"path":"UD-Q6_K_XL/Qwen3.5-397B-A17B-UD-Q6_K_XL-00001-of-00009.gguf"},{"format":"Q8_0","bytes":421507365824,"files":10,"path":"Q8_0/Qwen3.5-397B-A17B-Q8_0-00001-of-00010.gguf"},{"format":"Q8_K_XL","bytes":427726568384,"files":10,"path":"UD-Q8_K_XL/Qwen3.5-397B-A17B-UD-Q8_K_XL-00001-of-00010.gguf"},{"format":"Q4_K_S","bytes":455975007040,"files":12,"path":"Q4_K_S/Qwen3.5-397B-A17B-Q4_K_S-00001-of-00006.gguf"},{"format":"Q4_K_M","bytes":488187261824,"files":12,"path":"Q4_K_M/Qwen3.5-397B-A17B-Q4_K_M-00001-of-00006.gguf"},{"format":"Q5_K_S","bytes":553104438336,"files":14,"path":"Q5_K_S/Qwen3.5-397B-A17B-Q5_K_S-00001-of-00007.gguf"},{"format":"Q5_K_M","bytes":587329959168,"files":16,"path":"Q5_K_M/Qwen3.5-397B-A17B-Q5_K_M-00001-of-00008.gguf"},{"format":"Q6_K","bytes":653190690112,"files":16,"path":"Q6_K/Qwen3.5-397B-A17B-Q6_K-00001-of-00008.gguf"},{"format":"BF16","bytes":792961318816,"files":17,"path":"BF16/Qwen3.5-397B-A17B-BF16-00001-of-00017.gguf"}],"evidence":{"provider_meta":{"open_weights":true,"release_date":"2026-02-15","ctx":262144,"cost_in":0.36,"cost_out":2.4,"reasoning":true,"tool_call":true,"measured_as":"Qwen3.5 397B-A17B"}},"claims":[{"field":"params.active","claim":"A17B","derived":17349040896,"delta":-0.0201,"quote":"A17B","source":"repo-name","source_url":"https://huggingface.co/unsloth/Qwen3.5-397B-A17B-GGUF"}],"diagrams":{"structure":"/diagrams/unsloth--Qwen3.5-397B-A17B-GGUF-structure.svg"},"history":{"points":2,"first":"2026-09-22T13:37:33Z","last":"2026-09-22T13:57:03Z"},"links":{"hf":"https://huggingface.co/unsloth/Qwen3.5-397B-A17B-GGUF","papers":[],"license":"apache-2.0"},"counters":{"downloads":33303,"likes":255,"created":"2026-02-16","modified":"2026-03-07"},"flags":{"variant":true,"gated":false,"closed_weights":false}}