mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-09-20 01:31:31 +02:00
25f3c82768
Make the source build fallback (priority 3 in scripts/ui-assets.cmake) download llama-<version>-ui.tar.gz from GH Releases, verified against the asset digest from the GitHub API (available for all releases, including existing ones). When the exact version is not found, fall back to the most recent bNNNN release, resolved via the API (the releases are marked as prereleases, so /releases/latest does not match them). GH_TOKEN/GITHUB_TOKEN can be used for authenticated downloads. Remove LLAMA_UI_HF_BUCKET and the HF_UI_VERSION env var; the UI version is now always derived from LLAMA_BUILD_NUMBER. Assisted-by: pi:Kimi-K3