mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-10 15:38:29 -05:00
increase atol on reset train
This commit is contained in:
@@ -261,7 +261,7 @@ class TestMultiTensor(unittest.TestCase):
|
||||
shard_output.backward()
|
||||
shard_grad = m.conv1.weight.grad.numpy()
|
||||
# sometimes there is zeros in these grads... why?
|
||||
np.testing.assert_allclose(grad, shard_grad, atol=1e-6, rtol=1e-6)
|
||||
np.testing.assert_allclose(grad, shard_grad, atol=3e-6, rtol=3e-6)
|
||||
|
||||
def test_multi_tensor_jit_param(self):
|
||||
@TinyJit
|
||||
|
||||
Reference in New Issue
Block a user