transformers/utils
Yih-Dar 9088fcae82
Bring back the PR `Refactor doctests + add CI` to `main` (#23271)
* Revert "Revert "[Doctests] Refactor doctests + add CI" (#23245)"

This reverts commit 69ee46243c.

* try not expose HfDocTestParser

* move into testing_utils.py

* remove pytest install

---------

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
2023-05-10 22:00:48 +02:00
..
test_module AutoImageProcessor (#20111) 2022-11-08 19:54:41 +00:00
tf_ops Check TF ops for ONNX compliance (#10025) 2021-02-15 07:55:10 -05:00
add_pipeline_model_mapping_to_test.py A script to add/update `pipeline_model_mapping` systematically (#22180) 2023-04-06 18:08:14 +02:00
check_config_attributes.py [Time-Series] informer model (#21099) 2023-03-07 21:36:38 +01:00
check_config_docstrings.py Avoid invalid escape sequences, use raw strings (#22936) 2023-04-25 09:17:56 -04:00
check_copies.py Add Segment Anything Model (SAM) (#22654) 2023-04-19 21:01:49 +02:00
check_doc_toc.py Apply ruff flake8-comprehensions (#21694) 2023-02-22 09:14:54 +01:00
check_doctest_list.py Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
check_dummies.py Cleanup quality (#21493) 2023-02-07 12:27:31 -05:00
check_inits.py Avoid invalid escape sequences, use raw strings (#22936) 2023-04-25 09:17:56 -04:00
check_model_tester.py Add a new script to check model testers' config (#22063) 2023-03-13 19:11:19 +01:00
check_repo.py Add focalnet backbone (#23104) 2023-05-03 19:32:42 +03:00
check_self_hosted_runner.py Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
check_table.py refactor: Make direct_transformers_import util (#21652) 2023-02-16 11:32:32 -05:00
check_task_guides.py Depth estimation task guide (#22205) 2023-03-17 08:36:23 -04:00
check_tf_ops.py Check TF ops for ONNX compliance (#10025) 2021-02-15 07:55:10 -05:00
create_dummy_models.py Update tiny model summary file for recent models (#22637) 2023-04-06 22:52:59 +02:00
custom_init_isort.py Update quality tooling for formatting (#21480) 2023-02-06 18:10:56 -05:00
documentation_tests.txt [Pix2struct] Simplify generation (#22527) 2023-04-13 09:01:14 -04:00
download_glue_data.py Raise exceptions instead of asserts (#13907) 2021-10-07 12:44:23 +05:30
extract_warnings.py Make Slack CI reporting stronger (#21823) 2023-02-28 17:12:44 +01:00
get_ci_error_statistics.py Show diff between 2 CI runs on Slack reports (#22798) 2023-04-19 19:27:37 +02:00
get_github_job_time.py Make Slack CI reporting stronger (#21823) 2023-02-28 17:12:44 +01:00
get_modified_files.py exclude deleted files in the fixup script (#21436) 2023-02-03 12:57:02 -05:00
get_previous_daily_ci.py Fix a minor bug in CI slack report (#22906) 2023-04-21 20:36:35 +02:00
get_test_info.py Add an utility file to get information from test files (#21856) 2023-03-01 17:53:29 +01:00
notification_service.py Fix `DeepSpeed` CI job link in Past CI (#22967) 2023-04-25 09:52:19 +02:00
notification_service_doc_tests.py Avoid invalid escape sequences, use raw strings (#22936) 2023-04-25 09:17:56 -04:00
past_ci_versions.py (Re-)Enable Nightly + Past CI (#22393) 2023-03-30 21:06:35 +02:00
print_env.py Print more library versions in CI (#17384) 2022-06-02 10:24:16 +02:00
release.py Clean README in post release job as well. (#17519) 2022-06-02 07:44:03 -04:00
sort_auto_mappings.py Avoid invalid escape sequences, use raw strings (#22936) 2023-04-25 09:17:56 -04:00
tests_fetcher.py Mark auto models as important (#22815) 2023-04-17 15:33:01 -04:00
update_metadata.py Add `automatic-mask-generation` pipeline for Segment Anything Model (SAM) (#22840) 2023-04-20 19:27:24 +02:00
update_tiny_models.py Update tiny model summary file for recent models (#22637) 2023-04-06 22:52:59 +02:00