transformers/tests/pipelines
Yoni Gozlan 5cd6b64059
Process inputs directly in apply_chat_template in image-text-to-text pipeline (#35616)
* tokenize inputs directly in apply_chat_template

* refactor processing

* revert changes processing llava

* Update docs

* fix issue with str being iterable

* add test chat text only

* change function name
2025-04-23 13:31:33 -04:00
..
__init__.py [Test refactor 1/5] Per-folder tests reorganization (#15725) 2022-02-23 15:46:28 -05:00
test_pipelines_audio_classification.py [CI] lazy loading external datasets (#37218) 2025-04-03 09:57:45 +01:00
test_pipelines_automatic_speech_recognition.py Update ruff to 0.11.2 (#36962) 2025-03-25 16:00:11 +01:00
test_pipelines_common.py Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
test_pipelines_depth_estimation.py [CI] lazy loading external datasets (#37218) 2025-04-03 09:57:45 +01:00
test_pipelines_document_question_answering.py Fix typos in tests (#36547) 2025-03-05 15:04:06 -08:00
test_pipelines_feature_extraction.py Fix typos in tests (#36547) 2025-03-05 15:04:06 -08:00
test_pipelines_fill_mask.py Make pipeline able to load processor (#32514) 2024-10-09 16:46:11 +01:00
test_pipelines_image_classification.py [CI] lazy loading external datasets (#37218) 2025-04-03 09:57:45 +01:00
test_pipelines_image_feature_extraction.py Fix typos in tests (#36547) 2025-03-05 15:04:06 -08:00
test_pipelines_image_segmentation.py Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
test_pipelines_image_text_to_text.py Process inputs directly in apply_chat_template in image-text-to-text pipeline (#35616) 2025-04-23 13:31:33 -04:00
test_pipelines_image_to_image.py Allow FP16 or other precision inference for Pipelines (#31342) 2024-07-05 17:21:50 +01:00
test_pipelines_image_to_text.py Make pipeline able to load processor (#32514) 2024-10-09 16:46:11 +01:00
test_pipelines_mask_generation.py Simplify soft dependencies and update the dummy-creation process (#36827) 2025-04-11 11:08:36 +02:00
test_pipelines_object_detection.py [CI] lazy loading external datasets (#37218) 2025-04-03 09:57:45 +01:00
test_pipelines_question_answering.py Simplify soft dependencies and update the dummy-creation process (#36827) 2025-04-11 11:08:36 +02:00
test_pipelines_summarization.py Avoid check expected exception when it is on CUDA (#34408) 2024-10-25 17:14:07 +02:00
test_pipelines_table_question_answering.py Aurevoir PyTorch 1 (#35358) 2024-12-20 14:36:31 +01:00
test_pipelines_text_classification.py Simplify soft dependencies and update the dummy-creation process (#36827) 2025-04-11 11:08:36 +02:00
test_pipelines_text_generation.py Fix typos in tests (#36547) 2025-03-05 15:04:06 -08:00
test_pipelines_text_to_audio.py Fix seamless TTS generate (#34968) 2024-12-11 15:38:42 +01:00
test_pipelines_text2text_generation.py Make pipeline able to load processor (#32514) 2024-10-09 16:46:11 +01:00
test_pipelines_token_classification.py Simplify soft dependencies and update the dummy-creation process (#36827) 2025-04-11 11:08:36 +02:00
test_pipelines_translation.py Make pipeline able to load processor (#32514) 2024-10-09 16:46:11 +01:00
test_pipelines_video_classification.py [CI] lazy loading external datasets (#37218) 2025-04-03 09:57:45 +01:00
test_pipelines_visual_question_answering.py Use Python 3.9 syntax in tests (#37343) 2025-04-08 14:12:08 +02:00
test_pipelines_zero_shot_audio_classification.py Allow FP16 or other precision inference for Pipelines (#31342) 2024-07-05 17:21:50 +01:00
test_pipelines_zero_shot_image_classification.py Image pipelines spec compliance (#33899) 2024-10-08 13:34:28 +01:00
test_pipelines_zero_shot_object_detection.py Add image text to text pipeline (#34170) 2024-10-31 15:48:11 -04:00
test_pipelines_zero_shot.py Simplify soft dependencies and update the dummy-creation process (#36827) 2025-04-11 11:08:36 +02:00