AI Tool Inventory - Compute Backends: Difference between revisions
Justinaquino (talk | contribs) AI Tool Inventory: add Inference Engines, Compute Backends (non-CUDA first, measured on PC00) and the Small (and Smaller) Models size view; Params column throughout |
Justinaquino (talk | contribs) Dark-mode fix: replace hardcoded #f8f9fa callout boxes with a background-free left rule, so the skin's own colours apply in light and dark |
||
| Line 1: | Line 1: | ||
= AI Tool Inventory - Compute Backends = | = AI Tool Inventory - Compute Backends = | ||
<div style=" | <div style="border-left:4px solid #72777d; padding:2px 0 2px 14px; margin-bottom:18px;"> | ||
'''Category:''' Compute Backends · '''Tools:''' 10 · '''Part of:''' [[AI Tool Inventory (AI Search)]] | '''Category:''' Compute Backends · '''Tools:''' 10 · '''Part of:''' [[AI Tool Inventory (AI Search)]] | ||
Latest revision as of 12:38, 26 November 2026
AI Tool Inventory - Compute Backends
Category: Compute Backends · Tools: 10 · Part of: AI Tool Inventory (AI Search)
The GPU APIs and compute stacks themselves: ROCm and Vulkan first, Metal/SYCL/OpenCL/CPU next, CUDA last and marked unavailable on this workstation. Includes a measured section for PC00.
Measured on this workstation (PC00)
Read from the machine on 2026-11-26, not assumed. This is the evidence behind the non-CUDA emphasis on this page.
| What | Measured state |
|---|---|
| GPUs | 03:00.0 AMD Radeon RX 9060 XT — Navi 44 [1002:7590] — discrete; 15:00.0 AMD Raphael iGPU — [1002:164e] — integrated, shares the same driver |
| NVIDIA / CUDA | absent — no NVIDIA device, so the CUDA rows are not a route here |
| AMD compute interface | /dev/kfd present (AMD compute interface) |
| DRM render nodes | /dev/dri/renderD128 + renderD129 — two nodes, iGPU and dGPU |
| Vulkan userland | libvulkan1 1.4.341, mesa-vulkan-drivers 26.0.8 (RADV), libdrm-amdgpu 2.4.131 |
| Vulkan tooling | vulkaninfo NOT installed — install vulkan-tools to enumerate devices |
| ROCm userland | no system ROCm tooling (no rocminfo/rocm-smi); the runtime comes bundled inside Ollama |
| OpenCL | ocl-icd-libopencl1 2.3.4 |
| Ollama | version 0.31.1, libraries in /usr/local/lib/ollama
|
| Backends Ollama ships | cuda_v12/libggml-cuda.so — CUDA 12cuda_v13/libggml-cuda.so — CUDA 13rocm_v7_2/libggml-hip.so — ROCm 7.2 via HIPvulkan/libggml-vulkan.so — Vulkanlibggml-cpu-*.so — 14 CPU micro-architecture builds incl. zen4
|
| Backend actually used | journal shows 'ROCm0 compute buffer size = 248.10 MiB' — models were loaded through ROCm, not CPU |
What that means in practice:
- ROCm is the working path — it is already loading models on this box; nothing needs installing to keep using it.
- Vulkan is the second path and the better one for mixed iGPU/dGPU handling: the Mesa userland is present and Ollama bundles
libggml-vulkan.so. Ollama's own guidance for a mixed iGPU/dGPU machine is to keep Vulkan enabled and pin the discrete card withGGML_VK_VISIBLE_DEVICES(for example=1when Vulkan1 is the discrete GPU) rather than disabling Vulkan entirely. - CUDA is not a route on this machine. Any guide that starts with CUDA is describing someone else's computer.
- Tooling gap:
vulkaninfoandrocminfoare not installed, so device enumeration cannot be quoted from this box until they are added (vulkan-tools, and the ROCm SMI tools).
Tools
Newest first. Datecode (YYMMDD) is when the entry entered the inventory; the status legend lives on the parent page.
| Tool | Summary | Licence | Status | Params | Source | Added |
|---|---|---|---|---|---|---|
| CANN (Huawei Ascend) | llama.cpp and whisper.cpp carry a CANN backend for Huawei Ascend NPUs. | See project | CUSTOM | — | github.com | 261126 |
| CPU / ggml | The always-available fallback: ggml builds tuned per micro-architecture — 14 variants in this Ollama install, including zen4 for this CPU. | MIT | OPEN | — | github.com | 261126 |
| CUDA (NVIDIA) | NVIDIA's proprietary compute platform. UNAVAILABLE on this workstation — no NVIDIA device is present, which is exactly why the ROCm and Vulkan rows are the ones that matter here. | Proprietary (NVIDIA EULA) | CLOSED | — | developer.nvidia.com | 261126 |
| Metal / MLX (Apple) | Apple's GPU API and MIT-licensed array framework. Apple silicon only — not a route on this AMD workstation, listed so the matrix is complete. | Proprietary API / MLX MIT | CUSTOM | — | developer.apple.com | 261126 |
| MUSA (Moore Threads) | llama.cpp and whisper.cpp carry a MUSA backend for Moore Threads GPUs. | See project | CUSTOM | — | github.com | 261126 |
| OpenCL | Older cross-vendor compute standard. llama.cpp carries an OpenCL backend; ocl-icd 2.3.4 is installed here. | Open standard; ICD loader MIT | OPEN | — | khronos.org | 261126 |
| ROCm (AMD) | AMD's open compute stack, reached through HIP. The working GPU path on this workstation: /dev/kfd is present and Ollama loads models through rocm_v7_2/libggml-hip.so. | MIT | OPEN | — | github.com · HIP | 261126 |
| SYCL / oneAPI (Intel) | Khronos SYCL with Intel's oneAPI implementation; a llama.cpp backend aimed at Intel GPUs. | Apache-2.0 (oneAPI components) | OPEN | — | github.com | 261126 |
| Vulkan (Khronos) | Open royalty-free graphics and compute standard; Mesa RADV is the AMD implementation. Ollama documents it as the additional AMD/Intel route, enables it by default, and needs the userland drivers installed. Mesa RADV 26.0.8 and libvulkan 1.4.341 are installed here. | Open standard; Mesa RADV MIT | OPEN | — | vulkan.org · Mesa | 261126 |
| WebGPU | W3C standard exposing GPU compute to the browser; llama.cpp has a WebGPU backend, which is how a model can run in a tab. | W3C standard; implementation licences vary | OPEN | — | w3.org | 261126 |
Updates
Newest first. Datecode is YYMMDD. Each entry names what arrived on that date, with a link to each source.
- 261126 — added 10: CANN (Huawei Ascend) · CPU / ggml · CUDA (NVIDIA) · Metal / MLX (Apple) · MUSA (Moore Threads) · OpenCL · ROCm (AMD) · SYCL / oneAPI (Intel) · Vulkan (Khronos) · WebGPUverified against vendor documentation and this workstation
Source: AI Search unless the summary says it was verified from vendor documentation. Parent: AI Tool Inventory (AI Search).