Skip to content

amd-test-5b: AMD fused-read fault fix, deep needles, decode repeat (Windows + Linux, RDNA3 + RDNA4)

Pre-release
Pre-release

Choose a tag to compare

@professorpalmer professorpalmer released this 24 Nov 06:13
· 13 commits to main since this release
888761f

Superseded by amd-test-5c: https://github.com/professorpalmer/Kintsugi-27B/releases/tag/amd-test-5c

amd-test-5b: the fix of the three GPU faults of amd-test-5, and a repeat of the decode legs (Windows and Linux). It replaces amd-test-5. Thank you, Lazm (issue #11) and Mustafa YILDIRIM (@mustafayildirim): your amd-test-5 reports (RX 7900 XTX and Radeon AI PRO R9700) found the faults on both card families, and Lazm asked the right question about the 32k decode number.

  • Fixed: the GPU memory faults of read-fused, read-fused128 and step 8's int8 read run (RDNA3 and RDNA4). All three were one bug in the fused int8 read kernel: it ran in blocks of the wrong shape for the matrix-tile code it uses, so the last block of each matrix wrote past the end of its output. The kernel now runs in the right block shape, and a new check on our side (no GPU needed) tests every memory access of the kernel against its buffer. With it, KINTSUGI_SELFTEST_ONLY=meter should complete again (your report is the check). The settings that step 7 chose in amd-test-5 did not use this kernel.
  • New: the repeat legs. Step 7 decodes again with the chosen settings in a fixed order: 4k, then 32k, then 4k. Each leg shows its speed and how many draft tokens were accepted, and on Linux also the GPU clock, temperature and power during the leg. So the next report shows if the 32k decode (81.9 tok/s, faster than 4k in amd-test-5) comes from the clock, from the drafting or from the kernels.
  • New: step 9, deep needles. 8 facts in a text as long as the full window that the launcher plans for your card (245,000 tokens on a 262,144-token window), on a server with the settings that step 7 chose. It counts the right answers and how each answer ended. This is the long-context check of our NVIDIA releases.
  • Everything else is as in amd-test-5 (the bandwidth meter, the tiles decode kernels, the RTX 4070 reference row).

Not the stable release: the Latest release stays the one for NVIDIA cards.

Which file

File Cards
Kintsugi-27B-amd-test-5b-rdna3-win-x64.zip Windows: RX 7900 XTX / XT / GRE, RX 7800 XT, Radeon PRO W7900 / W7800 / W7700 (gfx1100, gfx1101)
Kintsugi-27B-amd-test-5b-rdna4-win-x64.zip Windows: RX 9070 XT, RX 9070, RX 9060 XT 16 GB, Radeon AI PRO R9700 (gfx1201, gfx1200)
Kintsugi-27B-amd-test-5b-rdna3-linux-x86_64.tar.gz Linux: the RDNA3 cards above
Kintsugi-27B-amd-test-5b-rdna4-linux-x86_64.tar.gz Linux: the RDNA4 cards above
Kintsugi-27B-amd-test-5b-engine-src-fc0972896.tar.gz the engine source of this build (commit fc0972896; NOTICE names it)

You need: a Radeon card with 16 GB of VRAM or more; Windows 10 / 11 with a recent AMD Software: Adrenalin Edition, or
native Linux with glibc 2.38+ (Ubuntu 24.04 or newer) and the amdgpu driver. About 25 GB of free disk space.

One command

  1. Unpack the file for your card. Put Kintsugi-27B-12G.gguf from https://huggingface.co/CaryPalmer/Kintsugi-27B in
    the models folder (SHA-256 0510bae82445dc53dbc7d0d842d8b7e146b8eafce0837e39b157d411e48c8a74). You can move the
    model file from the folder of an earlier AMD test build. Do not copy autotune.txt from an earlier build.

  2. Run the self-test:

    • Windows: double-click selftest.cmd
    • Linux: ./selftest.sh

    It takes about 40-55 minutes on an RX 7900 XTX (an estimate: step 9 adds about 5-25 minutes; the report shows the real time). KINTSUGI_SELFTEST_DEEP=0 skips step 9. Close other programs
    that use the GPU first: step 8 puts 7.5 GB of the model in VRAM.

  3. Paste the WHOLE report (from ==== Kintsugi-27B AMD self-test report to ==== end of report ====, with the
    7 ... and 8 ... lines) into an issue with the amd-test label:
    https://github.com/professorpalmer/Kintsugi-27B/issues/new?template=amd-test.md, or send it to the project owner.
    The block has no computer name, user name or folder path.

To use it after the test: start-server.ps1 -Wait (Windows) or ./start-server.sh --wait (Linux), then
http://127.0.0.1:8080/. It uses the settings of autotune.txt.

Known limits

  • We have no AMD card: the fix is checked by our builds and the new bounds check, not on a card. The self-test is the
    check.
  • The whole context is in VRAM on AMD (no tiered K/V cache): hence the 16 GB minimum.
  • Windows: the repeat legs show the speed and the draft acceptance, but no GPU clock (the bundle has no clock source
    on Windows).

Built from engine commit fc0972896 (branch research/amd-speed) with ROCm 7.14.1 and clang 23 (Windows) / GCC 13
(Linux). Credits: CREDITS.md in each file. Licences and notices: LICENSE, NOTICE, licenses/.

SHA-256:

  • Kintsugi-27B-amd-test-5b-rdna3-win-x64.zip 537ecdbc96f79e11849704f4d60cd848e37966963027940b2a87acd573f91170
  • Kintsugi-27B-amd-test-5b-rdna4-win-x64.zip ea750f2308b8d5625812cb4c91dbb6ae5b4cbe6b3a0a4e3e99b06fcd09abb3ee
  • Kintsugi-27B-amd-test-5b-rdna3-linux-x86_64.tar.gz 9c93887fd002c6981d79849a85e215403bd26d4fafe59ab09468301734c98de4
  • Kintsugi-27B-amd-test-5b-rdna4-linux-x86_64.tar.gz 4cc92c09b9a401ee16ad61894f2de7718a62170c47429cab67a5c206bd08d0e4
  • Kintsugi-27B-amd-test-5b-engine-src-fc0972896.tar.gz 942309887789eb7a37d1f79d008eda31516be0ff8b321d732f0a5098ad192d7e