transformers/tests/models/idefics
Yaswanth Gali 7aee036e54
Iterative generation using Input embeds and past_key_values (#35890)
* Iterative generation using input embeds

* ruff fix

* Added Testcase

* Updated comment

* ♻️ Refactored testcase

* Skip test for these models

* Continue generation using input embeds and cache

* Skip generate_continue_from_embeds test

* Refactor `prepare_input_for_generation` func

* Continue generation using input embeds and cache

* Modular changes fix

* Overwrite 'prepare_inputs_for_generation' function
2025-02-06 11:06:05 +01:00
..
__init__.py
test_image_processing_idefics.py [tests] fix "Tester object has no attribute '_testMethodName'" (#34910) 2024-12-13 14:33:45 +01:00
test_modeling_idefics.py Iterative generation using Input embeds and past_key_values (#35890) 2025-02-06 11:06:05 +01:00
test_modeling_tf_idefics.py
test_processor_idefics.py Uniformize kwargs for Idefics/2 processors (#32568) 2024-10-03 18:08:24 +02:00