transformers/tests/models/llava_next
Raushan Turganbay 0c78ef6cd3
🔴 VLM: compile compatibility (#35724)
* llavas

* add mroe models

* fix `compile_forward` test for all models

* fix copies

* make style

* also doesn't support cache class

* fix some tests

* not copied from

* ci green?

* fix tests

* fix copies

* fix tests

* check with `numel` and remove `item`

* fix copies

* fix copies

* Update src/transformers/models/cohere2/modeling_cohere2.py

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>

* opt remove cross attn

* gemma2

* fixup

* fixup

* fix newly added test

* maybe fixed?

* green please?

---------

Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
2025-02-14 15:23:49 +01:00
..
__init__.py Add LLaVa-1.6, bis (#29586) 2024-03-20 15:51:12 +00:00
test_image_processing_llava_next.py Refactoring of ImageProcessorFast (#35069) 2025-02-04 17:52:31 -05:00
test_modeling_llava_next.py 🔴 VLM: compile compatibility (#35724) 2025-02-14 15:23:49 +01:00
test_processor_llava_next.py Chat template: update for processor (#35953) 2025-02-10 09:52:19 +01:00