Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
7ee995fd
Unverified
Commit
7ee995fd
authored
Nov 10, 2023
by
Yih-Dar
Committed by
GitHub
Nov 10, 2023
Browse files
Make `examples_torch_job` faster (#27437)
fix Co-authored-by:
ydshieh
<
ydshieh@users.noreply.github.com
>
parent
ed115b34
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
.circleci/create_circleci_config.py
.circleci/create_circleci_config.py
+2
-0
No files found.
.circleci/create_circleci_config.py
View file @
7ee995fd
...
...
@@ -397,6 +397,7 @@ custom_tokenizers_job = CircleCIJob(
examples_torch_job
=
CircleCIJob
(
"examples_torch"
,
additional_env
=
{
"OMP_NUM_THREADS"
:
8
},
cache_name
=
"torch_examples"
,
install_steps
=
[
"sudo apt-get -y update && sudo apt-get install -y libsndfile1-dev espeak-ng"
,
...
...
@@ -405,6 +406,7 @@ examples_torch_job = CircleCIJob(
"pip install -U --upgrade-strategy eager -r examples/pytorch/_tests_requirements.txt"
,
"pip install -U --upgrade-strategy eager -e git+https://github.com/huggingface/accelerate@main#egg=accelerate"
,
],
pytest_num_workers
=
1
,
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment