Skip to content

ARGUS v2.1.0 — Hardware Efficiency

Choose a tag to compare

@Zwannfrederick Zwannfrederick released this 02 Dec 16:33
· 31 commits to main since this release

Highlights (RTX 3050 Ti 4 GB + i5-11300H + Gemma 4 26B Q4_0, clean tree 8c5fd11)

  • P0.5 GPU-Resident Hadamard Q4_0 KV-Rotation (llama-kv-cache.cpp): keeps k_rot/v_rot (5.08 MiB) on CUDA0 under -nkvo, cutting decode graph splits 87 → 62 (31 CPU / 31 GPU) while preserving 30/30 heterogeneous overlap launches.
  • P0.6 CPU_REPACK (Q4_0_8x8 AVX-512 VNNI / AVX2) + Overlap + P3 Compatibility: bit-exact streaming argus_unrepack_q4_0x8_strips() verified against live libggml-cpu CPU_REPACK. Reaches 22.52 / 35.50 / 48.10 tok/s (K=8/4/2, balanced -ncmoe 30) and 23.28 / 37.18 / 49.17 tok/s (decode -ncmoe 29, 2,995 MiB VRAM).
  • P2 Double-Buffered Async P3 DMA (ARGUS_P3_BUFFERS=auto|1|2): dedicated low-priority dma_stream + 2×2 MiB pinned bounce ring + cooperative Copy-Engine yield + strictly on-demand slot[1] freed immediately post-prefill (0 MiB idle VRAM penalty). Reaches 450.19 tok/s (mmap, 1.33×) and 439.31 tok/s (CPU_REPACK, 1.76× vs p3buf=1, +30.0% vs v2.0.1 mmap p3buf=1) at 4,766 tokens with 12/12 greedy parity.
  • P1 Adaptive VRAM & RAM Budget Planner (argus_cache/adapters/vram_planner.py): 4 profiles (balanced, decode, prefill, coexist), fixes 577.5 MiB tied-embedding underestimate, fixes -nkvo shared-arena double-counting, accounts for the measured +240 MiB GPU-MoE compute-buffer jump, and RAM-gates auto CPU_REPACK.
  • Verification: GitHub Actions CI run 46925713790 ✓ green (packaging + Ubuntu CPU llama-server & strict -Wall -Wextra -Werror K1 + Q4_0_8x8 un-repack), 43/43 Python tests, 17/17 native CUDA tests, ruff, node --check, and argus.patch parity.
  • Full clean-tree measurements: docs/measurements/v210-2026-12-02/README.md
  • PyPI: pip install argus-cache==2.1.0