diff options
author | Georgi Gerganov <ggerganov@gmail.com> | 2023-07-05 20:20:05 +0300 |
---|---|---|
committer | Georgi Gerganov <ggerganov@gmail.com> | 2023-07-05 20:20:25 +0300 |
commit | 1b6efeab829f3eeda5b39bd47624bb60b3531b88 (patch) | |
tree | 00332bd295a4cf8dd0736ed7f787a687c7224165 /tests | |
parent | 1b107b8550dced48dc5f41184640061354226b96 (diff) |
tests : fix test-grad0
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-grad0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-grad0.c b/tests/test-grad0.c index b5a499c..a3e2521 100644 --- a/tests/test-grad0.c +++ b/tests/test-grad0.c @@ -1154,7 +1154,7 @@ int main(int argc, const char ** argv) { continue; } - struct ggml_tensor * f = ggml_sum(ctx0, ggml_rope(ctx0, x[0], n_past, n_rot, mode)); + struct ggml_tensor * f = ggml_sum(ctx0, ggml_rope(ctx0, x[0], n_past, n_rot, mode, 0)); GGML_PRINT_DEBUG("rope: n_past: %d n_rot: %d mode: %d\n", n_past, n_rot, mode); check_gradient("rope", ctx0, x, f, ndims, nargs, 1e-2f, 1e-3f, INFINITY); |