Skip to content

Commit 97a4a69

Browse files
committed
free dependency of tensorboard plugins
1 parent 8218069 commit 97a4a69

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

vendor/ngc-pytorch/Dockerfile.21.03-py3

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ FROM nvcr.io/nvidia/pytorch:21.03-py3
55

66
ENV DEBIAN_FRONTEND=noninteractive \
77
MPLBACKEND=Svg \
8+
PIP_IGNORE_INSTALLED=0 \
89
PYTHONUNBUFFERED=1 \
910
LD_LIBRARY_PATH="/usr/local/cuda/compat/lib:/usr/local/cuda/extras/CUPTI/lib64:/usr/local/cuda/lib:/usr/local/cuda/lib64:/usr/local/nvidia/lib64:/usr/include/x86_64-linux-gnu" \
1011
PATH="/usr/local/nvm/versions/node/v14.8.0/bin:/opt/conda/bin:/usr/local/mpi/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/ucx/bin:/opt/tensorrt/bin:/usr/local/src/lightgbm/LightGBM:/usr/local/bin/mecab" \
@@ -155,7 +156,6 @@ RUN cd /tmp && \
155156
WORKDIR /tmp
156157
COPY ./requirements.txt /tmp
157158
RUN /opt/conda/bin/python3 -m pip install --no-cache-dir --ignore-installed -r requirements.txt && \
158-
/opt/conda/bin/python3 -m pip install --no-cache-dir tensorflow_model_analysis && \
159159
rm -f /tmp/*.whl /tmp/requirements.txt
160160

161161
# install git-lfs
@@ -167,7 +167,7 @@ RUN curl -sLO https://github.com/git-lfs/git-lfs/releases/download/v2.13.3/git-l
167167

168168
COPY ./service-defs /etc/backend.ai/service-defs
169169
RUN curl -fL https://github.com/cdr/code-server/releases/download/v3.9.3/code-server-3.9.3-linux-amd64.tar.gz | tar -C /usr/local/lib -xz && \
170-
mv /usr/local/lib/code-server-3.9.3-linux-amd64 /usr/local/lib/code-server-3.9.2 && \
170+
mv /usr/local/lib/code-server-3.9.3-linux-amd64 /usr/local/lib/code-server-3.9.3 && \
171171
ln -s /usr/local/lib/code-server-3.9.3/bin/code-server /usr/local/bin/code-server
172172
# Install Open MPI
173173
RUN mkdir /tmp/openmpi && \
@@ -214,19 +214,17 @@ RUN jupyter nbextensions_configurator enable && \
214214
jupyter nbextension enable toc2/main && \
215215
jupyter labextension install @pyviz/jupyterlab_pyviz && \
216216
jupyter labextension install @bokeh/jupyter_bokeh && \
217-
jupyter labextension install --no-build jupyterlab-nvdashboard && \
218217
jupyter lab build
219218

220219
RUN apt autoclean && \
221220
sed -i 's/source \/usr\/local\/nvm\/nvm.sh//' /etc/bash.bashrc && \
222-
python3 -m pip uninstall -y tensorboard-plugin-wit && \
223221
rm -rf /var/lib/apt/lists/* && \
224222
rm -rf /root/.cache && \
225223
rm -rf /tmp/*
226224

227225
RUN /opt/conda/bin/python3 -m ipykernel install \
228226
--prefix=/opt/conda/ \
229-
--display-name "PyTorch 1.8 (NGC 21.03/Python 3.8 Conda) on Backend.AI" && \
227+
--display-name "PyTorch 1.9 (NGC 21.03/Python 3.8 Conda) on Backend.AI" && \
230228
cat /opt/conda/share/jupyter/kernels/python3/kernel.json
231229

232230
# Backend.AI specifics

0 commit comments

Comments
 (0)