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:
@@ -155,6 +155,7 @@ class ViTModelTest(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