Skip to content

Commit 6e1c77d

Browse files
authored
Try fixing tensorflow
1 parent 4f1c864 commit 6e1c77d

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

images/scipy-ml-notebook/Dockerfile

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,9 @@ RUN mamba install -c rapidsai-nightly -c conda-forge jupyterlab-nvdashboard \
4646

4747
# CUDA setup w/mamba
4848
# cuda-toolkit is a skeleton package on CUDA 12, unlike CUDA <= 11
49-
RUN mamba install -c "nvidia/label/cuda-${CUDA_VERSION}" \
50-
-c conda-forge \
51-
cuda-nvcc \
49+
RUN mamba install -c "nvidia/label/cuda-$CUDA_VERSION" cuda-nvcc \
5250
cuda-toolkit=$CUDA_VERSION \
5351
cuda-version=$CUDA_VERSION \
54-
cudnn \
55-
libcublas \
5652
nccl \
5753
-y && \
5854
fix-permissions $CONDA_DIR && \
@@ -84,13 +80,14 @@ RUN pip install --no-cache-dir \
8480
torch==${TORCH_VERSION} \
8581
torchvision \
8682
torchaudio \
87-
--index-url https://download.pytorch.org/whl/cu124 && \
88-
fix-permissions $CONDA_DIR && \
89-
fix-permissions /home/$NB_USER && \
90-
mamba clean -a -y
83+
--index-url https://download.pytorch.org/whl/cu124
9184

9285
RUN pip install --no-cache-dir \
93-
tensorflow==$TENSORFLOW_VERSION tensorflow-datasets tensorrt==$TENSORRT_VERSION keras==$KERAS_VERSION tf-keras==$TENSORFLOW_VERSION && \
86+
tensorflow==$TENSORFLOW_VERSION \
87+
tensorflow-datasets \
88+
tensorrt==$TENSORRT_VERSION \
89+
keras==$KERAS_VERSION \
90+
tf-keras==$TENSORFLOW_VERSION && \
9491
fix-permissions $CONDA_DIR && \
9592
fix-permissions /home/$NB_USER && \
9693
mamba clean -a -y

0 commit comments

Comments
 (0)