We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f2d538 commit 2ec846dCopy full SHA for 2ec846d
ggml/src/ggml-sycl/rope.cpp
@@ -55,7 +55,7 @@ static void rope_norm(
55
const int i = row*ne0 + i0;
56
const int i2 = row/p_delta_rows;
57
58
- const float theta_base = pos[i2]*powf(theta_scale, i0/2.0f);
+ const float theta_base = pos[i2] * sycl::pow(theta_scale, i0 / 2.0f);
59
60
const float freq_factor = has_ff ? freq_factors[i0/2] : 1.0f;
61
@@ -98,7 +98,7 @@ static void rope_neox(
98
const int i = row*ne0 + i0/2;
99
100
101
102
103
104
0 commit comments