Using AMD-Specific Patches to Boost Llama.cpp Performance

devnull.land2 min read

The author recommends using the llama-cpp-rdna-boosts repository, which provides a minimal set of AMD-specific patches for llama.cpp. Testing on an eGPU setup with an AMD graphics card, the author observed significant performance increases, raising token generation speeds from 35 to 55 tokens per second and prefill speeds from 700 to 1300 tokens per second. Open article →