transformers/utils/test_module
Raushan Turganbay a31fa218ad
🔴 Video processors as a separate class (#35206)
* initial design

* update all video processors

* add tests

* need to add qwen2-vl (not tested yet)

* add qwen2-vl in auto map

* fix copies

* isort

* resolve confilicts kinda

* nit:

* qwen2-vl is happy now

* qwen2-5 happy

* other models are happy

* fix copies

* fix tests

* add docs

* CI green now?

* add more tests

* even more changes + tests

* doc builder fail

* nit

* Update src/transformers/models/auto/processing_auto.py

Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com>

* small update

* imports correctly

* dump, otherwise this is getting unmanagebale T-T

* dump

* update

* another update

* update

* tests

* move

* modular

* docs

* test

* another update

* init

* remove flakiness in tests

* fixup

* clean up and remove commented lines

* docs

* skip this one!

* last fix after rebasing

* run fixup

* delete slow files

* remove unnecessary tests + clean up a bit

* small fixes

* fix tests

* more updates

* docs

* fix tests

* update

* style

* fix qwen2-5-vl

* fixup

* fixup

* unflatten batch when preparing

* dump, come back soon

* add docs and fix some tests

* how to guard this with new dummies?

* chat templates in qwen

* address some comments

* remove `Fast` suffix

* fixup

* oops should be imported from transforms

* typo in requires dummies

* new model added with video support

* fixup once more

* last fixup I hope

* revert image processor name + comments

* oh, this is why fetch test is failing

* fix tests

* fix more tests

* fixup

* add new models: internvl, smolvlm

* update docs

* imprt once

* fix failing tests

* do we need to guard it here again, why?

* new model was added, update it

* remove testcase from tester

* fix tests

* make style

* not related CI fail, lets' just fix here

* mark flaky for now, filas 15 out of 100

* style

* maybe we can do this way?

* don't download images in setup class

---------

Co-authored-by: Pavel Iakubovskii <qubvel@gmail.com>
2025-05-12 11:55:51 +02:00
..
__init__.py Save code of registered custom models (#15379) 2022-02-02 10:44:37 -05:00
custom_configuration.py Make sure custom configs work with Transformers (#15569) 2022-02-09 10:04:44 -05:00
custom_feature_extraction.py Custom feature extractor (#15630) 2022-02-11 16:43:54 -05:00
custom_image_processing.py AutoImageProcessor (#20111) 2022-11-08 19:54:41 +00:00
custom_modeling.py Fix from_pretrained with default base_model_prefix (#15814) 2022-02-24 11:43:51 +01:00
custom_pipeline.py Custom pipeline (#18079) 2022-07-19 12:02:35 +02:00
custom_processing.py Allow custom code for Processors (#15649) 2022-02-15 09:44:35 -05:00
custom_tokenization_fast.py Save code of registered custom models (#15379) 2022-02-02 10:44:37 -05:00
custom_tokenization.py Save code of registered custom models (#15379) 2022-02-02 10:44:37 -05:00
custom_video_processing.py 🔴 Video processors as a separate class (#35206) 2025-05-12 11:55:51 +02:00