transformers/tests
Zach Mueller 41925e4213
Add retry hf hub decorator (#35213)
* Add retry torch decorator

* New approach

* Empty commit

* Empty commit

* Style

* Use logger.error

* Add a test

* Update src/transformers/testing_utils.py

Co-authored-by: Lucain <lucainp@gmail.com>

* Fix err

* Update tests/utils/test_modeling_utils.py

---------

Co-authored-by: Lucain <lucainp@gmail.com>
Co-authored-by: Yih-Dar <2521628+ydshieh@users.noreply.github.com>
2025-02-25 20:53:11 +01:00
..
agents use torch.testing.assertclose instead to get more details about error in cis (#35659) 2025-01-24 16:55:28 +01:00
bettertransformer use torch.testing.assertclose instead to get more details about error in cis (#35659) 2025-01-24 16:55:28 +01:00
deepspeed DeepSpeed github repo move sync (#36021) 2025-02-05 08:19:31 -08:00
extended [tests] skip tests for xpu (#33553) 2024-09-19 19:28:04 +01:00
fixtures
fsdp [tests] make cuda-only tests device-agnostic (#35607) 2025-01-13 14:48:39 +01:00
generation [CI] Check test if the GenerationTesterMixin inheritance is correct 🐛 🔫 (#36180) 2025-02-21 10:18:20 +00:00
models Fixed VitDet for non-squre Images (#35969) 2025-02-25 19:31:24 +00:00
optimization Support constant lr with cooldown (#35453) 2025-02-10 13:21:55 +01:00
peft_integration [tests] enable bnb tests on xpu (#36233) 2025-02-24 11:30:15 +01:00
pipelines fix audio classification pipeline fp16 test on cuda (#36359) 2025-02-25 15:01:25 +01:00
quantization [tests] enable autoawq tests on XPU (#36327) 2025-02-25 13:38:09 +01:00
repo_utils [Modular] skip modular checks based on diff (#36130) 2025-02-13 12:53:21 +00:00
sagemaker Trainer - deprecate tokenizer for processing_class (#32385) 2024-10-02 14:08:46 +01:00
tokenization Fix PretrainedTokenizerFast check => Fix PretrainedTokenizerFast Save (#35835) 2025-02-13 12:00:33 +01:00
tp TP initialization module-by-module (#35996) 2025-02-19 14:04:57 +01:00
trainer fix: prevent second save in the end of training if last step was saved already (#36219) 2025-02-20 17:38:52 +01:00
utils Add retry hf hub decorator (#35213) 2025-02-25 20:53:11 +01:00
__init__.py
test_backbone_common.py
test_configuration_common.py Load sub-configs from composite configs (#34410) 2024-11-05 11:34:01 +01:00
test_feature_extraction_common.py
test_image_processing_common.py Au revoir flaky test_fast_is_faster_than_slow (#36240) 2025-02-17 18:30:07 +01:00
test_image_transforms.py Uses Collection in transformers.image_transforms.normalize (#36301) 2025-02-21 18:38:41 +01:00
test_modeling_common.py Add retry hf hub decorator (#35213) 2025-02-25 20:53:11 +01:00
test_modeling_flax_common.py [tests] remove flax-pt equivalence and cross tests (#36283) 2025-02-19 15:13:27 +00:00
test_modeling_tf_common.py [tests] remove flax-pt equivalence and cross tests (#36283) 2025-02-19 15:13:27 +00:00
test_pipeline_mixin.py Add image text to text pipeline (#34170) 2024-10-31 15:48:11 -04:00
test_processing_common.py Uniformize LlavaNextVideoProcessor kwargs (#35613) 2025-02-18 14:13:51 -05:00
test_sequence_feature_extraction_common.py
test_tokenization_common.py [tests] remove pt_tf equivalence tests (#36253) 2025-02-19 11:55:11 +00:00
test_training_args.py CI: fix test-save-trainer (#36191) 2025-02-14 10:20:56 +01:00