From: Georgi Gerganov Date: Sat, 7 Jan 2023 18:00:25 +0000 (+0200) Subject: tests : change test2 eps X-Git-Tag: upstream/0.0.1642~1591 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=78af1420bf8898b2a32a23642c98fbcf85ca8bd1;p=pkg%2Fggml%2Fsources%2Fggml tests : change test2 eps --- diff --git a/tests/test2.c b/tests/test2.c index 8fd54187..6ec52ab2 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)); } {