Skip to content

Commit 8f31a85

Browse files
authored
Update Dockerfile.tmpl
1 parent 29abf1a commit 8f31a85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ RUN conda install -c pytorch magma-cuda${CUDA_MAJOR_VERSION}${CUDA_MINOR_VERSION
113113
# which makes sure that libomp is loaded when these libraries are loaded.
114114
conda install -y openmp && \
115115
pip install patchelf && \
116-
patchelf --add-needed libomp.so.5 /opt/conda/lib/python3.7/site-packages/torchtext/lib/libtorchtext.so && \
117-
patchelf --add-needed libomp.so.5 /opt/conda/lib/python3.7/site-packages/torchaudio/lib/libtorchaudio.so && \
116+
patchelf --add-needed libomp.so /opt/conda/lib/python3.7/site-packages/torchtext/lib/libtorchtext.so && \
117+
patchelf --add-needed libomp.so /opt/conda/lib/python3.7/site-packages/torchaudio/lib/libtorchaudio.so && \
118118
rm -rf /tmp/torch && \
119119
/tmp/clean-layer.sh
120120
{{ else }}

0 commit comments

Comments
 (0)