]> git.djapps.eu Git - pkg/ggml/sources/ggml/commitdiff
tests : change test2 eps
authorGeorgi Gerganov <redacted>
Sat, 7 Jan 2023 18:00:25 +0000 (20:00 +0200)
committerGeorgi Gerganov <redacted>
Sat, 7 Jan 2023 18:00:25 +0000 (20:00 +0200)
tests/test2.c

index 8fd54187514504a8341c8a87c39a3221030da8c1..6ec52ab28af9cc232bb93fa0baed0210d56891aa 100644 (file)
@@ -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));
     }
 
     {