High-Throughput Deep Learning Infrastructure
zozo.host GPU Cloud instances feature dedicated NVIDIA H100 Tensor Core, A100 80GB PCIe, and RTX 4090 GPUs with high-speed PCIe Gen5 interfaces and NVMe storage up to 7,500 MB/s. This guide sets up CUDA 12.4, cuDNN 9, and PyTorch 2.4 with FlashAttention-2.
1. Verify NVIDIA GPU Hardware Detection
lspci | grep -i nvidia
# Output should display:
# 01:00.0 3D controller: NVIDIA Corporation AD102 [GeForce RTX 4090] or GH100 [H100 PCIe]
2. Install NVIDIA Official Driver & CUDA Toolkit
# Add NVIDIA CUDA repository
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/cuda-keyring_1.1-1_all.deb
sudo dpkg -i cuda-keyring_1.1-1_all.deb
sudo apt update
sudo apt install -y cuda-toolkit-12-4 nvidia-driver-550-server
# Reboot server to initialize kernel modules
sudo reboot
3. Validate GPU Operational Status
nvidia-smi
4. Set Up Python Virtual Environment & PyTorch
sudo apt install -y python3-pip python3-venv
python3 -m venv ~/ml_env
source ~/ml_env/bin/activate
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
pip install vllm transformers accelerate
5. Test CUDA Acceleration in Python
python3 -c "import torch; print('CUDA Available:', torch.cuda.is_available()); print('Device Name:', torch.cuda.get_device_name(0)); print('VRAM:', round(torch.cuda.get_device_properties(0).total_memory / (1024**3), 2), 'GB')"