transformers/tests/utils
Yoni Gozlan d7188ba600
Add support for nested images to LLava and VipLLava (#35558)
* move make_flat_list_of_images and make_batched_videos to image_utils

* remove unnecessary is_vision_available

* move make_nested_list_of_images to image_utils

* fix fast pixtral image processor

* fix import mllama

* fix make_nested_list_of_images

* add tests

* convert 4d arrays/tensors to list

* add test_make_batched_videos

* add support nested batch of videos

* fix image processing qwen2vl
2025-01-30 16:49:20 -05:00
..
import_structures Import structure & first three model refactors (#31329) 2024-09-10 11:10:53 +02:00
__init__.py
test_activations.py use torch.testing.assertclose instead to get more details about error in cis (#35659) 2025-01-24 16:55:28 +01:00
test_activations_tf.py
test_add_new_model_like.py fix: Fixed failing tests in tests/utils/test_add_new_model_like.py (#32678) 2024-08-14 12:06:17 +01:00
test_audio_utils.py Remove trust_remote_code when loading Libri Dummy (#31748) 2024-07-23 14:54:38 +08:00
test_backbone_utils.py
test_cache_utils.py Test: generate with torch.compile(model.forward) as a fast test (#34544) 2025-01-28 14:10:38 +00:00
test_chat_template_utils.py Tool calling: support more types (#35776) 2025-01-20 19:15:34 +01:00
test_cli.py Forbid PretrainedConfig from saving generate parameters; Update deprecations in generate-related code 🧹 (#32659) 2024-08-23 11:12:53 +01:00
test_configuration_utils.py Fix flaky Hub CI (test_trainer.py) (#35062) 2024-12-05 17:02:27 +01:00
test_convert_slow_tokenizer.py
test_deprecation.py [Backend support] Allow num_logits_to_keep as Tensor + add flag (#35757) 2025-01-23 09:47:54 +01:00
test_doc_samples.py Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
test_dynamic_module_utils.py
test_feature_extraction_utils.py Fix flaky Hub CI (test_trainer.py) (#35062) 2024-12-05 17:02:27 +01:00
test_file_utils.py
test_generic.py
test_hf_argparser.py HfArgumentParser: allow for hyhenated field names in long-options (#33990) 2024-10-10 11:58:26 +02:00
test_hub_utils.py
test_image_processing_utils.py Fix flaky Hub CI (test_trainer.py) (#35062) 2024-12-05 17:02:27 +01:00
test_image_utils.py Add support for nested images to LLava and VipLLava (#35558) 2025-01-30 16:49:20 -05:00
test_import_structure.py Fix some missing tests in circleci (#33559) 2024-09-20 20:58:51 +02:00
test_logging.py
test_model_card.py Automatically add transformers tag to the modelcard (#32623) 2024-08-13 07:59:01 +02:00
test_model_output.py Skip tests properly (#31308) 2024-06-26 21:59:08 +01:00
test_modeling_flax_utils.py Fix flaky Hub CI (test_trainer.py) (#35062) 2024-12-05 17:02:27 +01:00
test_modeling_rope_utils.py More model refactoring! (#35359) 2025-01-09 11:09:09 +01:00
test_modeling_tf_core.py
test_modeling_tf_utils.py Fix flaky Hub CI (test_trainer.py) (#35062) 2024-12-05 17:02:27 +01:00
test_modeling_utils.py Fix: loading DBRX back from saved path (#35728) 2025-01-28 11:38:45 +01:00
test_offline.py
test_processing_utils.py Uniformize kwargs for Pixtral processor (#33521) 2024-09-17 14:44:27 -04:00
test_skip_decorators.py
test_tokenization_utils.py Fix flaky Hub CI (test_trainer.py) (#35062) 2024-12-05 17:02:27 +01:00
test_versions_utils.py
tiny_model_summary.json Add image text to text pipeline (#34170) 2024-10-31 15:48:11 -04:00