Install Celantur Container on Windows
⚠️ CUDA / GPU support on Windows is currently in an experimental stage.
It is possible to run Celantur on-premise on Windows 11 with WSL (Windows Subsystem for Linux). NVIDIA provides an official documentation to set up the software dependencies.
Requirements
- NVIDIA GPU: minimum 10GB, e.g. RTX 2080 Ti
- Windows 11
- OPTIONAL: Access to Windows Insider Program for a simplified WSL installation
Steps
🤝 We gladly help you with setting up the software including the dependencies.
- Install NVIDIA Driver for CUDA on WSL.
- Install Windows Subsystem for Linux (WSL 2) with
wsl.exe --install
andwsl.exe --update
.
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.
- Install Docker Desktop on Windows.
- Activate Docker WSL 2 integration, by checking "Use WSL 2 based engine" in the settings.
- 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-get update
sudo apt-get install -y nvidia-container-toolkit
- Restart Docker.
Option 1:
Option 2 in WSL2:
sudo service docker stop
sudo service docker start
or
sudo systemctl restart docker
- Test CUDA containers
Test that the setup is correct by running following sample provided by NVIDIA:
docker run --rm --gpus all nvidia/cuda:11.0-base nvidia-smi
Run Celantur on-premise
Once you set up the prerequisites. You can run Celantur on-premise.