File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -128,7 +128,8 @@ RUN \
128
128
# uninstall cpu only packages via conda
129
129
conda remove --force -y pytorch cpuonly && \
130
130
# https://pytorch.org/get-started/locally/
131
- conda install pytorch cudatoolkit=11.2 -c pytorch -c nvidia && \
131
+ conda install cudatoolkit=11.2 -c pytorch -c nvidia && \
132
+ pip install --no-cache-dir torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html && \
132
133
# Install cupy: https://cupy.chainer.org/
133
134
pip install --no-cache-dir cupy-cuda112 && \
134
135
# Install pycuda: https://pypi.org/project/pycuda
@@ -143,9 +144,9 @@ RUN \
143
144
# Install ONNX GPU Runtime
144
145
pip uninstall -y onnxruntime && \
145
146
pip install --no-cache-dir onnxruntime-gpu==1.8.0 onnxruntime-training==1.8.0 && \
146
- # Install faiss gpu
147
- conda remove --force -y faiss-cpu && \
148
- conda install -y faiss-gpu -c pytorch && \
147
+ # Install faiss gpu - TODO: to large?
148
+ # conda remove --force -y faiss-cpu && \
149
+ # conda install -y faiss-gpu -c pytorch && \
149
150
# Update mxnet to gpu edition
150
151
pip uninstall -y mxnet-mkl && \
151
152
# cuda111 -> >= 11.1
You can’t perform that action at this time.
0 commit comments