Making save_load test slow as it times out

This commit is contained in:
Sylvain Gugger
2022-09-14 10:01:22 -04:00
parent 0b567aa430
commit e1224a2a0f

View File

@@ -328,6 +328,7 @@ class TFViTMAEModelTest(TFModelTesterMixin, unittest.TestCase):
# overwrite from common since TFViTMAEForPretraining has random masking, we need to fix the noise # overwrite from common since TFViTMAEForPretraining has random masking, we need to fix the noise
# to generate masks during test # to generate masks during test
@slow()
def test_keras_save_load(self): def test_keras_save_load(self):
# make mask reproducible # make mask reproducible
np.random.seed(2) np.random.seed(2)