docs: SYCL_PROGRESS -- Gemma 4 E2B on Intel, changes 6-9

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
aneinanderandClaude Opus 5.5 committed 2026-11-08 21:10:37 +01:00
1 parent dd20835f18
commit 47d1a952e9
1 file changed
+11 -2
+11 -2
View File
@@ -1056,9 +1056,18 @@ at ~1,170 GB/s (Xe2's lossless compression), so bandwidth probes must use random
| 4 | `d04a27fa` | `gemm_nt_bias` (bias, gelu, residual: 22 architectures' vision/audio/embedding/diffusion linears) on the fast GEMMs, product into f32, libref's epilogue on it; was only the one-work-item-an-output ref row | rad-kbench fixture 210/210, full fixture 2144/2144, Qwen3.5-9B vision shapes agree with libref | 4608x4608 + gelu: M = 1 1,627 -> 81 us, M = 512 302,924 -> 721 us |
| 5 | `b0ac7fd4` | device rows for gelu, silu, gelu_tanh, scale, mul_weight, clamp, fill, iota, act_mul, gelu_mul (libref's chains, double transcendentals) | fixtures 339/339; a random-weight 2-layer Gemma3 `.rad` (local/scratch/tinyg3/gen.py): every kernel agrees with libref | a weightless op with no device row stops the engine at startup: that Gemma3 did not start on Intel, now serves |
| 6 | `ff4b7c9f`, `25c8fbd1` | device rows for rmsnorm_p, relu, logit_softcap, rel_sinusoid, pool_rows, qk_norm_rope (all six modes), conv1d_dw, conv2d, attn_local_rel; rope's frequency table to head_dim 512 | rad-kbench on the Gemma 4 E2B container: every new op 0 failures, rope 300/300; fixture 2144/2144 | Gemma 4 E2B (text, vision and audio towers) did not start on Intel, now serves; text and an image answered correctly |
| 7 | `0c760642` | the fused attention prologue `qkv_norm_rope(+_kv_store)` (Gemma 3/4, Hunyuan v3, DFlash2 declare it where a library has it); byte-identical to libxe2's own unfused ops, schemas libr4d's | greedy hashes identical with and without (`XE2_NO_FUSED_PROLOGUE=1`), Gemma 4 E2B and a random Gemma 3 | Gemma 4 E2B decode 58.0 -> 58.6 tok/s |
| 8 | `d35027aa` | split-KV attention up to head_dim 512 (was: the exact kernel above 256); instantiated at 16 and 32 values a lane, head_dim <= 256 unchanged | rad-kbench Gemma 4 attn 320/320 | hd512 decode 192 -> 43 us, q256 55 -> 20 ms; Gemma 4 decode 58.6 -> 63.0, prefill @2.4k 724 -> 1,537 |
| 9 | `dd20835f` | sliding-window attention on the DPAS kernels (was: the SIMT kernel for any window), its own instantiation so window 0 is unchanged | Gemma 4 attn 320/320, 9B 160/160 (times = old code within 0.5%), fixture 2144/2144 | window 512 decode 101 -> 23.5 us, q512 2,833 -> 98 us; Gemma 4 decode 63.0 -> 74.4, prefill 1,537 -> 1,886; long-context retrieval checked |
Escape hatches: `XE2_ATTN_SIMT=1`, `XE2_GEMV_SIMT=1`, `XE2_W4_RB8=1` restore the previous forms;
`XE2_EXACT=1` the ref rows of 4.
`XE2_EXACT=1` the ref rows of 4; `XE2_NO_FUSED_PROLOGUE=1` leaves 7's rows undeclared.
**Third test model**: google/gemma-4-E2B-it as plain bf16 (`baseline-models/gemma-4-e2b-it-bf16.rad`,
no recipe): a different family from the two Qwens -- sliding-window and head_dim 512 global attention,
KV sharing, per-layer embeddings, vision and audio towers. 58.0 -> 74.4 tok/s decode and 724 -> 1,886
tok/s prefill at 2.4k over 7-9.
**Second test model**: RedHatAI/Qwen3.5-9B-quantized.w4a16, converted as shipped (library folder
`aneinander/Qwen3.5-9B-quantized.w4a16-rad`): 56.9 tok/s decode, 94.6 with MTP 3, 4.4k prefill.
@@ -1068,7 +1077,7 @@ us launch floor.
**Op coverage**: libxe2 serves 64 ops, libr4d 281. An op with weights and no device row runs
host-site (a join); one **without** weights stops the engine at startup. Still missing on Intel and
used by several architectures: the MoE family (moe_gemm, moe_gather/scatter, router_topk),
qk_norm_rope, relu, conv1d, group_norm, attn_cross and the diffusion ops. A static scan of arch/ is
conv1d, group_norm, attn_cross and the diffusion ops. A static scan of arch/ is
noisy (shared headers name ops used only at tp > 1 or in one quant form): a converted container is
the check.