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
a8ec0029
Unverified
Commit
a8ec0029
authored
Sep 25, 2021
by
Sylvain Gugger
Committed by
GitHub
Sep 25, 2021
Browse files
Update test dependence for torch examples (#13738)
parent
469b80d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
.circleci/config.yml
.circleci/config.yml
+4
-2
No files found.
.circleci/config.yml
View file @
a8ec0029
...
...
@@ -557,8 +557,9 @@ jobs:
keys
:
-
v0.4-torch_examples-{{ checksum "setup.py" }}
-
v0.4-{{ checksum "setup.py" }}
-
run
:
sudo apt-get -y update && sudo apt-get install -y libsndfile1-dev
-
run
:
pip install --upgrade pip
-
run
:
pip install .[sklearn,torch,sentencepiece,testing]
-
run
:
pip install .[sklearn,torch,sentencepiece,testing
,torch-speech
]
-
run
:
pip install -r examples/pytorch/_tests_requirements.txt
-
save_cache
:
key
:
v0.4-torch_examples-{{ checksum "setup.py" }}
...
...
@@ -591,8 +592,9 @@ jobs:
keys
:
-
v0.4-torch_examples-{{ checksum "setup.py" }}
-
v0.4-{{ checksum "setup.py" }}
-
run
:
sudo apt-get -y update && sudo apt-get install -y libsndfile1-dev
-
run
:
pip install --upgrade pip
-
run
:
pip install .[sklearn,torch,sentencepiece,testing]
-
run
:
pip install .[sklearn,torch,sentencepiece,testing
,torch-speech
]
-
run
:
pip install -r examples/pytorch/_tests_requirements.txt
-
save_cache
:
key
:
v0.4-torch_examples-{{ checksum "setup.py" }}
...
...
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