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
dc9aaa38
Commit
dc9aaa38
authored
Mar 05, 2021
by
Lysandre
Browse files
Pin torch to 1.7.1 in tests while we resolve issues
parent
12b66215
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
7 deletions
+14
-7
.circleci/config.yml
.circleci/config.yml
+6
-3
.github/workflows/self-push.yml
.github/workflows/self-push.yml
+4
-2
.github/workflows/self-scheduled.yml
.github/workflows/self-scheduled.yml
+4
-2
No files found.
.circleci/config.yml
View file @
dc9aaa38
...
@@ -79,7 +79,8 @@ jobs:
...
@@ -79,7 +79,8 @@ jobs:
-
v0.4-{{ checksum "setup.py" }}
-
v0.4-{{ checksum "setup.py" }}
-
run
:
pip install --upgrade pip
-
run
:
pip install --upgrade pip
-
run
:
pip install .[sklearn,tf-cpu,torch,testing,sentencepiece]
-
run
:
pip install .[sklearn,tf-cpu,torch,testing,sentencepiece]
-
run
:
pip install tapas torch-scatter -f https://pytorch-geometric.com/whl/torch-1.8.0+cpu.html
-
run
:
pip install tapas torch-scatter -f https://pytorch-geometric.com/whl/torch-1.7.0+cpu.html
-
run
:
pip install -U torch==1.7.1
-
save_cache
:
-
save_cache
:
key
:
v0.4-{{ checksum "setup.py" }}
key
:
v0.4-{{ checksum "setup.py" }}
paths
:
paths
:
...
@@ -106,7 +107,8 @@ jobs:
...
@@ -106,7 +107,8 @@ jobs:
-
v0.4-{{ checksum "setup.py" }}
-
v0.4-{{ checksum "setup.py" }}
-
run
:
pip install --upgrade pip
-
run
:
pip install --upgrade pip
-
run
:
pip install .[sklearn,torch,testing,sentencepiece]
-
run
:
pip install .[sklearn,torch,testing,sentencepiece]
-
run
:
pip install tapas torch-scatter -f https://pytorch-geometric.com/whl/torch-1.8.0+cpu.html
-
run
:
pip install tapas torch-scatter -f https://pytorch-geometric.com/whl/torch-1.7.0+cpu.html
-
run
:
pip install -U torch==1.7.1
-
save_cache
:
-
save_cache
:
key
:
v0.4-torch-{{ checksum "setup.py" }}
key
:
v0.4-torch-{{ checksum "setup.py" }}
paths
:
paths
:
...
@@ -185,7 +187,8 @@ jobs:
...
@@ -185,7 +187,8 @@ jobs:
-
v0.4-{{ checksum "setup.py" }}
-
v0.4-{{ checksum "setup.py" }}
-
run
:
pip install --upgrade pip
-
run
:
pip install --upgrade pip
-
run
:
pip install .[sklearn,torch,testing,sentencepiece]
-
run
:
pip install .[sklearn,torch,testing,sentencepiece]
-
run
:
pip install tapas torch-scatter -f https://pytorch-geometric.com/whl/torch-1.8.0+cpu.html
-
run
:
pip install tapas torch-scatter -f https://pytorch-geometric.com/whl/torch-1.7.0+cpu.html
-
run
:
pip install -U torch==1.7.1
-
save_cache
:
-
save_cache
:
key
:
v0.4-torch-{{ checksum "setup.py" }}
key
:
v0.4-torch-{{ checksum "setup.py" }}
paths
:
paths
:
...
...
.github/workflows/self-push.yml
View file @
dc9aaa38
...
@@ -54,7 +54,8 @@ jobs:
...
@@ -54,7 +54,8 @@ jobs:
pip install --upgrade pip
pip install --upgrade pip
pip install .[torch,sklearn,testing,onnxruntime,sentencepiece]
pip install .[torch,sklearn,testing,onnxruntime,sentencepiece]
pip install git+https://github.com/huggingface/datasets
pip install git+https://github.com/huggingface/datasets
pip install pandas torch-scatter -f https://pytorch-geometric.com/whl/torch-1.8.0+cu102.html
pip install pandas torch-scatter -f https://pytorch-geometric.com/whl/torch-1.7.0+cu102.html
pip install -U torch==1.7.1
-
name
:
Are GPUs recognized by our DL frameworks
-
name
:
Are GPUs recognized by our DL frameworks
run
:
|
run
:
|
...
@@ -201,7 +202,8 @@ jobs:
...
@@ -201,7 +202,8 @@ jobs:
pip install --upgrade pip
pip install --upgrade pip
pip install .[torch,sklearn,testing,onnxruntime,sentencepiece]
pip install .[torch,sklearn,testing,onnxruntime,sentencepiece]
pip install git+https://github.com/huggingface/datasets
pip install git+https://github.com/huggingface/datasets
pip install pandas torch-scatter -f https://pytorch-geometric.com/whl/torch-1.8.0+cu102.html
pip install pandas torch-scatter -f https://pytorch-geometric.com/whl/torch-1.7.0+cu102.html
pip install -U torch==1.7.1
-
name
:
Are GPUs recognized by our DL frameworks
-
name
:
Are GPUs recognized by our DL frameworks
run
:
|
run
:
|
...
...
.github/workflows/self-scheduled.yml
View file @
dc9aaa38
...
@@ -55,7 +55,8 @@ jobs:
...
@@ -55,7 +55,8 @@ jobs:
pip install --upgrade pip
pip install --upgrade pip
pip install .[torch,sklearn,testing,onnxruntime,sentencepiece]
pip install .[torch,sklearn,testing,onnxruntime,sentencepiece]
pip install git+https://github.com/huggingface/datasets
pip install git+https://github.com/huggingface/datasets
pip install pandas torch-scatter -f https://pytorch-geometric.com/whl/torch-1.8.0+cu102.html
pip install pandas torch-scatter -f https://pytorch-geometric.com/whl/torch-1.7.0+cu102.html
pip install -U torch==1.7.1
pip list
pip list
-
name
:
Are GPUs recognized by our DL frameworks
-
name
:
Are GPUs recognized by our DL frameworks
...
@@ -238,7 +239,8 @@ jobs:
...
@@ -238,7 +239,8 @@ jobs:
pip install --upgrade pip
pip install --upgrade pip
pip install .[torch,sklearn,testing,onnxruntime,sentencepiece]
pip install .[torch,sklearn,testing,onnxruntime,sentencepiece]
pip install git+https://github.com/huggingface/datasets
pip install git+https://github.com/huggingface/datasets
pip install pandas torch-scatter -f https://pytorch-geometric.com/whl/torch-1.8.0+cu102.html
pip install pandas torch-scatter -f https://pytorch-geometric.com/whl/torch-1.7.0+cu102.html
pip install -U torch==1.7.1
pip install fairscale
pip install fairscale
pip install deepspeed
pip install deepspeed
pip list
pip list
...
...
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