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

@@ -124,7 +124,6 @@ class VanModelTest(ModelTesterMixin, unittest.TestCase):
all_model_classes = (VanModel, VanForImageClassification) if is_torch_available() else ()
test_pruning = False
test_torchscript = False
test_resize_embeddings = False
test_head_masking = False
has_attentions = False