Archived
the four-rank sparse decode takes its fused gate row too
--debug-graph on the real container at --tp 4 was red on exactly one op: thirteen device bands, all of them attn_paged_gate_quant, refused with 'gqa == 12, have 6'. The row table registered the fused sparse-decode leg only at the two-rank ratio, so at four ranks the block declared a fused op nothing served. That was my reading of v1, and it was wrong in a way that is not neutral: the block declares the fused op beside the unfused pair EITHER way, so an unregistered geometry is not a quiet fallback, it is a device hole -- a band a request can land in whose step then fails at issue rather than at declare. The kernel already exists. r4d_attn_paged_gqa8.hip pastes the _gq entry points onto R4D_ATTN_GQA, so the gqa6-bs4 unit has exported them since it was written; the build's libr4d.so has r4d_rad_attn_decode_gq_h256_gqa6_fp8 and _bf16 in its symbol table. Unlike all_gather, this leg needed a row registered, not a kernel written. q_len <= 10 rather than <= 5 is the same q_len*gqa <= 64 at six queries a position; the verify bound moves with the ratio and nothing else. TP2 cannot regress: the rows carry C_EQ(gqa, 6) against a world-2 query that carries 12.
This commit is contained in:
1 parent
8f795c1022
commit
146318894d
2 files changed
+54
-4
No files matched your search
@@ -131,6 +131,15 @@ int r4d_rad_attn_decode_h256_gqa6_bf16 (const RadArgs*, RadStream);
|
||||
int r4d_rad_attn_decode_h256_gqa6_bf16_describe(const RadArgs*, RadStream, RadLaunchDesc*,
|
||||
int, int*);
|
||||
int64_t r4d_rad_attn_decode_h256_gqa6_scratch(const RadArgs*);
|
||||
/* The same two merges with the output gate and the quantiser in them, at the four-rank ratio. The
|
||||
* body instantiates these at every ratio (`R4D_ATTN_GQA` pastes them), so unlike `all_gather` this
|
||||
* one needed a ROW and not a kernel — see attn_decode_gq_h256_gqa6_fp8kv. */
|
||||
int r4d_rad_attn_decode_gq_h256_gqa6_fp8(const RadArgs*, RadStream);
|
||||
int r4d_rad_attn_decode_gq_h256_gqa6_fp8_describe(const RadArgs*, RadStream, RadLaunchDesc*,
|
||||
int, int*);
|
||||
int r4d_rad_attn_decode_gq_h256_gqa6_bf16(const RadArgs*, RadStream);
|
||||
int r4d_rad_attn_decode_gq_h256_gqa6_bf16_describe(const RadArgs*, RadStream, RadLaunchDesc*,
|
||||
int, int*);
|
||||
|
||||
/* -- gated delta net (r4d_gdn_*.hip) -- */
|
||||
int r4d_rad_gdn_chunk_scan (const RadArgs*, RadStream);
|
||||
|
||||
Reference in new issue
Block a user