1 - How do I prevent my system from suspending or sleeping?

To prevent your system from going to sleep or suspending, run:

sudo systemctl mask hibernate.target hybrid-sleep.target \
  suspend-then-hibernate.target sleep.target suspend.target

2 - How do I remove and reinstall Lambda Stack?

To remove and reinstall Lambda Stack:

  1. 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
    
  2. 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-525-server && \
      sudo apt -y install --no-install-recommends nvidia-fabricmanager-525 && \
      sudo apt -y install lambda-stack-cuda
      

3 - How do I upgrade software in Ubuntu?

Ubuntu regularly checks for new versions of software installed from an apt repository, including:

  • Ubuntu system updates
  • Ubuntu security updates
  • Lambda Stack

However, only Ubuntu security updates are automatically installed. Other updates must be installed manually.

To manually check for and install new versions of software installed from an apt repository, run the following commands in a terminal:

sudo apt-get update && sudo apt-get upgrade

4 - How do I upgrade Ubuntu and Lambda Stack?

Follow these instructions to upgrade Ubuntu and Lambda Stack to the latest versions.

  1. 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
    
  2. Run sudo do-release-upgrade.

  3. 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
      

5 - Where can I download recovery images?

Workstations

Recovery ISO images for Vector can be downloaded using the following links:

Tensorbook

The recovery ISO image for Tensorbook can be downloaded using the following link: