Skip to content

Commit 27c1013

Browse files
committed
measure
1 parent effa8a8 commit 27c1013

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

.circleci/create_circleci_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def job_name(self):
351351
REPO_UTIL_TESTS = [repo_utils_job]
352352
DOC_TESTS = [doc_test_job]
353353
ALL_TESTS = REGULAR_TESTS + EXAMPLES_TESTS + PIPELINE_TESTS + REPO_UTIL_TESTS + DOC_TESTS + [custom_tokenizers_job] + [exotic_models_job] # fmt: skip
354-
# ALL_TESTS = [pipelines_torch_job]
354+
ALL_TESTS = [pipelines_torch_job]
355355

356356

357357
def create_circleci_config(folder=None):

utils/tests_fetcher.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,17 +1092,18 @@ def parse_commit_message(commit_message: str) -> dict[str, bool]:
10921092

10931093

10941094
JOB_TO_TEST_FILE = {
1095-
"tests_torch": r"tests/models/.*/test_modeling_.*",
1096-
"tests_generate": r"tests/models/.*/test_modeling_.*",
1097-
"tests_tokenization": r"tests/(?:models/.*/test_tokenization.*|test_tokenization_mistral_common\.py)",
1098-
"tests_processors": r"tests/models/.*/test_(?!(?:modeling_|tokenization_)).*", # takes feature extractors, image processors, processors
1099-
"examples_torch": r"examples/pytorch/.*test_.*",
1100-
"tests_exotic_models": r"tests/models/.*(?=layoutlmv|nat|deta|udop|nougat).*",
1101-
"tests_custom_tokenizers": r"tests/models/.*/test_tokenization_(?=bert_japanese|openai|clip).*",
1102-
# "repo_utils": r"tests/[^models].*test.*", TODO later on we might want to do
1095+
# "tests_torch": r"tests/models/.*/test_modeling_.*",
1096+
# "tests_generate": r"tests/models/.*/test_modeling_.*",
1097+
# "tests_tokenization": r"tests/(?:models/.*/test_tokenization.*|test_tokenization_mistral_common\.py)",
1098+
# "tests_processors": r"tests/models/.*/test_(?!(?:modeling_|tokenization_)).*", # takes feature extractors, image processors, processors
1099+
# "examples_torch": r"examples/pytorch/.*test_.*",
1100+
# "tests_exotic_models": r"tests/models/.*(?=layoutlmv|nat|deta|udop|nougat).*",
1101+
# "tests_custom_tokenizers": r"tests/models/.*/test_tokenization_(?=bert_japanese|openai|clip).*",
1102+
# # "repo_utils": r"tests/[^models].*test.*", TODO later on we might want to do
1103+
# "pipelines_torch": r"tests/models/.*/test_modeling_.*",
1104+
# "tests_hub": r"tests/.*",
1105+
# "tests_non_model": r"tests/[^/]*?/test_.*\.py",
11031106
"pipelines_torch": r"tests/models/.*/test_modeling_.*",
1104-
"tests_hub": r"tests/.*",
1105-
"tests_non_model": r"tests/[^/]*?/test_.*\.py",
11061107
}
11071108

11081109

0 commit comments

Comments
 (0)