{"schema_version":"1.2.0","id":"lmstudio-community/gemma-4-26B-A4B-it-MLX-8bit","snapshot":{"generated":"2026-11-27T14:50:55Z","digest":"3e3b3951a5cae62c","snapshot_id":11754},"family":{"key":"gemma426ba4b","representative":"google/gemma-4-26B-A4B-it","members":24,"relation":"mirror"},"architecture":{"value":{"arch":"Gemma4ForConditionalGeneration","model_type":"gemma4_text","layers":30,"hidden":2816,"heads":16,"kv_heads":8,"head_dim":256,"vocab":262144,"tied_embeddings":true,"attn":"GQA","gqa_ratio":2.0,"moe_layers":30,"experts":128,"shared_experts":0,"moe_intermediate":704,"ffn_dense":2112,"is_moe":true,"nested_config":true,"layer_types":[{"i":0,"attn_kind":"s","mlp_kind":"?","attn":"GQA","heads":16,"kv_heads":8,"head_dim":256,"window":1024,"qkv_bias":false,"norm":"rmsnorm","norm_source":"rms_norm_eps","kv_per_token":8192},{"i":1,"attn_kind":"a","mlp_kind":"?","attn":"GQA","heads":16,"kv_heads":8,"head_dim":256,"qkv_bias":false,"norm":"rmsnorm","norm_source":"rms_norm_eps","kv_per_token":8192}],"layer_schedule":"000001000001000001000001000001","layer_note":"attention per layer from `layer_types` (25 sliding, 5 full); 30 of 30 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":"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":"sliding attention","lines":["16 query -> 8 KV heads","window 1024"],"facts":{"attn_kind":"s","attn":"GQA","heads":16,"kv_heads":8,"window":1024},"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 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":"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":["16 query -> 8 KV heads"],"facts":{"attn_kind":"a","attn":"GQA","heads":16,"kv_heads":8},"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":"GQA","nodes":[{"id":"qkv","kind":"qkv","label":"QKV projection","lines":["16 query heads x 256","8 KV heads","no bias"],"facts":{"heads":16,"kv_heads":8,"head_dim":256,"qkv_bias":false},"source":"layer_types[0].heads/kv_heads/head_dim/qkv_bias"},{"id":"attention","kind":"attention","label":"sliding attention","lines":["2:1 query heads share a KV head","window 1024 tokens - the cache stops there","8.0 KB per token"],"facts":{"attn":"GQA","kv_per_token":8192,"window":1024},"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"]]},"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":["16 query heads x 256","8 KV heads","no bias"],"facts":{"heads":16,"kv_heads":8,"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":["2:1 query heads share a KV head","8.0 KB per token"],"facts":{"attn":"GQA","kv_per_token":8192},"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":"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":"Gemma4ForConditionalGeneration","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":["262,144 x 2816","tied to the LM head"],"facts":{"vocab":262144,"hidden":2816,"tied_embeddings":true},"source":"spec.vocab/hidden/tied_embeddings"},{"id":"block.0","kind":"use","label":"block type 0","lines":["sliding attention","MLP kind not stated"],"facts":{"attn_kind":"s","mlp_kind":"?","window":1024},"ref":"block.0","count":25,"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":5,"source":"layer_types[1]","withheld":"part of this block's kind is not recognised"},{"id":"norm","kind":"norm","label":"final norm","lines":["hidden 2816"],"facts":{"hidden":2816},"source":"spec.hidden"},{"id":"head","kind":"head","label":"linear output layer","lines":["2816 x 262,144","tied to the embedding"],"facts":{"vocab":262144,"hidden":2816},"source":"spec.vocab/hidden"}],"facts":{"params_total":25805936206,"params_active":3146372686,"kv_bytes_per_token":40960,"kv_window_bytes":209715200,"vocab":262144,"hidden":2816,"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"]},"provenance":{"class":"derived","source":"config.json","method":"spec-v1"}},"lineage":{"org":"lmstudio-community","tier":"C","foundational":false,"excluded_because":"repack","family":"gemma 8bit","generation":"4","size":"26B 4B","role":"it","line":null,"rungs":0,"first_of_line":false,"new_rung":false,"base_of":"google/gemma-4-26B-A4B"},"params":{"total":25805936206,"active":3146372686,"active_ratio":0.1219,"params_per_expert":5947392,"mtp_excluded":null,"provenance":{"class":"derived","method":"moe-subtract-v1","total_from":"safetensors-header-v1","from_base":null},"withheld":null},"inference":{"kv_bytes_per_token":40960,"kv_window_bytes":209715200,"max_ctx_sliding":1024,"sliding_layers":25,"attn_layers":30,"gb_fp16":51.61,"gb_active_fp16":6.29,"ctx":262144},"quants":null,"evidence":{"provider_meta":{"open_weights":true,"release_date":"2026-04-02","ctx":262144,"cost_in":0.15,"cost_out":0.6,"reasoning":true,"tool_call":true,"measured_as":"Gemma 4 26B A4B IT"}},"claims":[{"field":"params.active","claim":"A4B","derived":3146372686,"delta":0.2713,"quote":"A4B","source":"repo-name","source_url":"https://huggingface.co/lmstudio-community/gemma-4-26B-A4B-it-MLX-8bit"}],"diagrams":{"structure":"/diagrams/lmstudio-community--gemma-4-26B-A4B-it-MLX-8bit-structure.svg"},"history":{"points":2,"first":"2026-09-22T13:37:33Z","last":"2026-09-22T19:46:58Z"},"links":{"hf":"https://huggingface.co/lmstudio-community/gemma-4-26B-A4B-it-MLX-8bit","papers":[],"license":"apache-2.0"},"counters":{"downloads":149427,"likes":4,"created":"2026-04-03","modified":"2026-07-23"},"flags":{"variant":true,"gated":false,"closed_weights":false}}