mirror of
https://github.com/lemonade-sdk/llama.cpp.git
synced 2026-11-22 19:59:26 -10:00
b10499
HIP compilation bypassed ccache because CMake's RULE_LAUNCH_COMPILE (set by ggml) only applies to C/CXX by default, not the HIP language. All device code compilation went uncached, causing 50-99% miss rates and 2-3 hour builds instead of ~15 min. Set CMAKE_HIP_COMPILER_LAUNCHER=ccache explicitly on both ubuntu-22-rocm and windows-rocm jobs so HIP compilation goes through ccache. Evidence from job 95717810047 (Ubuntu 7.13): - 50% hit rate, 682 misses, 137 min build - Cache size 0.60/2.00 GB, no cleanups (prior max-size fix working) - Zero "ccache" prefixes on "Building HIP object" lines Confirmed on Windows: job 95259413610 (7.13) had 0.5% hit rate and 193 min build, while 95259413584 (7.14) had 99.6% hit rate and 9 min build when ccache worked by chance. Expected: >95% hit rate, ~15 min ROCm builds on warm cache. Co-Authored-By: Claude <[email protected]>
Lemonade llama.cpp fork
This repo is a "Github actions only" fork of llama.cpp that is built with more ROCm releases than upstream llama.cpp supports.
These are built for the purpose of lemonade use, but they can be utilized by any project. Releases just need to be used with matching AMD ROCm SDK releases.
Cadence
The builds are triggered nightly, or can optionally be triggered on demand as well.