Follow these instructions to upgrade Ubuntu and Lambda Stack to the latest versions.
-
Uninstall (purge) the existing Lambda Stack by running:
sudo rm -f /etc/apt/sources.list.d/{graphics,nvidia,cuda}* && \ dpkg -l | \ awk '/cuda|lib(accinj64|cu(blas|dart|dnn|fft|inj|pti|rand|solver|sparse)|magma|nccl|npp|nv[^p])|nv(idia|ml)|tensor(flow|board)|torch/ { print $2 }' | \ sudo xargs -or apt -y remove --purge
-
Run
sudo do-release-upgrade
. -
Install the latest Lambda Stack by running:
-
If you’re installing on a Vector or Tensorbook:
sudo apt -y update && sudo apt -y install lambda-stack-cuda
-
If you’re installing on a Hyperplane or Scalar:
sudo apt -y update && \ sudo apt -y install --no-install-recommends lambda-server && \ sudo apt -y install --no-install-recommends nvidia-headless-470-server && \ sudo apt -y install --no-install-recommends nvidia-fabricmanager-470 && \ sudo apt -y install lambda-stack-cuda
-