2. System Requirements
2.1 Minimum System Requirements
Hardware
CPU | RAM | SSD/HDD |
| 6GB (when launching one instance of each service) |
|
Software
- OS Ubuntu 22.04
- Docker 20.10.17
- Kubernetes 1.23.8
- Helm 3.10.2
- Python 3.8.10
note
To install Docker, Kubernetes and Helm, use the command from para. 3.1.3 (the Internet connection is required).
2.2. GPU Requirements (optionally)
Nvidia graphics card with CUDA 11.6 support.
2.3. System Settings for GPU Usage (optionally)
2.3.1 Installing Nvidia Container Toolkit
To install Nvidia Container Toolkit, run the commands below:
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
curl -s -L https://nvidia.github.io/libnvidia-container/gpgkey | sudo apt-key add -
curl -s -L https://nvidia.github.io/libnvidia-container/$distribution/libnvidia-container.list | sudo tee /etc/apt/sources.list.d/libnvidia-container.list
sudo apt-get update && sudo apt-get install -y nvidia-container-toolkit
2.3.2 Docker Configuration
To set nvidia-container-runtime as the default low-level runtime, add the following lines to the configuration file located at /etc/docker/daemon.json:
"default-runtime": "nvidia",
"runtimes": {
"nvidia": {
"path": "/usr/bin/nvidia-container-runtime",
"runtimeArgs": []
}
}
2.3.3 Applying Configuration
To apply configuration, restart docker-service using the command below:
$ sudo systemctl restart docker
2.3.4 Installation Health Check
To check the installation validity, run the following command:
$ sudo docker run --rm --runtime=nvidia --gpus all nvidia/cuda:11.6.2-base-ubuntu20.04 nvidia-smi
As a result, the following output will be displayed in the terminal:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.78.01 Driver Version: 525.78.01 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:00:10.0 Off | N/A |
| 0% 27C P8 9W / 280W | 6MiB / 11264MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
+-----------------------------------------------------------------------------+