We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d89543 commit 242068cCopy full SHA for 242068c
ggml/src/ggml-cuda/unary.cu
@@ -26,7 +26,7 @@ static __device__ __forceinline__ float op_gelu(float x) {
26
static __device__ __forceinline__ float op_gelu_erf(float x) {
27
const float SQRT_2_INV = 0.70710678118654752440084436210484f;
28
29
- return 0.5f*x*(1.0f + erff(x*SQRT_2_INV))
+ return 0.5f*x*(1.0f + erff(x*SQRT_2_INV));
30
}
31
32
static __device__ __forceinline__ float op_gelu_quick(float x) {
0 commit comments