fused qknorm+rope kernel optimization for SM9.0 (#37376)
Signed-off-by: EricccYang <yangyang4991@gmail.com> Signed-off-by: Kaicheng Yang <53411596+EricccYang@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
cae984060f
commit
4beeb0689c
@@ -435,6 +435,7 @@ def fused_qk_norm_rope(
|
||||
cos_sin_cache: torch.Tensor,
|
||||
is_neox: bool,
|
||||
position_ids: torch.Tensor,
|
||||
forced_token_heads_per_warp: int = -1,
|
||||
) -> None:
|
||||
torch.ops._C.fused_qk_norm_rope(
|
||||
qkv,
|
||||
@@ -448,6 +449,7 @@ def fused_qk_norm_rope(
|
||||
cos_sin_cache,
|
||||
is_neox,
|
||||
position_ids,
|
||||
forced_token_heads_per_warp,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user