ROCm – explained simply
ROCm is AMD’s open software platform for AI computing on Radeon graphics cards, basically the counterpart to CUDA.
Also: HIP, HIP SDK, AMD ROCm
For AI programs to use AMD cards, they need ROCm or its programming interface HIP. Under Windows, AMD provides part of ROCm with the HIP SDK; it includes graphics drivers, the HIP runtime, and libraries.
Support has grown significantly in recent years: PyTorch offers ROCm builds, ComfyUI has its own portable package for AMD, and llama.cpp can compute via HIP. Which cards are supported exactly depends on the model and version and is listed in AMD’s compatibility lists.
Where ROCm doesn’t work, Vulkan is often the workaround, especially for language models.
What does that mean for you? If you have an AMD card, check before installing a tool whether it explicitly supports ROCm on Windows or, alternatively, Vulkan.
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
- hipErrorNoBinaryForGpu: Unable to find code object for all current devices! (ROCm has no matching code for your AMD card)
- LM Studio: Error loading model. (Exit code: …) Unknown error (model won’t load)
- LM Studio: No LM Runtime found
- Ollama: llama runner process has terminated: exit status 0xc0000409 (model process crashed)