transformers/tests/models/internvl
Rémi Ouazan 25c44d4b68
Internvl fix (#38946)
* Image processor compile fix (#38540)

* Added a compile-friendly versiom of resize to BaseImgProcessorFast

* Changed qwen2 processor to use its parent class .resize

* Style

* underlined issue only happens on AMD w/ comment and bool check

* Fixed some utils functions

* Fixed the same issue for bridgetower

* Fixed the same issue for llava_next

* Repo consistency for llava onevision

* Update src/transformers/image_processing_utils_fast.py

Co-authored-by: Mohit Sharma <mohit21sharma.ms@gmail.com>

---------

Co-authored-by: Mohit Sharma <mohit21sharma.ms@gmail.com>

* Added an Expectation to an internvl test

* Made qwen2_vl use the resize method of its parent clas

* Changed to torch.where

---------

Co-authored-by: Mohit Sharma <mohit21sharma.ms@gmail.com>
2025-06-26 13:44:59 +02:00
..
__init__.py Add InternVL (2.5 MPO) (#35968) 2025-04-18 18:57:33 +02:00
test_modeling_internvl.py Internvl fix (#38946) 2025-06-26 13:44:59 +02:00
test_processor_internvl.py [video processors] support frame sampling within processors (#38105) 2025-06-12 09:34:30 +00:00
test_video_processor_internvl.py Remove dead protected imports (#38980) 2025-06-23 13:44:50 +02:00