transformers/tests/models/auto
Yoni Gozlan 5615a39369
Fall back to slow image processor in ImageProcessingAuto when no fast processor available (#34785)
* refactor image_processing_auto logic

* fix fast image processor tests

* Fix tests fast vit image processor

* Add safeguard when use_fast True and torchvision not available

* change default use_fast back to None, add warnings

* remove debugging print

* call get_image_processor_class_from_name once
2024-12-15 14:00:36 -05:00
..
__init__.py Move test model folders (#17034) 2022-05-03 14:42:02 +02:00
test_configuration_auto.py support loading model without config.json file (#32356) 2024-09-06 13:49:47 +02:00
test_feature_extraction_auto.py Load dynamic module (remote code) only once if code isn't change (#33162) 2024-09-06 12:49:35 +01:00
test_image_processing_auto.py Fall back to slow image processor in ImageProcessingAuto when no fast processor available (#34785) 2024-12-15 14:00:36 -05:00
test_modeling_auto.py Fix test_auto_backbone_timm_model_from_pretrained (#34877) 2024-11-25 17:20:41 +01:00
test_modeling_flax_auto.py Update all references to canonical models (#29001) 2024-02-16 08:16:58 +01:00
test_modeling_tf_auto.py Fix auto tests (#30067) 2024-04-05 17:49:46 +02:00
test_modeling_tf_pytorch.py Fix auto tests (#30067) 2024-04-05 17:49:46 +02:00
test_processor_auto.py Fix flaky Hub CI (test_trainer.py) (#35062) 2024-12-05 17:02:27 +01:00
test_tokenization_auto.py Load dynamic module (remote code) only once if code isn't change (#33162) 2024-09-06 12:49:35 +01:00