Archived
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:
1 parent
3b278dcec3
commit
63416510a0
21 files changed
+1362
-11
No files matched your search
@@ -65,6 +65,7 @@ int ref_mhc_pre_finish (const RadArgs*, RadStream);
|
||||
int ref_mhc_post (const RadArgs*, RadStream);
|
||||
int ref_mhc_contract (const RadArgs*, RadStream);
|
||||
int ref_kda_update (const RadArgs*, RadStream);
|
||||
int ref_ssd_update (const RadArgs*, RadStream);
|
||||
int ref_hc_read (const RadArgs*, RadStream);
|
||||
int ref_hc_write (const RadArgs*, RadStream);
|
||||
int ref_hc_project (const RadArgs*, RadStream);
|
||||
@@ -118,6 +119,7 @@ int ref_scatter_rows (const RadArgs*, RadStream);
|
||||
int ref_ngram_ids (const RadArgs*, RadStream);
|
||||
int ref_ple_gate (const RadArgs*, RadStream);
|
||||
int ref_ple_conv (const RadArgs*, RadStream);
|
||||
int ref_ple_conv_bias (const RadArgs*, RadStream);
|
||||
int ref_causal_conv1d (const RadArgs*, RadStream);
|
||||
int ref_cast (const RadArgs*, RadStream);
|
||||
int ref_softmax (const RadArgs*, RadStream);
|
||||
@@ -354,6 +356,7 @@ REF_SHAPE_FN(ref_mhc_pre_finish);
|
||||
REF_SHAPE_FN(ref_mhc_post);
|
||||
REF_SHAPE_FN(ref_mhc_contract);
|
||||
REF_SHAPE_FN(ref_kda_update);
|
||||
REF_SHAPE_FN(ref_ssd_update);
|
||||
REF_SHAPE_FN(ref_hc_read);
|
||||
REF_SHAPE_FN(ref_hc_write);
|
||||
REF_SHAPE_FN(ref_hc_project);
|
||||
@@ -407,6 +410,7 @@ REF_SHAPE_FN(ref_scatter_rows);
|
||||
REF_SHAPE_FN(ref_ngram_ids);
|
||||
REF_SHAPE_FN(ref_ple_gate);
|
||||
REF_SHAPE_FN(ref_ple_conv);
|
||||
REF_SHAPE_FN(ref_ple_conv_bias);
|
||||
REF_SHAPE_FN(ref_causal_conv1d);
|
||||
REF_SHAPE_FN(ref_cast);
|
||||
REF_SHAPE_FN(ref_softmax);
|
||||
|
||||
Reference in new issue
Block a user