Skip to content

Commit 33e20a5

Browse files
committed
measure
1 parent 27c1013 commit 33e20a5

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
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: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1092,18 +1092,17 @@ 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
1103-
# "pipelines_torch": r"tests/models/.*/test_modeling_.*",
1104-
# "tests_hub": r"tests/.*",
1105-
# "tests_non_model": r"tests/[^/]*?/test_.*\.py",
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
11061103
"pipelines_torch": r"tests/models/.*/test_modeling_.*",
1104+
"tests_hub": r"tests/.*",
1105+
"tests_non_model": r"tests/[^/]*?/test_.*\.py",
11071106
}
11081107

11091108

0 commit comments

Comments
 (0)