Archived
The gemma4_bf16 architecture (sliding and global attention, the proportional RoPE ladder, the assistant head as a drafter that reads the trunk's cache, the vision tower), its w4a8 decode junctions, the h512/gqa8 and h256/gqa2 attention kernels, compressed-tensors int4 import, multi-EOS from generation_config, the call/reasoning reply format, a window group that keeps the keys a prefill chunk still reads, and window snapshots in checkpoint slots so a prefix hit on a sliding-window trunk resumes. Fixes on top: the investigation switches and diagnostic blocks out of the served paths; int4 import through the checkpoint import framework; attention_k_eq_v from the config; the fused junctions only where every reader takes their pair; a shared-KV head binds no group of its own; the compose file without HSA_ENABLE_IPC_MODE_LEGACY (TP2 fails with it on ROCm 10.1); a checkpoint carries a window only where a hit resumes from it; the README says the linked container is keptn42's calibrated GPTQ build and what the in-tree recipe gives.
This commit is contained in:
commit
7c7f755931
84 files changed
+10292
-230
No files matched your search
@@ -63,6 +63,7 @@ extern "C" {
|
||||
|
||||
/* ---- elementwise and norms */
|
||||
int ref_rmsnorm (const RadArgs*, RadStream);
|
||||
int ref_rmsnorm_p (const RadArgs*, RadStream);
|
||||
int ref_rmsnorm_add (const RadArgs*, RadStream);
|
||||
int ref_hc_enter (const RadArgs*, RadStream);
|
||||
int ref_hc_read (const RadArgs*, RadStream);
|
||||
@@ -74,6 +75,7 @@ int ref_grid_embed_aa (const RadArgs*, RadStream);
|
||||
int ref_add (const RadArgs*, RadStream);
|
||||
int ref_mul (const RadArgs*, RadStream);
|
||||
int ref_silu_mul (const RadArgs*, RadStream);
|
||||
int ref_gelu_mul (const RadArgs*, RadStream);
|
||||
int ref_act_mul (const RadArgs*, RadStream);
|
||||
int ref_mul_weight (const RadArgs*, RadStream);
|
||||
int ref_seg_mean (const RadArgs*, RadStream);
|
||||
@@ -87,6 +89,8 @@ int ref_attn_local_rel (const RadArgs*, RadStream);
|
||||
int ref_gelu (const RadArgs*, RadStream);
|
||||
int ref_silu (const RadArgs*, RadStream);
|
||||
int ref_sigmoid (const RadArgs*, RadStream);
|
||||
int ref_logit_softcap (const RadArgs*, RadStream);
|
||||
int ref_scale (const RadArgs*, RadStream);
|
||||
int ref_fill (const RadArgs*, RadStream);
|
||||
int ref_gather_rows (const RadArgs*, RadStream);
|
||||
int ref_scatter_rows (const RadArgs*, RadStream);
|
||||
@@ -194,6 +198,7 @@ int ref_sample_logprobs (const RadArgs*, RadStream);
|
||||
int fn##_shape(const RadParam* p, int n_p, int operand, RadOpdDesc* out)
|
||||
|
||||
REF_SHAPE_FN(ref_rmsnorm);
|
||||
REF_SHAPE_FN(ref_rmsnorm_p);
|
||||
REF_SHAPE_FN(ref_rmsnorm_add);
|
||||
REF_SHAPE_FN(ref_hc_enter);
|
||||
REF_SHAPE_FN(ref_hc_read);
|
||||
@@ -205,6 +210,7 @@ REF_SHAPE_FN(ref_grid_embed_aa);
|
||||
REF_SHAPE_FN(ref_add);
|
||||
REF_SHAPE_FN(ref_mul);
|
||||
REF_SHAPE_FN(ref_silu_mul);
|
||||
REF_SHAPE_FN(ref_gelu_mul);
|
||||
REF_SHAPE_FN(ref_act_mul);
|
||||
REF_SHAPE_FN(ref_mul_weight);
|
||||
REF_SHAPE_FN(ref_seg_mean);
|
||||
@@ -218,6 +224,8 @@ REF_SHAPE_FN(ref_attn_local_rel);
|
||||
REF_SHAPE_FN(ref_gelu);
|
||||
REF_SHAPE_FN(ref_silu);
|
||||
REF_SHAPE_FN(ref_sigmoid);
|
||||
REF_SHAPE_FN(ref_logit_softcap);
|
||||
REF_SHAPE_FN(ref_scale);
|
||||
REF_SHAPE_FN(ref_fill);
|
||||
REF_SHAPE_FN(ref_gather_rows);
|
||||
REF_SHAPE_FN(ref_scatter_rows);
|
||||
|
||||
Reference in new issue
Block a user