Skip to content

Commit

Permalink
Dockerfile.ubuntu: switch to nvcr cuda devel image
Browse files Browse the repository at this point in the history
The pytorch image is too big for GitHub Actions to handle
  • Loading branch information
yousong committed Mar 20, 2024
1 parent 7b18ee5 commit 71b7153
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Dockerfile.ubuntu
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM nvcr.io/nvidia/pytorch:24.02-py3
FROM nvcr.io/nvidia/cuda:12.3.2-devel-ubuntu22.04

MAINTAINER Yousong Zhou <[email protected]>

Expand Down Expand Up @@ -59,6 +59,15 @@ RUN set -x \
vim \
wget \
zsh \
&& apt-get install -y --no-install-recommends \
libcublas-dev-12-3 \
libcudnn9-dev-cuda-12 \
libcufft-dev-12-3 \
libcufile-dev-12-3 \
libcurand-dev-12-3 \
libcusolver-dev-12-3 \
libcusparse-dev-12-3 \
libcutensor-dev \
&& echo "dash dash/sh boolean false" | debconf-set-selections \
&& dpkg-reconfigure dash \
&& sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen \
Expand Down

0 comments on commit 71b7153

Please sign in to comment.