Fix test_model_parallelism (#25359)

* fix

* fix

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar
2023-08-08 10:48:45 +02:00
committed by GitHub
parent d4bd33cc9f
commit 6ea3ee3cd2
25 changed files with 37 additions and 15 deletions

View File

@@ -353,6 +353,7 @@ class CLIPTextModelTest(ModelTesterMixin, unittest.TestCase):
fx_compatible = True
test_pruning = False
test_head_masking = False
model_split_percents = [0.5, 0.8, 0.9]
def setUp(self):
self.model_tester = CLIPTextModelTester(self)