transformers/tests/models/bit
Yann Chéné 4774a39d05
Add ImageProcessorFast to BiT processor (#37180)
* Add ImageProcessorFast to BiT processor

* propose a fast processor and add tests

* all tests pass except one

* run make

* remove useless print

* use same test as clip

* apply make

* Update src/transformers/models/bit/image_processing_bit_fast.py

Co-authored-by: Yoni Gozlan <74535834+yonigozlan@users.noreply.github.com>

* Update setup.py

Co-authored-by: Yoni Gozlan <74535834+yonigozlan@users.noreply.github.com>

* Update src/transformers/models/bit/image_processing_bit_fast.py

Co-authored-by: Yoni Gozlan <74535834+yonigozlan@users.noreply.github.com>

* apply review comment

---------

Co-authored-by: Yoni Gozlan <74535834+yonigozlan@users.noreply.github.com>
2025-04-14 17:07:48 +02:00
..
__init__.py Add BiT + ViT hybrid (#20550) 2022-12-07 11:03:39 +01:00
test_image_processing_bit.py Add ImageProcessorFast to BiT processor (#37180) 2025-04-14 17:07:48 +02:00
test_modeling_bit.py Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00