Archived
docs: catalog the gemma4 arch and its eight attention kernels
ARCHITECTURES.md gains the gemma4_bf16 row (two attention classes, CT-INT4 served form); KERNELS.md gains the h256/gqa2 and h512/gqa8 decode+prefill rows (bf16kv + fp8kv legs) the arch selects.
This commit is contained in:
1 parent
3259b4a8a2
commit
77c266ce8f
2 files changed
+9
No files matched your search
@@ -14,6 +14,7 @@ into the id an architecture plugin claims.
|
||||
| `arch/qwen35moe_fp8` | `qwen35moe` | `fp8_e4m3` | `qwen35_fp8` with the feed-forward routed |
|
||||
| `arch/qwen4exp_fp8` | `qwen4exp` | *(empty)* | Qwen4-Exp (Qwen3.8-Flash-Next), a bf16 checkpoint quantised at convert |
|
||||
| `arch/embgemma2` | `embeddinggemma2` | *(empty)* | EmbeddingGemma 2: a bidirectional encoder with Gemma 4's vision tower and audio conformer, pooled to one vector |
|
||||
| `arch/gemma4_bf16` | `gemma4_bf16` | `i4` (group-128 codes, f16 scale) | Gemma 4 31B dense (text): two attention classes — sliding-window and proportional-RoPE global (`attention_k_eq_v`) — over one GemmaRMSNorm stream, GELU ffn, two KV groups, softcapped logits, tied scaled embedding; served from a CT-INT4 (QAT w4a16) checkpoint |
|
||||
|
||||
This document is the geometry of each, and the handful of readings that are **arithmetically
|
||||
silent** — wrong in a way that produces fluent output and no error anywhere.
|
||||
|
||||
@@ -57,16 +57,24 @@ the core can tune, fuse and check against a container:
|
||||
| `attn_decode_h128_gqa8_fp8kv` | `attn_paged` |
|
||||
| `attn_decode_h256_gqa12_bf16kv` | `attn_paged` |
|
||||
| `attn_decode_h256_gqa12_fp8kv` | `attn_paged` |
|
||||
| `attn_decode_h256_gqa2_bf16kv` | `attn_paged` |
|
||||
| `attn_decode_h256_gqa2_fp8kv` | `attn_paged` |
|
||||
| `attn_decode_h256_gqa6_fp8kv` | `attn_paged` |
|
||||
| `attn_decode_h256_gqa8_bf16kv` | `attn_paged` |
|
||||
| `attn_decode_h256_gqa8_fp8kv` | `attn_paged` |
|
||||
| `attn_decode_h512_gqa8_bf16kv` | `attn_paged` |
|
||||
| `attn_decode_h512_gqa8_fp8kv` | `attn_paged` |
|
||||
| `attn_prefill_h128_gqa8_bf16kv` | `attn_paged` |
|
||||
| `attn_prefill_h128_gqa8_fp8kv` | `attn_paged` |
|
||||
| `attn_prefill_h256_gqa12_bf16kv` | `attn_paged` |
|
||||
| `attn_prefill_h256_gqa12_fp8kv` | `attn_paged` |
|
||||
| `attn_prefill_h256_gqa2_bf16kv` | `attn_paged` |
|
||||
| `attn_prefill_h256_gqa2_fp8kv` | `attn_paged` |
|
||||
| `attn_prefill_h256_gqa6_fp8kv` | `attn_paged` |
|
||||
| `attn_prefill_h256_gqa8_bf16kv` | `attn_paged` |
|
||||
| `attn_prefill_h256_gqa8_fp8kv` | `attn_paged` |
|
||||
| `attn_prefill_h512_gqa8_bf16kv` | `attn_paged` |
|
||||
| `attn_prefill_h512_gqa8_fp8kv` | `attn_paged` |
|
||||
| `attn_vit_h72_bf16` | `attn_dense` |
|
||||
| `dequant_w4_bf16` | `dequant_w4` |
|
||||
| `dflash_conv_t2_g16_bf16` | `dflash_conv` |
|
||||
|
||||
Reference in new issue
Block a user