ops: ssd_update and ple_conv_bias, Mamba-2's scan and convolution

ssd_update is Mamba-2's selective state update, a token at a time, with kda_update's rollback
contract: per_candidate, or the anchor form (one committed state and a scratch of per-token
records). libref, libavx and a libr4d kernel at a 128-wide state (r4d_ssd.hip, r4d_kda.hip's
register layout). ple_conv_bias is ple_conv with a per-channel bias inside the silu, Mamba-2's
conv1d, an op of its own so ple_conv's callers keep their operand list.

ref_test, avx_check_hand and selftest cases; docs/OPS.md.
This commit is contained in:
keptn42 committed 2026-11-04 22:08:52 +01:00
1 parent 3b278dcec3
commit 63416510a0
21 files changed
+1362 -11

No files matched your search

+2
View File
@@ -118,6 +118,8 @@ set(R4D_UNITS
"r4d_dsa|"
"r4d_mla|"
"r4d_kda|"
# Mamba-2's selective state update (Nemotron-H), the KDA kernel's register layout.
"r4d_ssd|"
"r4d_moe_mxfp4|"
"r4d_fp8_f32scale|"
"r4d_ngram_ids|"