tests : change test2 eps

pull/15/head
Georgi Gerganov 2 years ago
parent 1af4cf0102
commit 78af1420bf
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

@ -96,8 +96,8 @@ int main(int argc, const char ** argv) {
enum ggml_opt_result res = ggml_opt(NULL, opt_params, f); enum ggml_opt_result res = ggml_opt(NULL, opt_params, f);
assert(res == GGML_OPT_OK); 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(t0, 0), 5.0f, 1e-2f));
assert(is_close(ggml_get_f32_1d(t1, 0), 10.0f, 1e-3f)); assert(is_close(ggml_get_f32_1d(t1, 0), 10.0f, 1e-2f));
} }
{ {

Loading…
Cancel
Save