summaryrefslogtreecommitdiff
path: root/ggml.h
diff options
context:
space:
mode:
Diffstat (limited to 'ggml.h')
-rw-r--r--ggml.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/ggml.h b/ggml.h
index 4e6bcb30..3859895b 100644
--- a/ggml.h
+++ b/ggml.h
@@ -1548,6 +1548,14 @@ extern "C" {
float beta_slow),
"use ggml_rope_ext_inplace instead");
+ struct ggml_tensor * ggml_rope_xpos_inplace(
+ struct ggml_context * ctx,
+ struct ggml_tensor * a,
+ struct ggml_tensor * b,
+ int n_dims,
+ float base,
+ bool down);
+
// compute correction dims for YaRN RoPE scaling
GGML_CALL void ggml_rope_yarn_corr_dims(
int n_dims, int n_orig_ctx, float freq_base, float beta_fast, float beta_slow, float dims[2]);