From 78af1420bf8898b2a32a23642c98fbcf85ca8bd1 Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Sat, 7 Jan 2023 20:00:25 +0200 Subject: [PATCH] tests : change test2 eps --- tests/test2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test2.c b/tests/test2.c index 8fd5418..6ec52ab 100644 --- a/tests/test2.c +++ b/tests/test2.c @@ -96,8 +96,8 @@ int main(int argc, const char ** argv) { enum ggml_opt_result res = ggml_opt(NULL, opt_params, f); assert(res == GGML_OPT_OK); - assert(is_close(ggml_get_f32_1d(t0, 0), 5.0f, 1e-3f)); - assert(is_close(ggml_get_f32_1d(t1, 0), 10.0f, 1e-3f)); + assert(is_close(ggml_get_f32_1d(t0, 0), 5.0f, 1e-2f)); + assert(is_close(ggml_get_f32_1d(t1, 0), 10.0f, 1e-2f)); } {