Skip to content

Commit

Permalink
[bugfix] mark eps as dns arg instead of constexpr (#295)
Browse files Browse the repository at this point in the history
Co-authored-by: unknown <[email protected]>
  • Loading branch information
awayzjj and unknown authored Nov 18, 2024
1 parent 28bcb60 commit f27d6b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/flag_gems/ops/weightnorm.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ def norm_kernel(
v_shape0,
v_shape1,
v_shape2,
eps: tl.constexpr,
eps,
BLOCK_ROW_SIZE: tl.constexpr,
BLOCK_COL_SIZE: tl.constexpr,
):
Expand Down Expand Up @@ -274,7 +274,7 @@ def norm_bwd_kernel(
v_shape0,
v_shape1,
v_shape2,
eps: tl.constexpr,
eps,
BLOCK_ROW_SIZE: tl.constexpr,
BLOCK_COL_SIZE: tl.constexpr,
):
Expand Down

0 comments on commit f27d6b0

Please sign in to comment.