mirror of https://github.com/commaai/tinygrad.git
increase atol on reset train
This commit is contained in:
parent
d8fafca13a
commit
03899a74bb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue