How to install Ubuntu 16.04 and Lambda Stack on a TensorBook (Gen 2)

Many deep learning teams have software that depends on Ubuntu 16.04 (and not 18.04). However, the installation process for 16.04 has some quirks with the TensorBook. This tutorial walks you through the entire process of installing 16.04 from scratch with Lambda Stack.

  1. Download a version of the Ubuntu 16.04 ISO that is 16.04.5 or greater.
    http://releases.ubuntu.com/16.04/ubuntu-16.04.5-desktop-amd64.iso
  2. Burn the ISO onto a USB drive. For a tutorial on this see here:
    https://deeptalk.lambdalabs.com/t/create-usb-for-installing-ubuntu-18-04/482
  3. Insert the USB drive into the TensorBook and boot off of it by pressing [Del] during your boot sequence.
  4. Select Install Ubuntu in the GRUB menu and hit [e].
  5. Add the following text to the end of the linux line acpi_os_name=Linux acpi_osi= acpi_backlight=vendor modprobe.blacklist=nouveau. Hit [F10] to boot.
  6. Perform a normal installation of Ubuntu 16.04.5.
  7. Install Lambda Stack with this command:
LAMBDA_REPO=$(mktemp) && \
wget -O${LAMBDA_REPO} https://lambdalabs.com/static/misc/lambda-stack-repo.deb && \
sudo dpkg -i ${LAMBDA_REPO} && rm -f ${LAMBDA_REPO} && \
sudo apt-get update && sudo apt-get install -y lambda-stack-cuda

That's it! You should now have a working TensorBook installed with Ubuntu 16.04.5 and Lambda Stack.

!-- Intercom -->