diff --git a/.circleci/create_circleci_config.py b/.circleci/create_circleci_config.py index 3f2c6df394e8eb..d6d1041ea656ad 100644 --- a/.circleci/create_circleci_config.py +++ b/.circleci/create_circleci_config.py @@ -155,7 +155,7 @@ def to_dict(self): elif self.name in ["flax","torch","tf"]: name = self.name if self.name != "torch" else "" if self.name == "torch": - all_tests = glob.glob(f"tests/models/**/test_modeling_{name}*.py", recursive=True) + all_tests = glob.glob(f"tests/models/**/test_modeling_{name}*.py", recursive=True) filtered = [k for k in all_tests if ("_tf_") not in k and "_flax_" not in k] expanded_tests.extend(filtered) else: @@ -163,7 +163,7 @@ def to_dict(self): else: expanded_tests.extend(glob.glob("tests/models/**/test_modeling*.py", recursive=True)) elif test == "tests/pipelines": - expanded_tests.extend(glob.glob("tests/models/**/test_modeling*.py", recursive=True)) + expanded_tests.extend(glob.glob("tests/models/**/test_modeling*.py", recursive=True)) else: expanded_tests.append(test) tests = " ".join(expanded_tests) @@ -326,7 +326,7 @@ def job_name(self): "examples_tensorflow", cache_name="tensorflow_examples", docker_image=[{"image":"huggingface/transformers-examples-tf"}], - install_steps=["uv venv && uv pip install ."], + install_steps=["uv venv && uv pip install . && uv pip install -r examples/tensorflow/_tests_requirements.txt"], parallelism=8 )