{"schema_version":"1.2.0","id":"bartowski/Qwen_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":"qwen35moe","model_type":"qwen35moe","layers":61,"hidden":4096,"heads":32,"kv_heads":2,"head_dim":256,"rope_theta":10000000.0,"attn":"GQA","gqa_ratio":16.0,"moe_layers":61,"experts":512,"experts_per_tok":10,"shared_experts":0,"moe_intermediate":1024,"is_moe":true,"hybrid":true,"layer_types":[{"i":0,"attn_kind":"l","mlp_kind":"?","kv_per_token":0},{"i":1,"attn_kind":"a","mlp_kind":"?","attn":"GQA","heads":32,"kv_heads":2,"head_dim":256,"qk_rope_head_dim":64,"kv_per_token":2048}],"layer_schedule":"0001000100010001000100010001000100010001000100010001000100010","layer_note":"full attention every 4th layer; 61 of 61 MoE \u2014 positions not stated"},"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":"norm","lines":["type not stated"],"withheld":"no norm key in the config, so the type cannot be told"},{"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":"MLP kind not stated","lines":["width not stated"],"facts":{"mlp_kind":"?"},"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","the config does not say which layers route to experts"]},"block.1":{"kind":"block","label":"block type 1","nodes":[{"id":"in","kind":"io","label":"in","lines":["residual stream"]},{"id":"norm1","kind":"norm","label":"norm","lines":["type not stated"],"withheld":"no norm key in the config, so the type cannot be told"},{"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":"MLP kind not stated","lines":["width not stated"],"facts":{"mlp_kind":"?"},"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":["the config does not say which layers route to experts"]},"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":"MLP kind not stated","nodes":[{"id":"ffn","kind":"ffn","label":"MLP","lines":["kind not stated"],"withheld":"the config does not say which layers route to experts, so neither shape can be drawn"}],"edges":[]},"attention.1":{"kind":"attention","label":"GQA","nodes":[{"id":"qkv","kind":"qkv","label":"QKV projection","lines":["32 query heads x 256","2 KV heads"],"facts":{"heads":32,"kv_heads":2,"head_dim":256},"source":"layer_types[1].heads/kv_heads/head_dim/qkv_bias"},{"id":"rope","kind":"rope","label":"rope","lines":["decoupled dim 64"],"facts":{"qk_rope_head_dim":64},"source":"layer_types[1].qk_rope_head_dim"},{"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"],["rope","attention"]]},"mlp.1":{"kind":"mlp","label":"MLP kind not stated","nodes":[{"id":"ffn","kind":"ffn","label":"MLP","lines":["kind not stated"],"withheld":"the config does not say which layers route to experts, so neither shape can be drawn"}],"edges":[]}},"model":{"kind":"model","label":"qwen35moe","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":["embedding"],"facts":{"hidden":4096},"source":"spec.vocab/hidden/tied_embeddings"},{"id":"block.0","kind":"use","label":"block type 0","lines":["linear attention / SSM","MLP kind not stated"],"facts":{"attn_kind":"l","mlp_kind":"?"},"ref":"block.0","count":46,"source":"layer_types[0]","withheld":"part of this block's kind is not recognised"},{"id":"block.1","kind":"use","label":"block type 1","lines":["full attention","MLP kind not stated"],"facts":{"attn_kind":"a","mlp_kind":"?"},"ref":"block.1","count":15,"source":"layer_types[1]","withheld":"part of this block's kind is not recognised"},{"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":["vocabulary projection"],"facts":{"hidden":4096},"source":"spec.vocab/hidden"}],"facts":{"params_total":402941918464,"params_active":17627987200,"kv_bytes_per_token":30720,"hidden":4096,"ctx":262144},"edges":[["text","embedding"],["embedding","block.0"],["block.0","block.1"],["block.1","norm"],["norm","head"]]},"omissions":["46 layers hold no KV cache (a recurrent state instead)"]},"provenance":{"class":"derived","source":"gguf-header","method":"spec-v1"}},"lineage":{"org":"bartowski","tier":"C","foundational":false,"excluded_because":"repack","family":"qwen 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":402941918464,"active":17627987200,"active_ratio":0.0437,"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":805.88,"gb_active_fp16":35.26,"ctx":262144},"quants":[{"format":"IQ1_S","bytes":88731231264,"files":3,"path":"Qwen_Qwen3.5-397B-A17B-IQ1_S/Qwen_Qwen3.5-397B-A17B-IQ1_S-00001-of-00003.gguf"},{"format":"IQ1_M","bytes":98280612832,"files":3,"path":"Qwen_Qwen3.5-397B-A17B-IQ1_M/Qwen_Qwen3.5-397B-A17B-IQ1_M-00001-of-00003.gguf"},{"format":"IQ2_XXS","bytes":113251132384,"files":3,"path":"Qwen_Qwen3.5-397B-A17B-IQ2_XXS/Qwen_Qwen3.5-397B-A17B-IQ2_XXS-00001-of-00003.gguf"},{"format":"IQ2_XS","bytes":125402031200,"files":4,"path":"Qwen_Qwen3.5-397B-A17B-IQ2_XS/Qwen_Qwen3.5-397B-A17B-IQ2_XS-00001-of-00004.gguf"},{"format":"IQ2_S","bytes":127313077312,"files":4,"path":"Qwen_Qwen3.5-397B-A17B-IQ2_S/Qwen_Qwen3.5-397B-A17B-IQ2_S-00001-of-00004.gguf"},{"format":"IQ2_M","bytes":139900183648,"files":4,"path":"Qwen_Qwen3.5-397B-A17B-IQ2_M/Qwen_Qwen3.5-397B-A17B-IQ2_M-00001-of-00004.gguf"},{"format":"Q2_K","bytes":146284913792,"files":4,"path":"Qwen_Qwen3.5-397B-A17B-Q2_K/Qwen_Qwen3.5-397B-A17B-Q2_K-00001-of-00004.gguf"},{"format":"Q2_K_L","bytes":147278193792,"files":4,"path":"Qwen_Qwen3.5-397B-A17B-Q2_K_L/Qwen_Qwen3.5-397B-A17B-Q2_K_L-00001-of-00004.gguf"},{"format":"IQ3_XXS","bytes":172695069920,"files":5,"path":"Qwen_Qwen3.5-397B-A17B-IQ3_XXS/Qwen_Qwen3.5-397B-A17B-IQ3_XXS-00001-of-00005.gguf"},{"format":"Q3_K_S","bytes":179940025568,"files":5,"path":"Qwen_Qwen3.5-397B-A17B-Q3_K_S/Qwen_Qwen3.5-397B-A17B-Q3_K_S-00001-of-00005.gguf"},{"format":"IQ3_XS","bytes":188162434304,"files":5,"path":"Qwen_Qwen3.5-397B-A17B-IQ3_XS/Qwen_Qwen3.5-397B-A17B-IQ3_XS-00001-of-00005.gguf"},{"format":"Q3_K_M","bytes":188211193088,"files":5,"path":"Qwen_Qwen3.5-397B-A17B-Q3_K_M/Qwen_Qwen3.5-397B-A17B-Q3_K_M-00001-of-00005.gguf"},{"format":"Q3_K_L","bytes":195928974560,"files":5,"path":"Qwen_Qwen3.5-397B-A17B-Q3_K_L/Qwen_Qwen3.5-397B-A17B-Q3_K_L-00001-of-00005.gguf"},{"format":"IQ3_M","bytes":196009977056,"files":5,"path":"Qwen_Qwen3.5-397B-A17B-IQ3_M/Qwen_Qwen3.5-397B-A17B-IQ3_M-00001-of-00005.gguf"},{"format":"Q3_K_XL","bytes":196818953472,"files":5,"path":"Qwen_Qwen3.5-397B-A17B-Q3_K_XL/Qwen_Qwen3.5-397B-A17B-Q3_K_XL-00001-of-00005.gguf"},{"format":"IQ4_XS","bytes":219236345216,"files":6,"path":"Qwen_Qwen3.5-397B-A17B-IQ4_XS/Qwen_Qwen3.5-397B-A17B-IQ4_XS-00001-of-00006.gguf"},{"format":"IQ4_NL","bytes":231518774624,"files":6,"path":"Qwen_Qwen3.5-397B-A17B-IQ4_NL/Qwen_Qwen3.5-397B-A17B-IQ4_NL-00001-of-00006.gguf"},{"format":"Q4_0","bytes":232444142944,"files":6,"path":"Qwen_Qwen3.5-397B-A17B-Q4_0/Qwen_Qwen3.5-397B-A17B-Q4_0-00001-of-00006.gguf"},{"format":"Q4_K_S","bytes":239572362688,"files":7,"path":"Qwen_Qwen3.5-397B-A17B-Q4_K_S/Qwen_Qwen3.5-397B-A17B-Q4_K_S-00001-of-00007.gguf"},{"format":"Q4_K_M","bytes":248259061152,"files":7,"path":"Qwen_Qwen3.5-397B-A17B-Q4_K_M/Qwen_Qwen3.5-397B-A17B-Q4_K_M-00001-of-00007.gguf"},{"format":"Q4_K_L","bytes":249013953952,"files":7,"path":"Qwen_Qwen3.5-397B-A17B-Q4_K_L/Qwen_Qwen3.5-397B-A17B-Q4_K_L-00001-of-00007.gguf"},{"format":"Q4_1","bytes":256100935104,"files":7,"path":"Qwen_Qwen3.5-397B-A17B-Q4_1/Qwen_Qwen3.5-397B-A17B-Q4_1-00001-of-00007.gguf"},{"format":"Q5_K_S","bytes":281001109056,"files":8,"path":"Qwen_Qwen3.5-397B-A17B-Q5_K_S/Qwen_Qwen3.5-397B-A17B-Q5_K_S-00001-of-00008.gguf"},{"format":"Q5_K_M","bytes":289982129760,"files":8,"path":"Qwen_Qwen3.5-397B-A17B-Q5_K_M/Qwen_Qwen3.5-397B-A17B-Q5_K_M-00001-of-00008.gguf"},{"format":"Q5_K_L","bytes":290609882720,"files":8,"path":"Qwen_Qwen3.5-397B-A17B-Q5_K_L/Qwen_Qwen3.5-397B-A17B-Q5_K_L-00001-of-00008.gguf"},{"format":"Q6_K","bytes":348877055712,"files":9,"path":"Qwen_Qwen3.5-397B-A17B-Q6_K/Qwen_Qwen3.5-397B-A17B-Q6_K-00001-of-00009.gguf"},{"format":"Q6_K_L","bytes":349369722592,"files":9,"path":"Qwen_Qwen3.5-397B-A17B-Q6_K_L/Qwen_Qwen3.5-397B-A17B-Q6_K_L-00001-of-00009.gguf"},{"format":"Q8_0","bytes":428586493600,"files":11,"path":"Qwen_Qwen3.5-397B-A17B-Q8_0/Qwen_Qwen3.5-397B-A17B-Q8_0-00001-of-00011.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.total","claim":"397B","derived":402941918464,"delta":-0.0147,"quote":"397B","source":"repo-name","source_url":"https://huggingface.co/bartowski/Qwen_Qwen3.5-397B-A17B-GGUF"},{"field":"params.active","claim":"A17B","derived":17627987200,"delta":-0.0356,"quote":"A17B","source":"repo-name","source_url":"https://huggingface.co/bartowski/Qwen_Qwen3.5-397B-A17B-GGUF"}],"diagrams":{"structure":"/diagrams/bartowski--Qwen_Qwen3.5-397B-A17B-GGUF-structure.svg"},"history":{"points":2,"first":"2026-09-27T05:01:00Z","last":"2026-10-21T12:49:27Z"},"links":{"hf":"https://huggingface.co/bartowski/Qwen_Qwen3.5-397B-A17B-GGUF","papers":[],"license":"apache-2.0"},"counters":{"downloads":17861,"likes":12,"created":"2026-02-17","modified":"2026-05-21"},"flags":{"variant":true,"gated":false,"closed_weights":false}}