DigestAI news desk

Cut through the AI noise.

Hardware & Computeupdated 9 min read

CachyLLama: AMD-optimized llama.cpp fork for local LLM inference on APUs

CachyLLama is a performance-focused fork of llama.cpp designed specifically for running local large language models on AMD APU hardware, including integrated GPUs and handheld devices. Unlike upstream llama.cpp, which prioritizes raw model execution, CachyLLama optimizes for end-to-end agentic throughput on shared-memory systems. It introduces several key innovations, including a persistent KV…

3 sources primary source

Key points

  • CachyLLama optimizes llama.cpp for AMD APUs, achieving up to 41% decode speedup on DeepSeek-V4.
  • Features persistent KV cache and MoE expert residency to run large models on limited RAM.
  • Includes custom Vulkan shaders like Lightning Indexer and quantized-KV flash-attention for RDNA3 hardware.

The project features advanced MoE expert residency, allowing models larger than physical memory to run at near-RAM speeds by keeping only active expert weights in memory. Benchmarks show significant speedups on AMD Radeon hardware, such as a 41.1% increase in decode speed for DeepSeek-V4 models. The fork also includes custom Vulkan optimizations, such as the Lightning Indexer and quantized-KV flash-attention improvements, tailored for RDNA3 and Strix Halo architectures.

CachyLLama supports a wide range of model architectures, including Qwen3.5/3.6, Gemma 4, and GLM-4.7, with specific support for hybrid MoE/SSM models. It is released under the MIT license, with the parent project using GPL-3.0. The ecosystem includes CLIO, an agentic client optimized for CachyLLama's persistent cache features, and provides detailed documentation on expert activation tracking and user isolation mechanisms.

The story so far

3 episodes →
  1. CachyLLama: AMD-optimized llama.cpp fork for local LLM inference on APUsthis story
Full story from github.com · via Reddit AI communities primary sourceOpen source ↗

CachyLlama archived?

github.com · 14 September 2026

Loading the full article…

This text was published by github.com. It is reproduced here with attribution so you can read it in full; the rights remain with the publisher. Read it at the source ↗

Coverage and discussion

3sources
Topics · follow one to build your own front page
AMDllama.cppDeepSeek-V4Qwen3.6Gemma 4GLM-4.7

The headline, key points and digest above were generated by Digest AI's editorial model from the linked sources. Automated summaries can contain errors: the sources are the record. Spotted a mistake? Tell us. Published by Martin K., who runs Digest AI and handles corrections.

Comments

via GitHub Discussions

More in Hardware & Compute

All →

Related stories