[sgl-kernel][1/2] Fused qk_norm_rope for GLM4.6 (#15141)
This commit is contained in:
@@ -267,6 +267,7 @@ def fused_qk_norm_rope(
|
||||
low: float,
|
||||
high: float,
|
||||
attention_factor: float,
|
||||
rotary_dim: Optional[int] = None,
|
||||
) -> None:
|
||||
torch.ops.sgl_kernel.fused_qk_norm_rope(
|
||||
qkv,
|
||||
@@ -284,6 +285,7 @@ def fused_qk_norm_rope(
|
||||
low,
|
||||
high,
|
||||
attention_factor,
|
||||
rotary_dim if rotary_dim is not None else head_dim,
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user