Tests: replace torch.testing.assert_allclose by torch.testing.assert_close (#29915)
* replace torch.testing.assert_allclose by torch.testing.assert_close * missing atol rtol
This commit is contained in:
@@ -763,7 +763,7 @@ class Umt5IntegrationTest(unittest.TestCase):
|
||||
]
|
||||
)
|
||||
# fmt: on
|
||||
torch.testing.assert_allclose(input_ids, EXPECTED_IDS)
|
||||
torch.testing.assert_close(input_ids, EXPECTED_IDS)
|
||||
|
||||
generated_ids = model.generate(input_ids.to(torch_device))
|
||||
EXPECTED_FILLING = [
|
||||
|
||||
Reference in New Issue
Block a user