Skip to content

Commit 19347f8

Browse files
committed
split pip install of packages dlt2
1 parent d0c2bbf commit 19347f8

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

deep-learning-tools2/Dockerfile

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ ENV PATH=/usr/local/mpi/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:${PATH} \
3030
PKG_FASTAI_VERSION=2.7.18
3131

3232

33-
RUN eatmydata mamba install --quiet --update-all --yes -c conda-forge \
33+
RUN CC="cc -mavx2" eatmydata pip install --no-cache-dir -I -U --force-reinstall \
3434
pycuda \
3535
"keras==$PKG_KERAS_VERSION" \
3636
plotnine \
@@ -47,8 +47,6 @@ RUN eatmydata mamba install --quiet --update-all --yes -c conda-forge \
4747
"xgboost==$PKG_XGBOOST_VERSION" \
4848
"catboost==$PKG_CATBOOST_VERSION" \
4949
sentencepiece \
50-
"fastai==$PKG_FASTAI_VERSION" \
51-
monai \
5250
albumentations \
5351
nvidia-ml-py \
5452
&& mamba clean --all -f -y
@@ -58,14 +56,15 @@ RUN CC="cc -mavx2" eatmydata pip install --no-cache-dir -I -U --force-reinstall
5856
"torch==$PKG_PYTORCH_VERSION" \
5957
torchvision==0.21.0 \
6058
torchaudio \
61-
opencv-python \
62-
"tensorboard-plugin-profile==2.19.0" \
6359
pillow --index-url https://download.pytorch.org/whl/cu126 && \
6460
jupyter lab build \
65-
rm -fr /home/notebook/.cache/yarn && \
66-
dd if=/dev/zero of=testfile bs=1M count=1024
67-
61+
rm -fr /home/notebook/.cache/yarn
6862

63+
RUN CC="cc -mavx2" eatmydata pip install --no-cache-dir -I -U --force-reinstall \
64+
"fastai==$PKG_FASTAI_VERSION" \
65+
monai \ && \
66+
jupyter lab build \
67+
rm -fr /home/notebook/.cache/yarn && \
6968

7069

7170
COPY start-notebook.sh /usr/local/bin/

0 commit comments

Comments
 (0)