transformers/tests
amyeroberts 12d51db243
Backbone add mixin tests (#22542)
* Add out_indices to backbones, deprecate out_features

* Update - can specify both out_features and out_indices but not both

* Add backbone mixin tests

* Test tidy up

* Add test_backbone for convnext

* Remove redefinition of method

* Update for Dinat and Nat backbones

* Update tests

* Smarter indexing

* Add checks on config creation for backbone

* PR comments
2023-04-06 13:50:15 +01:00
..
benchmark [Test refactor 1/5] Per-folder tests reorganization (#15725) 2022-02-23 15:46:28 -05:00
deepspeed [deepspeed] offload + non-cpuadam optimizer exception (#22043) 2023-03-09 08:12:57 -08:00
extended Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
fixtures [WIP] add SpeechT5 model (#18922) 2023-02-03 12:43:46 -05:00
generation Generate: TextIteratorStreamer timeout (#22576) 2023-04-05 09:57:46 +01:00
mixed_int8 [bnb] fix bnb failing test (#22439) 2023-03-29 15:13:00 +02:00
models Backbone add mixin tests (#22542) 2023-04-06 13:50:15 +01:00
onnx Time to Say Goodbye, torch 1.7 and 1.8 (#22291) 2023-03-21 19:22:01 +01:00
optimization Make schedulers picklable by making lr_lambda fns global (#21768) 2023-03-02 12:08:43 -05:00
pipelines Soft error whisper. (#22475) 2023-04-04 16:21:57 +02:00
repo_utils Test fetch v2 (#22367) 2023-03-31 16:18:43 -04:00
sagemaker Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
tokenization Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
trainer Implemented safetensors checkpoints save/load for Trainer (#22498) 2023-04-04 09:05:04 -04:00
utils Revert error back into warning for byte fallback conversion. (#22607) 2023-04-06 14:00:29 +02:00
__init__.py
test_backbone_common.py Backbone add mixin tests (#22542) 2023-04-06 13:50:15 +01:00
test_configuration_common.py Remove set_access_token usage + fail tests if FutureWarning (#22051) 2023-03-09 09:23:48 -05:00
test_feature_extraction_common.py Remove set_access_token usage + fail tests if FutureWarning (#22051) 2023-03-09 09:23:48 -05:00
test_image_processing_common.py Remove set_access_token usage + fail tests if FutureWarning (#22051) 2023-03-09 09:23:48 -05:00
test_image_transforms.py Rescale image back if it was scaled during PIL conversion (#22458) 2023-03-30 11:29:11 +01:00
test_modeling_common.py Fix inverted conditional in TF common test! (#22540) 2023-04-04 21:59:54 +01:00
test_modeling_flax_common.py Remove set_access_token usage + fail tests if FutureWarning (#22051) 2023-03-09 09:23:48 -05:00
test_modeling_tf_common.py Fix inverted conditional in TF common test! (#22540) 2023-04-04 21:59:54 +01:00
test_pipeline_mixin.py Automatically create/update tiny models (#22275) 2023-03-23 19:14:17 +01:00
test_sequence_feature_extraction_common.py Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
test_tokenization_common.py Fix llama tokenizer (#22402) 2023-04-03 09:07:32 -04:00