Skip to content

Commit

Permalink
Add installation of examples requirements in CI (huggingface#30708)
Browse files Browse the repository at this point in the history
* Add installation of examples requirements in CI

* Update .circleci/create_circleci_config.py

Co-authored-by: Arthur <[email protected]>

---------

Co-authored-by: Arthur <[email protected]>
  • Loading branch information
2 people authored and zucchini-nlp committed May 10, 2024
1 parent 33d7c27 commit a68bcc5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/create_circleci_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,8 @@ def job_name(self):
additional_env={"OMP_NUM_THREADS": 8},
cache_name="torch_examples",
docker_image=[{"image":"huggingface/transformers-examples-torch"}],
install_steps=["uv venv && uv pip install ."],
# TODO @ArthurZucker remove this once docker is easier to build
install_steps=["uv venv && uv pip install . && uv pip install -r examples/pytorch/_tests_requirements.txt"],
pytest_num_workers=1,
)

Expand Down

0 comments on commit a68bcc5

Please sign in to comment.