[Perf] Kimi K3 nvfp4 Align in_proj weights by 128 to avoid elementwise copy (#55242)
Signed-off-by: wzhao18 <wzhao18.sz@gmail.com> Co-authored-by: OpenAI Codex <codex@openai.com>
This commit is contained in:
@@ -309,10 +309,7 @@ class MultiHeadLatentAttention(nn.Module, AttentionLayerBase):
|
||||
if gemm_rs_ar.can_run(self.o_proj):
|
||||
self.gemm_rs_ar = gemm_rs_ar
|
||||
else:
|
||||
logger.warning_once(
|
||||
"GEMM-RS/AR is disabled for %s due to an incompatible projection.",
|
||||
prefix,
|
||||
)
|
||||
gemm_rs_ar.warn_incompatible_projection()
|
||||
|
||||
# ---- Attention backend / impl / KV cache ----
|
||||
self.quant_config = quant_config
|
||||
|
||||
Reference in New Issue
Block a user