transformers/tests/models/auto
Xuehai Pan e1c2b69c34
Load dynamic module (remote code) only once if code isn't change (#33162)
* Load remote code only once

* Use hash as load indicator

* Add a new option `force_reload` for old behavior (i.e. always reload)

* Add test for dynamic module is cached

* Add more type annotations to improve code readability

* Address comments from code review
2024-09-06 12:49:35 +01:00
..
__init__.py Move test model folders (#17034) 2022-05-03 14:42:02 +02:00
test_configuration_auto.py Load dynamic module (remote code) only once if code isn't change (#33162) 2024-09-06 12:49:35 +01: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 Load dynamic module (remote code) only once if code isn't change (#33162) 2024-09-06 12:49:35 +01:00
test_modeling_auto.py Load dynamic module (remote code) only once if code isn't change (#33162) 2024-09-06 12:49:35 +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 Follow up for #31973 (#32025) 2024-07-25 16:12:23 +02: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