Skip to content

ARGUS v2.4.0 — Cross-Vendor UMM, Qwen4-35B-A3B on 4 GB VRAM & Release Hardening

Choose a tag to compare

@Zwannfrederick Zwannfrederick released this 04 Dec 22:01
· 1 commit to main since this release

ARGUS v2.4.0 — Cross-Vendor UMM, Qwen4-35B-A3B Live on 4 GB VRAM & Release Hardening

Highlights

  • Real 3-Shard Qwen4-35B-A3B (32.90 GB on disk) Live on 4 GB RTX 3050 Ti:
    • 16,384 allocated context capacity (37–56 tok measured multi-turn prompts): 20.39–20.83 tok/s decode, 3,064 MiB peak VRAM (730 MiB free), 10.99 GiB PLE N-gram table kept lazy on SSD (20.0 GiB initial read, +40.8 MiB paged during 3-turn chat + cancellation), clean cancellation recovery, 0.465 s shutdown (0 coredumps).
    • 32,768 allocated context capacity (KV q4_0 GPU): live verified on RTX 3050 Ti (3,209 MiB VRAM, 585 MiB free, 19.6–20.4 tok/s).
    • Zero regression vs v2.3.0: 20/20 CUDA native tests PASS (81.15 s), Gemma 4 26B 22.75 / 36.25 / 50.81 tok/s (+8.3%..+11.4%), Qwen 3.6 35B 29.71 / 41.27 / 54.65 tok/s (+8.3%..+14.5%).
  • Upstream llama.cpp Rebase (1579b02545274244eb159d204218d8dfab37baf0, v1.1.1 / b12977): Day-0 qwen4exp, --lazy-mode, multi-shard GGUF, QSA sparse indexer KV accounting, and sidecar mtp-*.gguf discovery.
  • Cross-Vendor Backend HAL & 5-Regime UMM (R0..R4):
    • A100-SXM4-40GB (R3 CUDA): 32,768 allocated ctx (2,437/4,838 tok measured prompts) 98.07 tok/s (0.995× stock, bit-exact, 20,900 MiB vs 20,914.3 predicted +0.07%); opt-in MTP n=2 113.5–137.4 tok/s; 65,536 allocated ctx / 55,112 measured prompt tok (3,526.5 tok/s pp, needle_ok=True); -np 4 cancel/KV all_isolated=True.
    • NVIDIA L4-24GB (R3/R2 CUDA): 32,768 allocated ctx 54.68 tok/s (1.07× dec, 1.48× pp2k, bit-exact); opt-in MTP n=1..2 51.5–76.4 tok/s; 27,574 measured prompt tok (needle_ok=True); -np 4 cancel/KV all_isolated=True.
    • Tesla T4-16GB (R2 CUDA, 12 GiB RAM, Swap=0): 16,384 allocated ctx (4,838 tok measured prompt) ncmoe=16, kv=gpu (13.73 tok/s, 13,447 MiB VRAM) beats ncmoe=14, -nkvo (12.31 tok/s, 14,271 MiB) by +11.5% and -824 MiB.
    • CPU-Only (R0) & Intel Iris Xe Vulkan (R4 UMA, Mesa ANV 25.2.8 /dev/dri): Verified (56.21 tok/s CPU, 56.61/55.53 tok/s Vulkan UMA, bit-exact parity).
  • Phase III Hardening (P0–P4):
    • Separated --profile portable (AVX2-only, AVX-512 OFF, multi-arch CUDA 75;80;86;89) from --profile native in scripts/build_backend.sh and CI, emitting argus_build_fingerprint.json hashed into CalibrationKey with a pre-launch CPU ISA host guard.
    • Joint Host RAM + VRAM Hard Admission Guard calibrated to T4 12 GiB / Swap=0.
    • Explicit Qwen4 native VoC unsupported_dim_mismatch fallback (projection_applied: false, zero ad-hoc projection).
    • Calibrated opt-in Adaptive MTP (OFF by default, ARGUS_ADAPTIVE_MTP=0): n=1..2 bounds for single-layer MTP, verification-duration + effective tok/s net-benefit downshift, and default low-K + MTP block (ARGUS_MTP_ALLOW_LOW_K=1 experimental override only).
  • GGUF Parser & WebUI Fixes:
    • Replaced BufReader::seek + stream_position in gguf_reader.rs with userspace pos + seek_relative, eliminated uncached match_mmproj_for_model re-parses and /api/models write-lock contention (~17 s -> ~2.9 ms), and summed multi-shard GGUF disk sizes (30.64 GiB for 3-shard Qwen4).
    • Fixed WebUI streaming UI freeze via requestAnimationFrame-coalesced Markdown rendering, removed aria-live="polite" from the message stream container, added reasoning_effort (low/off/high) and opt-in zero-dependency Web Search (web_search: false default OFF).

Known Limitations & Honest Hardware Status

  • AMD ROCm / HIP (gfx942 / gfx1100): COMPILE_VERIFIED / HW_PENDING — ROCm 6.3.3 hipcc compilation verified; NOT production-ready until physical MI300X gates pass (scripts/rocm_headless_bench.sh, docs/plans/rocm-mi300x-validation-plan.md).
  • NVIDIA Blackwell (B200 / RTX 50xx) & Apple Metal: UNTESTED on physical silicon.
  • Qwen4 P3 Layer-Major Prefill: Intentionally disabled in C++ (llama-context.cpp) and Rust (planner/moe.rs) due to 4 proven structural incompatibilities (argus_pass, 4× HC residual width, PLE ubatch.token==nullptr, missing llama_memory_hybrid_idx_context::argus_seek()).
  • Qwen4 Native VoC Gate: Explicit unsupported_dim_mismatch fallback (projection_applied: false) until an 8192-dim gate is trained.
  • Adaptive MTP: Default OFF (ARGUS_ADAPTIVE_MTP=0); N=32-seed stochastic probe is a non-collapse check, not high-power distribution equivalence proof.

Checksums & Verification

Attached assets include argus_cache-2.4.0.tar.gz (sdist), argus.patch, argus_build_fingerprint.json (portable AVX2 CPU reference), and SHA256SUMS.txt.