Make test_save_pretrained_signatures slow test (#21105)

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar 2023-01-18 10:43:05 +01:00 committed by GitHub
parent 14154f7238
commit c8849583ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2266,6 +2266,7 @@ class UtilsFunctionsTest(unittest.TestCase):
for p1, p2 in zip(model.weights, new_model.weights):
self.assertTrue(np.allclose(p1.numpy(), p2.numpy()))
@slow
def test_save_pretrained_signatures(self):
model = TFBertModel.from_pretrained("hf-internal-testing/tiny-random-bert")