Skip to content

Commit

Permalink
re-add missing usqrt_bf16
Browse files Browse the repository at this point in the history
  • Loading branch information
haricot committed Jan 21, 2025
1 parent a2f7148 commit eaf7eeb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions candle-kernels/src/unary.cu
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ UNARY_OP(__nv_bfloat16, uround_bf16, roundg(x))
UNARY_OP(__nv_bfloat16, unormcdf_bf16, normcdfg(x))
UNARY_OP(__nv_bfloat16, uabs_bf16, absg(x))
UNARY_OP(__nv_bfloat16, usqr_bf16, x*x)
UNARY_OP(__nv_bfloat16, usqrt_bf16, sqrtg(x))
UNARY_OP(__nv_bfloat16, ugelu_bf16, gelu_fwd(x))
UNARY_OP(__nv_bfloat16, ugelu_erf_bf16, gelu_erf_fwd(x))
UNARY_OP(__nv_bfloat16, urelu_bf16, relu_fwd(x))
Expand Down

0 comments on commit eaf7eeb

Please sign in to comment.