Skip to content

AMD test build (experimental, not supported yet)

Pre-release
Pre-release

Choose a tag to compare

@professorpalmer professorpalmer released this 22 Nov 19:56
· 25 commits to main since this release

Experimental. Not supported yet. It may fail on your machine. This pre-release is for people who want to help us
bring Kintsugi-27B to AMD Radeon cards. For normal use, take the latest supported release (NVIDIA / Mac).

Who it is for

You have one of these cards with 16 GB of VRAM or more, on Linux:

Tarball Cards
Kintsugi-27B-amd-test-...-gfx1201-linux...tar.gz RDNA4: Radeon AI PRO R9700, RX 9070 XT, RX 9070 (gfx1201)
RDNA3 tarball (added to this pre-release soon) RDNA3: RX 7900 XTX, RX 7900 XT, RX 7900 GRE (gfx1100)

What you need

  • Linux x86_64 with glibc 2.38 or newer (Ubuntu 24.04 or newer).
  • The amdgpu kernel driver (a recent kernel has it). You do not need to install ROCm: the ROCm 7.14 runtime is in
    the tarball.
  • Your user in the render and video groups (id -nG; else sudo usermod -aG render,video $USER and log in
    again).
  • The model file Kintsugi-27B-12G.gguf from https://huggingface.co/CaryPalmer/Kintsugi-27B (SHA-256
    0510bae82445dc53dbc7d0d842d8b7e146b8eafce0837e39b157d411e48c8a74).

How to test

tar -xzf Kintsugi-27B-amd-test-*-linux*.tar.gz
cd Kintsugi-27B-amd-test-*-linux
# put Kintsugi-27B-12G.gguf in models/
./selftest-amd.sh > selftest.txt 2>&1

Then send the whole selftest.txt:

If the self-test passes, you can start the server with ./start-amd.sh (OpenAI-compatible API on
http://127.0.0.1:8080/v1) and stop it with ./stop-amd.sh.

What the self-test does

It changes nothing on your system. It prints your kernel, driver, groups and cards; runs the engine's GPU op tests
against the CPU (matrix products, attention, the recurrent layers and others); then, if the model file is in
models/, loads the model and writes 16 tokens for two short prompts, and stops the server.

Known limits

  • Linux only. No Windows build yet.
  • 16 GB or more: there is no tiered K/V cache on AMD, so the whole context is in VRAM (32 GB: 262,144 tokens; 16 GB:
    about 172,000 tokens with q4_0 K/V).
  • Exact prompt read only (no fast int8 read on AMD yet), so long prompts read more slowly than on NVIDIA.
  • Not tuned for speed on AMD yet. We have not run it on an AMD card ourselves.
  • One file per GPU family: the gfx1201 tarball does not run on RDNA3 cards, and the reverse.

Each tarball has a .sha256 file next to it. Licences: LICENSE in the tarball (MIT engine, a fork of llama.cpp);
the small-batch kernels and their ROCm layer come from exllamav3 (turboderp, MIT); the ROCm runtime libraries keep
their own licences (see NOTICE.txt and licenses/ in the tarball).