Skip to content

Commit

Permalink
Add tmux to the bootc image
Browse files Browse the repository at this point in the history
Many commands that are run for SDG and training can take a lot of time,
so there is a risk to have a network disconnection during the task. With
`tmux`, users have the ability to detach the jobs from their SSH session
and let the tasks run for a very long time.

Signed-off-by: Fabien Dupont <[email protected]>
  • Loading branch information
fabiendupont committed Jun 13, 2024
1 parent 295a57c commit 3991cb4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions training/amd-bootc/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ ARG EXTRA_RPM_PACKAGES=''
RUN dnf install -y \
pciuils \
rocm-smi \
tmux \
${EXTRA_RPM_PACKAGES} \
&& dnf clean all

Expand Down
4 changes: 2 additions & 2 deletions training/intel-bootc/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ RUN if [ -f /etc/centos-release ]; then \
dnf -y update \
&& dnf -y install epel-release \
&& crb enable \
&& dnf -y install ninja-build pandoc pciutils;\
&& dnf -y install ninja-build pandoc pciutils tmux;\
fi \
&& dnf -y update \
&& dnf install -y dkms ninja-build pandoc pciutils \
&& dnf install -y dkms ninja-build pandoc pciutils tmux \
&& dnf install -y habanalabs-firmware-${DRIVER_VERSION}.${REDHAT_VERSION} \
habanalabs-${DRIVER_VERSION}.${REDHAT_VERSION} \
habanalabs-rdma-core-${DRIVER_VERSION}.${REDHAT_VERSION} \
Expand Down
1 change: 1 addition & 0 deletions training/nvidia-bootc/Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ RUN if [ "${TARGET_ARCH}" == "" ]; then \
&& dnf -y module enable nvidia-driver:${DRIVER_STREAM}/default \
&& dnf install -y \
pciutils \
tmux \
nvidia-driver-cuda-${DRIVER_VERSION} \
nvidia-driver-libs-${DRIVER_VERSION} \
nvidia-driver-NVML-${DRIVER_VERSION} \
Expand Down

0 comments on commit 3991cb4

Please sign in to comment.