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:

https://docs.vmware.com/en/VMware-Horizon-7/7.12/linux-desktops-setup/GUID-B9BFB903-67D0-4A08-98B8-F83DCAB0087C.html

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: https://github.com/NVIDIA/nvidia-docker/issues/913

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

Adjusting Horizon Agent after docker installation: https://communities.vmware.com/thread/597866

Deploying a container

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

CUDA installation for Ubuntu: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#system-requirements

Selecting the proper CUDA runtime for Docker: https://github.com/NVIDIA/nvidia-docker/issues/861https://github.com/NVIDIA/nvidia-docker/wiki/CUDA#requirementshttps://askubuntu.com/questions/917356/how-to-verify-cuda-installation-in-16-04

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

Using NGC containers with vGPU: https://docs.nvidia.com/ngc/ngc-vgpu-setup-guide/

The post Mastering voodoo: Building Linux VDI for Deep Learning workloads, Part 2 appeared first on vHojan.nl.

Johan van Amersfoort

Author Johan van Amersfoort

Johan van Amersfoort works as Technologist EUC, AI & IoT at ITQ Consultancy. He is the author of the VDI Design Guide, a vExpert since 2015, a VMware End-User Computing Champion since 2016 and the first VMware Certified Design Expert on Desktop and Mobility (VCDX-DTM) in the Benelux. Johan is specialized in VDI, Graphical Acceleration, AI Platforms and Application Delivery and a regular speaker on events like VMUGs, UserCons, and VMworld and one of the founders of VMware EUC TechCon.

More posts by Johan van Amersfoort
2 April 2020