ViT and Swin symbolic tracing with torch.fx (#17182)
* Support tracing for ViT * Swin support * Fix copies * Fix type annotation issue * Removed unused import
This commit is contained in:
@@ -175,6 +175,7 @@ class SwinModelTest(ModelTesterMixin, unittest.TestCase):
|
||||
if is_torch_available()
|
||||
else ()
|
||||
)
|
||||
fx_compatible = True
|
||||
|
||||
test_pruning = False
|
||||
test_resize_embeddings = False
|
||||
|
||||
Reference in New Issue
Block a user