Skip to content

Commit c8c114a

Browse files
committed
Bump tolerance a bit
1 parent e8852c9 commit c8c114a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/models/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,4 +282,4 @@ def test_torch_script(self):
282282
eager_output = model(sample)
283283

284284
self.assertEqual(scripted_output.shape, eager_output.shape)
285-
torch.testing.assert_close(scripted_output, eager_output)
285+
torch.testing.assert_close(scripted_output, eager_output, rtol=1e-3, atol=1e-3)

0 commit comments

Comments
 (0)