Vulkan
Cross-vendor GPU-compute API; the portable ML fallback.
Vulkan is a low-level, cross-platform standard for graphics and GPU computing from the Khronos Group , the open, vendor-neutral counterpart to CUDA and Metal . It’s an open, royalty-free specification rather than a single piece of software: the spec and reference tooling (headers, validation layers, conformance tests) are published openly, and the actual drivers range from fully open source (AMD and Intel via Mesa) to proprietary (NVIDIA’s).
Its appeal for ML is exactly that neutrality: one Vulkan compute backend runs on NVIDIA, AMD, Intel, and many mobile and embedded GPUs, so it’s the portable fallback when you can’t count on an NVIDIA card (and thus on CUDA). The trade-offs: it’s lower-level and more verbose to work with, and its ML-library ecosystem is much thinner than CUDA’s, so on NVIDIA hardware it usually delivers less peak speed than CUDA does.
In local
inference, GGML
ships a Vulkan backend, which is what lets llama.cpp speed up .gguf
models on AMD and Intel GPUs that CUDA and Metal can’t touch.