tighten abs error bounds for sqrt in test-grad0

This commit is contained in:
xaedes 2023-07-03 18:48:57 +02:00
parent 47055c929f
commit 0f6a8ab519
No known key found for this signature in database
GPG key ID: 30030EDD817EA2B1

View file

@ -531,7 +531,7 @@ int main(int argc, const char ** argv) {
struct ggml_tensor * f = ggml_sum(ctx0, ggml_sqrt(ctx0, x[0]));
check_gradient("sqrt", ctx0, x, f, ndims, nargs, 1e-3f, INFINITY, 1e-1f);
check_gradient("sqrt", ctx0, x, f, ndims, nargs, 1e-3f, 2e-2f, 1e-1f);
}
}