Documentation Hub
Getting Started
Troubleshooting & FAQs
Resolutions for common installation, compiler, PATH, and GPU driver issues.
NextViper GPU Troubleshooting Guide
This guide details common GPU issues, error messages, and their solutions in NextViper.
1
`GPU unavailable: No compatible GPU or Vulkan compute device found`
Cause
NextViper could not find a Vulkan physical device with compute queue capabilities (VK_QUEUE_COMPUTE_BIT).
Solutions
terminal
vulkaninfo --summarylibvulkan1 and Mesa Vulkan drivers (mesa-vulkan-drivers) are installed:terminal
sudo apt install -y libvulkan1 mesa-vulkan-driversnvidia-driver-xxx) is installed and loaded.terminal
sudo apt install -y libvulkan-dev mesa-vulkan-driversdevice: "auto" to automatically fallback to CPU when running on machines without GPUs.2
`GPU Out of Memory: Failed to allocate X bytes on device`
Cause
The requested tensor size exceeded the available VRAM on the target GPU.
Solutions
batch_size: 32 or batch_size: 16).tensor.to("cpu").main.nv
import tensor
print("Active device:", tensor.device_name())3
`Matrix multiplication dimension mismatch`
Cause
Inner dimensions of matrices do not match for matrix multiplication $A_{M imes K} imes B_{K imes N}$.
Solution
Ensure a.shape[1] == b.shape[0]. Use a.T() or a.reshape(...) to align dimensions before matrix multiplication.

