Skip to content

Commit

Permalink
Update logging messages in the installation script
Browse files Browse the repository at this point in the history
  • Loading branch information
LujieDuan committed Dec 13, 2023
1 parent 34988d0 commit c074faf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ case $DEVICE_CODE in
;;
esac

echo "Installing NVIDIA CUDA $CUDA_VERSION with driver $DRIVER_VERSION"
echo "Installing NVIDIA Data Center driver $DRIVER_VERSION"
curl -fSsl -O https://us.download.nvidia.com/tesla/$DRIVER_VERSION/NVIDIA-Linux-x86_64-$DRIVER_VERSION.run
sudo bash ./NVIDIA-Linux-x86_64-$DRIVER_VERSION.run --silent

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,12 @@ case $DEVICE_CODE in
;;
esac

echo "Installing NVIDIA CUDA $CUDA_VERSION with driver $DRIVER_VERSION"
echo "Installing NVIDIA Data Center driver $DRIVER_VERSION"
curl -fSsl -O https://us.download.nvidia.com/tesla/$DRIVER_VERSION/NVIDIA-Linux-x86_64-$DRIVER_VERSION.run
sudo bash ./NVIDIA-Linux-x86_64-$DRIVER_VERSION.run --silent
# Install the CUDA toolkit only, so that the CUDA toolkit uses the Data Center driver installed in the previous step
# See https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html for CUDA and driver compatibility
echo "Installing CUDA Toolkit $CUDA_VERSION from CUDA installer cuda_${CUDA_VERSION}_${CUDA_BUNDLED_DRIVER_VERSION}_linux.run."
curl -fSsl -O https://developer.download.nvidia.com/compute/cuda/$CUDA_VERSION/local_installers/cuda_${CUDA_VERSION}_${CUDA_BUNDLED_DRIVER_VERSION}_linux.run
sudo sh cuda_${CUDA_VERSION}_${CUDA_BUNDLED_DRIVER_VERSION}_linux.run --toolkit --silent

Expand Down

0 comments on commit c074faf

Please sign in to comment.