aboutsummaryrefslogtreecommitdiff
path: root/tests/test-grad0.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-grad0.c')
-rw-r--r--tests/test-grad0.c2
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);