We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 361ad3f commit 2d81ef4Copy full SHA for 2d81ef4
gpu-flavor/Dockerfile
@@ -152,9 +152,12 @@ RUN \
152
pip install --no-cache-dir onnxruntime-gpu==1.4.0 && \
153
# Install pytorch gpu
154
# uninstall cpu only packages via conda
155
- conda remove --force -y pytorch torchvision torchaudio cpuonly && \
+ conda remove --force -y pytorch cpuonly && \
156
# https://pytorch.org/get-started/locally/
157
- conda install -y pytorch torchvision torchaudio -c pytorch && \
+ conda install -y pytorch -c pytorch && \
158
+ # Install faiss gpu
159
+ conda remove --force -y faiss-cpu && \
160
+ conda install -y faiss-gpu -c pytorch && \
161
# Update mxnet to gpu edition
162
pip uninstall -y mxnet-mkl && \
163
pip install --no-cache-dir mxnet-cu101mkl==1.6.0.post0 && \
0 commit comments