Spaces:
Sleeping
Sleeping
ggml : move c parameter comment to ggml_rope_ext (ggml/901)
Browse filesThis 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 <[email protected]>
- ggml/include/ggml.h +1 -1
ggml/include/ggml.h
CHANGED
|
@@ -1455,7 +1455,6 @@ extern "C" {
|
|
| 1455 |
// if mode & 2 == 1, GPT-NeoX style
|
| 1456 |
//
|
| 1457 |
// b is an int32 vector with size a->ne[2], it contains the positions
|
| 1458 |
-
// c is freq factors (e.g. phi3-128k), (optional)
|
| 1459 |
GGML_API struct ggml_tensor * ggml_rope(
|
| 1460 |
struct ggml_context * ctx,
|
| 1461 |
struct ggml_tensor * a,
|
|
@@ -1472,6 +1471,7 @@ extern "C" {
|
|
| 1472 |
int mode);
|
| 1473 |
|
| 1474 |
// custom RoPE
|
|
|
|
| 1475 |
GGML_API struct ggml_tensor * ggml_rope_ext(
|
| 1476 |
struct ggml_context * ctx,
|
| 1477 |
struct ggml_tensor * a,
|
|
|
|
| 1455 |
// if mode & 2 == 1, GPT-NeoX style
|
| 1456 |
//
|
| 1457 |
// b is an int32 vector with size a->ne[2], it contains the positions
|
|
|
|
| 1458 |
GGML_API struct ggml_tensor * ggml_rope(
|
| 1459 |
struct ggml_context * ctx,
|
| 1460 |
struct ggml_tensor * a,
|
|
|
|
| 1471 |
int mode);
|
| 1472 |
|
| 1473 |
// custom RoPE
|
| 1474 |
+
// c is freq factors (e.g. phi3-128k), (optional)
|
| 1475 |
GGML_API struct ggml_tensor * ggml_rope_ext(
|
| 1476 |
struct ggml_context * ctx,
|
| 1477 |
struct ggml_tensor * a,
|