{"schema_version":"1.2.0","id":"unsloth/Kimi-K2-Instruct-GGUF","snapshot":{"generated":"2026-11-27T14:50:55Z","digest":"3e3b3951a5cae62c","snapshot_id":11754},"family":{"key":"kimik2","representative":"moonshotai/Kimi-K2-Instruct-0905","members":6,"relation":"release"},"architecture":{"value":{"arch":"DeepseekV3ForCausalLM","model_type":"deepseek_v3","layers":61,"hidden":7168,"heads":64,"kv_heads":64,"head_dim":112,"vocab":163840,"act":"silu","rope_theta":50000.0,"tied_embeddings":false,"dtype":"bfloat16","attn":"MLA","gqa_ratio":1.0,"moe_layers":60,"experts":384,"experts_per_tok":8,"shared_experts":1,"moe_intermediate":2048,"ffn_dense":18432,"is_moe":true,"layer_types":[{"i":0,"attn_kind":"a","mlp_kind":"d","attn":"MLA","heads":64,"kv_heads":64,"head_dim":112,"kv_lora_rank":512,"qk_rope_head_dim":64,"qkv_bias":false,"ffn_dense":18432,"ffn_gate":"swiglu","ffn_gate_source":"hidden_act: silu","norm":"rmsnorm","norm_source":"rms_norm_eps","kv_per_token":1152},{"i":1,"attn_kind":"a","mlp_kind":"m","attn":"MLA","heads":64,"kv_heads":64,"head_dim":112,"kv_lora_rank":512,"qk_rope_head_dim":64,"qkv_bias":false,"ffn_gate":"swiglu","ffn_gate_source":"hidden_act: silu","experts":384,"experts_per_tok":8,"expert_width":2048,"shared_experts":1,"router_score":"sigmoid","router_norm_topk":true,"router_groups":1,"router_topk_groups":1,"norm":"rmsnorm","norm_source":"rms_norm_eps","kv_per_token":1152}],"layer_schedule":"0111111111111111111111111111111111111111111111111111111111111","layer_note":"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":"attention - MLA","lines":["latent 512 + rope 64"],"facts":{"attn_kind":"a","attn":"MLA","heads":64,"kv_heads":64},"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":"dense MLP","lines":["width 18432","silu"],"facts":{"mlp_kind":"d","ffn_dense":18432},"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":[]},"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":"attention - MLA","lines":["latent 512 + rope 64"],"facts":{"attn_kind":"a","attn":"MLA","heads":64,"kv_heads":64},"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":["8 of 384 experts","width 2048"],"facts":{"mlp_kind":"m","experts":384,"experts_per_tok":8},"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":"MLA","nodes":[{"id":"qkv","kind":"qkv","label":"QKV projection","lines":["64 query heads x 112","no bias"],"facts":{"heads":64,"kv_heads":64,"head_dim":112,"qkv_bias":false},"source":"layer_types[0].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[0].qk_rope_head_dim"},{"id":"attention","kind":"attention","label":"attention - MLA","lines":["latent 512 + rope 64","a learned latent, not full K/V","1.1 KB per token"],"facts":{"attn":"MLA","kv_lora_rank":512,"kv_per_token":1152},"source":"layer_types[0].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.0":{"kind":"mlp","label":"dense MLP","nodes":[{"id":"ffn","kind":"ffn","label":"dense FFN","lines":["width 18432","silu"],"facts":{"ffn_dense":18432,"ffn_gate":"swiglu","act":"silu"},"source":"layer_types[].ffn_gate (hidden_act: silu)","derived":"hidden_act: silu"}],"edges":[]},"attention.1":{"kind":"attention","label":"MLA","nodes":[{"id":"qkv","kind":"qkv","label":"QKV projection","lines":["64 query heads x 112","no bias"],"facts":{"heads":64,"kv_heads":64,"head_dim":112,"qkv_bias":false},"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":"attention - MLA","lines":["latent 512 + rope 64","a learned latent, not full K/V","1.1 KB per token"],"facts":{"attn":"MLA","kv_lora_rank":512,"kv_per_token":1152},"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":"MoE MLP","nodes":[{"id":"router","kind":"router","label":"router","lines":["sigmoid - top 8/384 - normalised"],"facts":{"router_score":"sigmoid","experts_per_tok":8,"router_groups":1,"router_topk_groups":1,"router_norm_topk":true},"source":"layer_types[1].router_*/experts_per_tok"},{"id":"experts","kind":"use","label":"384 experts","lines":["width 2048 each","8 fire per token"],"facts":{"experts":384,"expert_width":2048,"experts_per_tok":8},"ref":"ffn.1","source":"layer_types[1].experts/expert_width/experts_per_tok"},{"id":"shared","kind":"expert","label":"1 shared expert","lines":["always on, every token"],"facts":{"shared_experts":1},"source":"layer_types[1].shared_experts/shared_width"}],"edges":[["router","experts"],["router","shared"]]},"ffn.1":{"kind":"ffn","label":"the expert FFN","edges":[],"nodes":[{"id":"ffn","kind":"ffn","label":"SwiGLU","lines":["up -> gate * act -> down","width 2048","silu"],"facts":{"expert_width":2048,"ffn_gate":"swiglu","act":"silu"},"source":"layer_types[].ffn_gate (hidden_act: silu)","derived":"hidden_act: silu"}]}},"model":{"kind":"model","label":"DeepseekV3ForCausalLM","nodes":[{"id":"text","kind":"text","label":"tokenized text","lines":["up to 128k tokens"],"facts":{"ctx":131072},"source":"spec.ctx"},{"id":"embedding","kind":"embedding","label":"token embedding","lines":["163,840 x 7168"],"facts":{"vocab":163840,"hidden":7168,"tied_embeddings":false},"source":"spec.vocab/hidden/tied_embeddings"},{"id":"block.0","kind":"use","label":"block type 0","lines":["full attention","dense MLP"],"facts":{"attn_kind":"a","mlp_kind":"d"},"ref":"block.0","count":1,"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":384,"experts_per_tok":8},"ref":"block.1","count":60,"source":"layer_types[1]"},{"id":"norm","kind":"norm","label":"final norm","lines":["hidden 7168"],"facts":{"hidden":7168},"source":"spec.hidden"},{"id":"head","kind":"head","label":"linear output layer","lines":["7168 x 163,840"],"facts":{"vocab":163840,"hidden":7168},"source":"spec.vocab/hidden"}],"facts":{"params_total":1026408232448,"params_active":32861500928,"kv_bytes_per_token":70272,"vocab":163840,"hidden":7168,"ctx":131072,"native_format":"FP8"},"edges":[["text","embedding"],["embedding","block.0"],["block.0","block.1"],["block.1","norm"],["norm","head"]]},"omissions":[]},"provenance":{"class":"derived","source":"config.json","method":"spec-v1"}},"lineage":{"org":"unsloth","tier":"C","foundational":false,"excluded_because":"repack","family":"kimi","generation":"2","size":"1T+","role":"instruct","line":null,"rungs":0,"first_of_line":false,"new_rung":false,"base_of":"moonshotai/Kimi-K2-Base"},"params":{"total":1026408232448,"active":32861500928,"active_ratio":0.032,"params_per_expert":44040192,"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":70272,"attn_layers":61,"gb_fp16":2052.82,"gb_active_fp16":65.72,"ctx":131072,"native_format":"FP8"},"quants":[{"format":"TQ1_0","bytes":243604284224,"files":5,"path":"UD-TQ1_0/Kimi-K2-Instruct-UD-TQ1_0-00001-of-00005.gguf"},{"format":"IQ1_S","bytes":280113603520,"files":6,"path":"UD-IQ1_S/Kimi-K2-Instruct-UD-IQ1_S-00001-of-00006.gguf"},{"format":"IQ1_M","bytes":304231648288,"files":7,"path":"UD-IQ1_M/Kimi-K2-Instruct-UD-IQ1_M-00001-of-00007.gguf"},{"format":"IQ2_XXS","bytes":328784475200,"files":7,"path":"UD-IQ2_XXS/Kimi-K2-Instruct-UD-IQ2_XXS-00001-of-00007.gguf"},{"format":"IQ2_M","bytes":347105195200,"files":8,"path":"UD-IQ2_M/Kimi-K2-Instruct-UD-IQ2_M-00001-of-00008.gguf"},{"format":"Q2_K","bytes":373179203680,"files":8,"path":"Q2_K/Kimi-K2-Instruct-Q2_K-00001-of-00008.gguf"},{"format":"Q2_K_L","bytes":373454454880,"files":8,"path":"Q2_K_L/Kimi-K2-Instruct-Q2_K_L-00001-of-00008.gguf"},{"format":"Q2_K_XL","bytes":381861323872,"files":8,"path":"UD-Q2_K_XL/Kimi-K2-Instruct-UD-Q2_K_XL-00001-of-00008.gguf"},{"format":"IQ3_XXS","bytes":416622218560,"files":9,"path":"UD-IQ3_XXS/Kimi-K2-Instruct-UD-IQ3_XXS-00001-of-00009.gguf"},{"format":"Q3_K_S","bytes":442417651616,"files":10,"path":"Q3_K_S/Kimi-K2-Instruct-Q3_K_S-00001-of-00010.gguf"},{"format":"Q3_K_XL","bytes":452078601632,"files":10,"path":"UD-Q3_K_XL/Kimi-K2-Instruct-UD-Q3_K_XL-00001-of-00010.gguf"},{"format":"Q3_K_M","bytes":489378373568,"files":11,"path":"Q3_K_M/Kimi-K2-Instruct-Q3_K_M-00001-of-00011.gguf"},{"format":"IQ4_XS","bytes":546510814816,"files":12,"path":"IQ4_XS/Kimi-K2-Instruct-IQ4_XS-00001-of-00012.gguf"},{"format":"IQ4_NL","bytes":578491487968,"files":12,"path":"IQ4_NL/Kimi-K2-Instruct-IQ4_NL-00001-of-00012.gguf"},{"format":"Q4_0","bytes":580619179872,"files":13,"path":"Q4_0/Kimi-K2-Instruct-Q4_0-00001-of-00013.gguf"},{"format":"Q4_K_S","bytes":582746871648,"files":13,"path":"Q4_K_S/Kimi-K2-Instruct-Q4_K_S-00001-of-00013.gguf"},{"format":"Q4_K_XL","bytes":587106516288,"files":13,"path":"UD-Q4_K_XL/Kimi-K2-Instruct-UD-Q4_K_XL-00001-of-00013.gguf"},{"format":"Q4_K_M","bytes":620781770528,"files":13,"path":"Q4_K_M/Kimi-K2-Instruct-Q4_K_M-00001-of-00013.gguf"},{"format":"Q4_1","bytes":642526234336,"files":13,"path":"Q4_1/Kimi-K2-Instruct-Q4_1-00001-of-00013.gguf"},{"format":"Q5_K_S","bytes":706560980992,"files":15,"path":"Q5_K_S/Kimi-K2-Instruct-Q5_K_S-00001-of-00015.gguf"},{"format":"Q5_K_M","bytes":728346884160,"files":16,"path":"Q5_K_M/Kimi-K2-Instruct-Q5_K_M-00001-of-00016.gguf"},{"format":"Q5_K_XL","bytes":730578835520,"files":16,"path":"UD-Q5_K_XL/Kimi-K2-Instruct-UD-Q5_K_XL-00001-of-00016.gguf"},{"format":"Q6_K","bytes":842634817376,"files":18,"path":"Q6_K/Kimi-K2-Instruct-Q6_K-00001-of-00018.gguf"},{"format":"Q6_K_XL","bytes":879052986816,"files":19,"path":"UD-Q6_K_XL/Kimi-K2-Instruct-UD-Q6_K_XL-00001-of-00019.gguf"},{"format":"Q8_0","bytes":1091053886208,"files":23,"path":"Q8_0/Kimi-K2-Instruct-Q8_0-00001-of-00023.gguf"},{"format":"Q8_K_XL","bytes":1190059777216,"files":25,"path":"UD-Q8_K_XL/Kimi-K2-Instruct-UD-Q8_K_XL-00001-of-00025.gguf"},{"format":"BF16","bytes":2053155812768,"files":45,"path":"BF16/Kimi-K2-Instruct-BF16-00001-of-00045.gguf"}],"evidence":{"provider_meta":{"open_weights":true,"release_date":"2025-07-11","ctx":131072,"cost_in":0.57,"cost_out":2.3,"reasoning":false,"tool_call":true,"measured_as":"Kimi K2 Instruct"}},"claims":[],"diagrams":{"structure":"/diagrams/unsloth--Kimi-K2-Instruct-GGUF-structure.svg"},"history":{"points":4,"first":"2026-09-16T15:22:25Z","last":"2026-09-21T09:50:07Z"},"links":{"hf":"https://huggingface.co/unsloth/Kimi-K2-Instruct-GGUF","papers":[],"license":"other"},"counters":{"downloads":19718,"likes":229,"created":"2025-07-12","modified":"2025-12-29"},"flags":{"variant":true,"gated":false,"closed_weights":false}}