-
Notifications
You must be signed in to change notification settings - Fork 0
Model Families
Raul Montoya Cardenas edited this page Jul 29, 2026
·
2 revisions
src/types.rs + src/moe/adapter.rs.
| Variant | Arch slug / GGUF arch match |
|---|---|
Olmoe |
olmoe |
Qwen3Moe |
qwen3moe |
Gemma4 |
gemma4 |
DeepSeek2 |
deepseek2 |
LlamaMoe |
llama |
slug() returns snake-case labels (qwen3_moe, llama_moe, …).
Family override must match inferred architecture or load fails with InvalidConfig.
Reads GGUF metadata keys:
-
{arch}.embedding_length→ hidden_size -
{arch}.block_count→ num_layers -
{arch}.expert_count→ num_experts -
{arch}.expert_used_count→ optional (default 1)
Token embedding tensor: token_embd.weight or tok_embeddings.weight.
Routing tensor: first *ffn_gate_inp.weight or *ffn_gate.weight — must be rank-2 F32.
Preferred tensor: blk.0.attn_q.weight when present.
| Condition | synapse_source |
real_gpu_synapse_tensor |
|---|---|---|
attn_q is F16 rank-2 containing hidden_size (GQA-relaxed) |
real |
attn_q name |
| attn_q present but not real F16 | routing-f32 |
routing tensor name |
| no attn_q | synthetic-fallback |
none |
Public metadata for SAAQ / Surrogate_Viz consumers:
preferred_gpu_synapse_tensor_namereal_gpu_synapse_tensor_namesynapse_source
Last updated: July 29, 2026
Updated by: Grok Build: Grok 4.5
Package tip reference: 37c5a21 (main)