Skip to content

Commit

Permalink
low hanging fruit there
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurZucker committed Apr 3, 2024
1 parent df0b67a commit b2cb734
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .circleci/create_circleci_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,12 +377,12 @@ def job_name(self):
hub_job = CircleCIJob(
"hub",
additional_env={"HUGGINGFACE_CO_STAGING": True},
docker_image=[{"image":"huggingface/transformers-consistency"}], # TODO do we really need torch for that job? torch-light?
install_steps=["uv venv", "uv pip install -e ."],
install_steps=[
"sudo apt-get -y update && sudo apt-get install git-lfs",
'git config --global user.email "[email protected]"',
'git config --global user.name "ci"',
"pip install --upgrade --upgrade-strategy eager pip",
"pip install -U --upgrade-strategy eager .[torch,sentencepiece,testing,vision]",
],
marker="is_staging_test",
pytest_num_workers=1,
Expand Down Expand Up @@ -419,10 +419,8 @@ def job_name(self):

repo_utils_job = CircleCIJob(
"repo_utils",
install_steps=[
"pip install --upgrade --upgrade-strategy eager pip",
"pip install -U --upgrade-strategy eager .[quality,testing,torch]",
],
docker_image=[{"image":"huggingface/transformers-consistency"}], # TODO do we really need torch for that job? torch-light?
install_steps=["uv venv", "uv pip install -e ."],
parallelism=None,
pytest_num_workers=1,
resource_class="large",
Expand Down

0 comments on commit b2cb734

Please sign in to comment.