Install Software Prerequisites for Windows

It is possible to run Celantur on-premise on Windows 10 with WSL. NVIDIA provides an official documentation to set up the software dependencies.

Prerequisites

Steps

  1. Install NVIDIA Driver for CUDA on WSL.
  2. OPTIONAL: Activate the Windows Insider Program for a simplified WSL installation.
  3. Install Windows Subsystem for Linux (WSL 2).

Check that you can access the NVIDIA driver from within WSL 2 by opening WSL and entering nvidia-smi.exe. You should see detailled information about the GPU.

  1. Install Docker Desktop on Windows.
  2. Activate Docker WSL 2 integration, by checking "Use WSL 2 based engine" in the settings.

Checkbox "Use WSL 2 based engine"

  1. Install NVIDIA Container Toolkit.
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add -
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list

sudo apt update
sudo apt install nvidia-docker2 
  1. Restart Docker.

Restart Docker

Or in WSL2:

sudo service docker stop
sudo service docker start
  1. Test CUDA containers

Test that the setup is correct by running following sample provided by NVIDIA:

docker run --rm --gpus all nvcr.io/nvidia/k8s/cuda-sample:nbody nbody -gpu -benchmark

Run Celantur on-premise

Once you set up the prerequisites. You can run Celantur on-premise.

Reference