[Auto Sync] Update batch_invariant_ops.py (20260221) (#19098)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Jiayi Yuan <34369239+jy-yuan@users.noreply.github.com>
This commit is contained in:
co-authored by
github-actions[bot]
Jiayi Yuan
parent
2928dfb8fa
commit
463baafe10
@@ -309,9 +309,9 @@ def matmul_persistent(
|
|||||||
def _log_softmax_kernel(
|
def _log_softmax_kernel(
|
||||||
input_ptr,
|
input_ptr,
|
||||||
output_ptr,
|
output_ptr,
|
||||||
input_row_stride,
|
input_row_stride: tl.constexpr,
|
||||||
output_row_stride,
|
output_row_stride: tl.constexpr,
|
||||||
n_cols,
|
n_cols: tl.constexpr,
|
||||||
BLOCK_SIZE: tl.constexpr,
|
BLOCK_SIZE: tl.constexpr,
|
||||||
):
|
):
|
||||||
"""
|
"""
|
||||||
@@ -814,9 +814,9 @@ def _rms_norm_kernel(
|
|||||||
input_ptr,
|
input_ptr,
|
||||||
weight_ptr,
|
weight_ptr,
|
||||||
output_ptr,
|
output_ptr,
|
||||||
input_row_stride,
|
input_row_stride: tl.constexpr,
|
||||||
output_row_stride,
|
output_row_stride: tl.constexpr,
|
||||||
n_cols,
|
n_cols: tl.constexpr,
|
||||||
eps,
|
eps,
|
||||||
BLOCK_SIZE: tl.constexpr,
|
BLOCK_SIZE: tl.constexpr,
|
||||||
):
|
):
|
||||||
|
|||||||
Reference in New Issue
Block a user