File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change @@ -46,13 +46,9 @@ RUN mamba install -c rapidsai-nightly -c conda-forge jupyterlab-nvdashboard \
46
46
47
47
# CUDA setup w/mamba
48
48
# 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 \
52
50
cuda-toolkit=$CUDA_VERSION \
53
51
cuda-version=$CUDA_VERSION \
54
- cudnn \
55
- libcublas \
56
52
nccl \
57
53
-y && \
58
54
fix-permissions $CONDA_DIR && \
@@ -84,13 +80,14 @@ RUN pip install --no-cache-dir \
84
80
torch==${TORCH_VERSION} \
85
81
torchvision \
86
82
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
91
84
92
85
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 && \
94
91
fix-permissions $CONDA_DIR && \
95
92
fix-permissions /home/$NB_USER && \
96
93
mamba clean -a -y
You can’t perform that action at this time.
0 commit comments