From: Daniel Bevenius Date: Mon, 29 Jul 2024 13:06:06 +0000 (+0200) Subject: ggml : move c parameter comment to ggml_rope_ext (#901) X-Git-Tag: upstream/0.0.1642~487 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=29d87fc6676e7ed0cdfdec0804b06001d9c2bb44;p=pkg%2Fggml%2Fsources%2Fggml ggml : move c parameter comment to ggml_rope_ext (#901) This commit moves the comment for the c parameter from ggml_rope to ggml_rope_ext. The comment is currently incorrect as ggml_rope does not have a c parameter (freq_factors tensor). Signed-off-by: Daniel Bevenius --- diff --git a/include/ggml.h b/include/ggml.h index 464d765d..4c379ab8 100644 --- a/include/ggml.h +++ b/include/ggml.h @@ -1455,7 +1455,6 @@ extern "C" { // if mode & 2 == 1, GPT-NeoX style // // b is an int32 vector with size a->ne[2], it contains the positions - // c is freq factors (e.g. phi3-128k), (optional) GGML_API struct ggml_tensor * ggml_rope( struct ggml_context * ctx, struct ggml_tensor * a, @@ -1472,6 +1471,7 @@ extern "C" { int mode); // custom RoPE + // c is freq factors (e.g. phi3-128k), (optional) GGML_API struct ggml_tensor * ggml_rope_ext( struct ggml_context * ctx, struct ggml_tensor * a,