transformers/tests/models/idefics2
Pavel Iakubovskii 3249c5dc15
Refactor attention for SigLIP based models (#36981)
* Update Siglip attention implementation

* Update tests for Siglip

* Remove one level of indentation

* Update test to be more specific

* Fixup

* Idefics2

* Idefics3

* Emu3

* SmolVLM

* Phi4 (just init small update)

* Idefics2 (test fix)

* Update siglip2 tests

* Update eager

* trigger

* Clean up

* Transfer inputs to device in test

* Fixing test

* Fixing test

* Revert contiguous

* Remove unused is_flash_attn_2_available

* Move flaky to specific models
2025-04-01 15:37:25 +02:00
..
__init__.py Add Idefics2 (#30253) 2024-04-15 17:03:03 +01:00
test_image_processing_idefics2.py [tests] fix "Tester object has no attribute '_testMethodName'" (#34910) 2024-12-13 14:33:45 +01:00
test_modeling_idefics2.py Refactor attention for SigLIP based models (#36981) 2025-04-01 15:37:25 +02:00
test_processor_idefics2.py Use non nested images and batched text Idefics2/3 (#34222) 2024-10-24 20:00:13 -04:00