Skip to content

Commit

Permalink
[bugfix] mark eps as dns arg instead of constexpr (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
StrongSpoon authored Oct 16, 2024
1 parent 4e50812 commit 8f669d7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/flag_gems/ops/weightnorm.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def weight_norm_kernel_last(
g,
M,
N,
eps: tl.constexpr,
eps,
BLOCK_ROW_SIZE: tl.constexpr,
BLOCK_COL_SIZE: tl.constexpr,
):
Expand Down Expand Up @@ -84,7 +84,7 @@ def weight_norm_kernel_first(
g,
M,
N,
eps: tl.constexpr,
eps,
BLOCK_ROW_SIZE: tl.constexpr,
BLOCK_COL_SIZE: tl.constexpr,
):
Expand Down Expand Up @@ -126,7 +126,7 @@ def weight_norm_bwd_kernel_last(
norm,
M,
N,
eps: tl.constexpr,
eps,
BLOCK_ROW_SIZE: tl.constexpr,
BLOCK_COL_SIZE: tl.constexpr,
):
Expand Down Expand Up @@ -176,7 +176,7 @@ def weight_norm_bwd_kernel_first(
norm,
M,
N,
eps: tl.constexpr,
eps,
BLOCK_ROW_SIZE: tl.constexpr,
BLOCK_COL_SIZE: tl.constexpr,
):
Expand Down

0 comments on commit 8f669d7

Please sign in to comment.