We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67af1d1 commit 2586566Copy full SHA for 2586566
exllamav2/exllamav2_ext/cuda/q_mlp.cu
@@ -55,7 +55,7 @@ __device__ __forceinline__ half gelu(half x)
55
56
__device__ __forceinline__ half2 gelu(half2 x)
57
{
58
- return __halves2half2(gelu(x.x), gelu(x.y));
+ return __halves2half2(gelu(__low2half(x)), gelu(__high2half(x)));
59
}
60
61
typedef void (*fp_silu_mul_kernel)
0 commit comments