Skip to content

Releases

v2.1.0: Practical 3D V-Cache Acceleration for Local AI

Choose a tag to compare

@simonezpx3 simonezpx3 released this 16 Nov 19:04

zen-vcache-ai v2.1.0

Practical 3D V-Cache (Ryzen X3D) acceleration, reproducible microarchitectural benchmarks, AVX-512 kernels, and llama.cpp hybrid MoE tuning recipes for local AI on 8 GB VRAM GPUs.

Highlights

  • 6-Core MoE Pinning (vcache-run): Pins hybrid MoE inference to cores 2-7 on single-CCD 7800X3D, avoiding DDR5-6000 saturation while keeping cores 0-1 free for the OS.
  • Non-Temporal MoE Prefetch (patches/ggml-moe-nta.patch): Adds GGML_MOE_NTA=1 (_MM_HINT_NTA / _mm_stream_si64) to prevent cold DDR5 expert streams from evicting hot 96 MiB L3 lines (76.3 tok/s on Qwen3.8-35B-A3B, +22.2% pp128).
  • Zero-VRAM Speculative Decoding: N-gram drafting (ngram-map-k4v,ngram-mod) kept hot in L3 cache (80.9 tok/s up to 701.9 tok/s warm on Qwen3.5-9B).
  • AVX-512 Vector RAG Engine: 8-thread VPOPCNTDQ 1M-vector search inside 61 MiB L3 in 162.8 µs (6,144 QPS, 366 GB/s).
  • 26B MoE + q8_0 KV Recipe: Gemma 4 26B.A4B at 40.5 tok/s with 50% less KV cache VRAM.

Quickstart

make -C kernels
PYTHONPATH=src python3 -m unittest tests/test_topology.py tests/test_benchmark.py -v
PYTHONPATH=src python3 -m vcache.topology