mirror of
https://github.com/huggingface/transformers.git
synced 2025-07-04 05:10:06 +06:00
Add installation of examples requirements in CI (#30708)
* Add installation of examples requirements in CI * Update .circleci/create_circleci_config.py Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com> --------- Co-authored-by: Arthur <48595927+ArthurZucker@users.noreply.github.com>
This commit is contained in:
parent
467164ea0a
commit
e7a5f45ed1
@ -310,7 +310,8 @@ examples_torch_job = CircleCIJob(
|
|||||||
additional_env={"OMP_NUM_THREADS": 8},
|
additional_env={"OMP_NUM_THREADS": 8},
|
||||||
cache_name="torch_examples",
|
cache_name="torch_examples",
|
||||||
docker_image=[{"image":"huggingface/transformers-examples-torch"}],
|
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,
|
pytest_num_workers=1,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user