Prerequisites
- A High Performance VPS with a GPU attached from your instance’s GPU tab, in the console
- Root SSH access to your server (How to connect)
Check that the GPU is visible
The GPU shows up in the system from the restart that follows the attachment, even before the drivers are installed:NVIDIA Corporation line. If it prints nothing, restart the VPS from the console and run it again.
Install the drivers
Update the system first: the drivers are built for the newest kernel, the one the VPS restarts on.- Debian 12 / 13
- Ubuntu 22.04 / 24.04 / 26.04
- Rocky Linux / AlmaLinux 9 and 10
The drivers come from NVIDIA’s CUDA repository. Branch 595 is NVIDIA’s production branch; pinning it keeps
apt from moving to another branch on its own:The restart takes your VPS offline for a few moments. See Restart for details.
Check the installation
After the restart,nvidia-smi shows the GPU, the driver version, the memory in use and the temperature:
Install CUDA (optional)
PyTorch, TensorFlow, Ollama and vLLM bundle the CUDA libraries they need: the driver is enough. To compile your own CUDA code withnvcc, install the CUDA Toolkit:
- Debian
- Ubuntu
- Rocky Linux / AlmaLinux

