transformers/tests/models/dpt
Pavel Iakubovskii 66291778dd
Refactor Attention implementation for ViT-based models (#36545)
* Refactor vit attention

* Refactor ViT-based models

* 🚨🚨🚨 Fix prefix for DPT

* Update params order

* trigger tests

* Fix Dinov2 attention

* Fix DPT attention impl propagation for backbone config

* Common test fix: config is modif. inplace - avoid it

* view->reshape

* Fixup

* Fixup

* Enable IJepa FA2

* Add FA2 in corresponding model docs
2025-03-20 15:15:01 +00:00
..
__init__.py Move test model folders (#17034) 2022-05-03 14:42:02 +02:00
test_image_processing_dpt.py [tests] further fix Tester object has no attribute '_testMethodName' (#35781) 2025-01-29 16:05:33 +01:00
test_modeling_dpt_auto_backbone.py Fix typos in tests (#36547) 2025-03-05 15:04:06 -08:00
test_modeling_dpt_hybrid.py Fix typos in tests (#36547) 2025-03-05 15:04:06 -08:00
test_modeling_dpt.py Refactor Attention implementation for ViT-based models (#36545) 2025-03-20 15:15:01 +00:00