Vulkan – explained simply
Vulkan is a vendor-independent interface to the graphics card that lets some AI tools run equally well on Nvidia, AMD, and Intel.
Also: Vulkan backend, Vulkan API
Vulkan comes from game graphics, but it can also perform general computations. The advantage: it is a cross-platform industry standard, so a program does not have to be adapted separately for each manufacturer.
For local AI, Vulkan is especially interesting for language models. llama.cpp, the basis for many chat programs, has a Vulkan backend. That means models can also run on AMD and Intel cards, which do not have CUDA. Depending on the card, Vulkan can be a bit slower than CUDA or ROCm, but setup is usually easier.
What does that mean for you? If you have an AMD or Intel card and ROCm is giving you trouble, try the Vulkan version of a tool.
Related terms
Errors where that matters
- AMD graphics card not being used (ROCm or Vulkan)
- AMD Radeon is not being used, PyTorch is running on the CPU
- Intel Arc not recognized (torch.xpu)
- KoboldCpp closes immediately while loading
- llama.cpp (Vulkan): vk::Device::allocateMemory: ErrorOutOfDeviceMemory (graphics memory block too large or VRAM full)
- LM Studio: Error loading model. (Exit code: …) Unknown error (model won’t load)
- LM Studio: No LM Runtime found