Enable more test_torchscript (#16679)

* update _create_and_check_torchscript

* Enable test_torchscript

* clear_class_registry

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar
2022-04-11 18:23:35 +02:00
committed by GitHub
parent 3918d6a9d6
commit c04619ecf3
32 changed files with 9 additions and 39 deletions

View File

@@ -150,7 +150,6 @@ class GLPNModelTest(ModelTesterMixin, unittest.TestCase):
test_head_masking = False
test_pruning = False
test_resize_embeddings = False
test_torchscript = False
def setUp(self):
self.model_tester = GLPNModelTester(self)