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
7ff9d450
Unverified
Commit
7ff9d450
authored
Mar 01, 2022
by
Lysandre Debut
Committed by
GitHub
Mar 01, 2022
Browse files
Scatter should run on CUDA (#15872)
parent
c008afea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
docker/transformers-all-latest-gpu/Dockerfile
docker/transformers-all-latest-gpu/Dockerfile
+1
-1
docker/transformers-pytorch-gpu/Dockerfile
docker/transformers-pytorch-gpu/Dockerfile
+1
-1
No files found.
docker/transformers-all-latest-gpu/Dockerfile
View file @
7ff9d450
...
@@ -13,7 +13,7 @@ RUN python3 -m pip install --no-cache-dir -e ./transformers[dev,onnxruntime]
...
@@ -13,7 +13,7 @@ RUN python3 -m pip install --no-cache-dir -e ./transformers[dev,onnxruntime]
RUN
python3
-m
pip
install
--no-cache-dir
-U
torch tensorflow
RUN
python3
-m
pip
install
--no-cache-dir
-U
torch tensorflow
RUN
python3
-m
pip uninstall
-y
flax jax
RUN
python3
-m
pip uninstall
-y
flax jax
RUN
python3
-m
pip
install
--no-cache-dir
torch-scatter
-f
https://data.pyg.org/whl/torch-
$(
python3
-c
"from torch import version; print(version.__version__.split('+')[0])"
)
+c
p
u.html
RUN
python3
-m
pip
install
--no-cache-dir
torch-scatter
-f
https://data.pyg.org/whl/torch-
$(
python3
-c
"from torch import version; print(version.__version__.split('+')[0])"
)
+cu
102
.html
RUN
python3
-m
pip
install
--no-cache-dir
git+https://github.com/facebookresearch/detectron2.git pytesseract https://github.com/kpu/kenlm/archive/master.zip
RUN
python3
-m
pip
install
--no-cache-dir
git+https://github.com/facebookresearch/detectron2.git pytesseract https://github.com/kpu/kenlm/archive/master.zip
RUN
python3
-m
pip
install
-U
"itsdangerous<2.1.0"
RUN
python3
-m
pip
install
-U
"itsdangerous<2.1.0"
...
...
docker/transformers-pytorch-gpu/Dockerfile
View file @
7ff9d450
...
@@ -17,7 +17,7 @@ ARG PYTORCH=''
...
@@ -17,7 +17,7 @@ ARG PYTORCH=''
RUN
[
${#
PYTORCH
}
-gt
0
]
&&
VERSION
=
'torch=='
$PYTORCH
'.*'
||
VERSION
=
'torch'
;
python3
-m
pip
install
--no-cache-dir
-U
$VERSION
RUN
[
${#
PYTORCH
}
-gt
0
]
&&
VERSION
=
'torch=='
$PYTORCH
'.*'
||
VERSION
=
'torch'
;
python3
-m
pip
install
--no-cache-dir
-U
$VERSION
RUN
python3
-m
pip uninstall
-y
tensorflow flax
RUN
python3
-m
pip uninstall
-y
tensorflow flax
RUN
python3
-m
pip
install
--no-cache-dir
torch-scatter
-f
https://data.pyg.org/whl/torch-
$(
python3
-c
"from torch import version; print(version.__version__.split('+')[0])"
)
+c
p
u.html
RUN
python3
-m
pip
install
--no-cache-dir
torch-scatter
-f
https://data.pyg.org/whl/torch-
$(
python3
-c
"from torch import version; print(version.__version__.split('+')[0])"
)
+cu
102
.html
RUN
python3
-m
pip
install
--no-cache-dir
git+https://github.com/facebookresearch/detectron2.git pytesseract https://github.com/kpu/kenlm/archive/master.zip
RUN
python3
-m
pip
install
--no-cache-dir
git+https://github.com/facebookresearch/detectron2.git pytesseract https://github.com/kpu/kenlm/archive/master.zip
RUN
python3
-m
pip
install
-U
"itsdangerous<2.1.0"
RUN
python3
-m
pip
install
-U
"itsdangerous<2.1.0"
...
...
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