Mastering voodoo: Building Linux VDI for Deep Learning workloads, Part 2

In this previous post, I described the first attempt to build a VDI platform for Deep Learning Applications. This post aggregates the information I used to build Linux Virtual Desktops for AI and Data Science. It’s a live-blog, which means I will update it when the process changes.

Building and Provisioning the desktop

The first step is to fully set up Horizon to use Linux Desktops. The following guide is quite thorough:

Set up docker

Setting up docker isn’t that hard. There are just a couple of things to take into account when installing (NVIDIA) Docker on a virtual desktop. The first step is to install docker and NVIDIA docker:

Docker installation:

After the docker installation, the horizon agent needs to be adjusted:

Adjusting Horizon Agent after docker installation:

Deploying a container

In case you need to install a different CUDA version, check it out here:

CUDA installation for Ubuntu:

Selecting the proper CUDA runtime for Docker:

Finally, you can pull a container from the NGC cloud:

Using NGC containers with vGPU:

Johan van Amersfoort
Latest posts by Johan van Amersfoort (see all)

Johan van Amersfoort

Johan van Amersfoort is a VCDX-DTM, VMware EUC Champion, vExpert, and NVIDIA NGCA member, working as a Technical Marketing Architect and EUC Geek at ITQ Consultancy. He is the author of the VDI Design Guide. More about Johan can be found on the about page.