Make test_save_pretrained_signatures slow test (#21105)
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
@@ -2266,6 +2266,7 @@ class UtilsFunctionsTest(unittest.TestCase):
|
|||||||
for p1, p2 in zip(model.weights, new_model.weights):
|
for p1, p2 in zip(model.weights, new_model.weights):
|
||||||
self.assertTrue(np.allclose(p1.numpy(), p2.numpy()))
|
self.assertTrue(np.allclose(p1.numpy(), p2.numpy()))
|
||||||
|
|
||||||
|
@slow
|
||||||
def test_save_pretrained_signatures(self):
|
def test_save_pretrained_signatures(self):
|
||||||
model = TFBertModel.from_pretrained("hf-internal-testing/tiny-random-bert")
|
model = TFBertModel.from_pretrained("hf-internal-testing/tiny-random-bert")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user