Skip to content

Commit cfca78b

Browse files
committed
wip
1 parent 4ddb8a4 commit cfca78b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

ggml/src/ggml-hexagon/htp/rope-ops.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,15 @@ static float rope_yarn_ramp(const float low, const float high, const int i0) {
7373
return (1 - MIN(1, MAX(0, y)));
7474
}
7575

76-
static void rope_cache_init(const float theta_base,
77-
float freq_scale,
78-
const float * freq_factors,
79-
float * corr_dims,
80-
uint32_t ne0,
81-
float ext_factor,
82-
float mscale,
83-
float * cache,
84-
float theta_scale) {
76+
static void rope_cache_init(const float theta_base,
77+
const float freq_scale,
78+
const float * freq_factors,
79+
float * corr_dims,
80+
const uint32_t ne0,
81+
const float ext_factor,
82+
const float mscale,
83+
float * cache,
84+
const float theta_scale) {
8585
// ref: https://github.com/jquesnelle/yarn/blob/master/scaled_rope/LlamaYaRNScaledRotaryEmbedding.py
8686
float theta = theta_base;
8787

0 commit comments

Comments
 (0)