Fix tracing dinov2 (#27561)

* Enable tracing with DINOv2 model

* ABC

* Add note to model doc
This commit is contained in:
amyeroberts
2023-11-21 14:28:38 +00:00
committed by GitHub
parent 82cc0a79ac
commit 0145c6825e
4 changed files with 34 additions and 2 deletions

View File

@@ -221,7 +221,7 @@ class Dinov2ModelTest(ModelTesterMixin, PipelineTesterMixin, unittest.TestCase):
if is_torch_available()
else {}
)
fx_compatible = False
fx_compatible = True
test_pruning = False
test_resize_embeddings = False