"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "b88090914d77f39311f59055546c74f7f17fad9b"
Unverified Commit e7a5f45e authored by Pavel Iakubovskii's avatar Pavel Iakubovskii Committed by GitHub
Browse files

Add installation of examples requirements in CI (#30708)



* Add installation of examples requirements in CI

* Update .circleci/create_circleci_config.py
Co-authored-by: default avatarArthur <48595927+ArthurZucker@users.noreply.github.com>

---------
Co-authored-by: default avatarArthur <48595927+ArthurZucker@users.noreply.github.com>
parent 467164ea
...@@ -310,7 +310,8 @@ examples_torch_job = CircleCIJob( ...@@ -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,
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment