Repository navigation
ARGUS v2.3.0
ARGUS v2.3.0 — General-Purpose Hardware-Adaptive Inference Runtime
ARGUS transitions from a MoE-only runtime to a general-purpose, hardware-adaptive inference runtime for Dense, Sparse MoE, Hybrid Attention+SSM/DeltaNet, Pure SSM/Recurrent, Multimodal Vision, and Embedding models on heterogeneous and memory-constrained systems, while keeping MoE optimizations (P3 async DMA, CPU_REPACK, K1/S1 tiered KV, dynamic moe_top_k, Native VoC) as first-class architecture-specific modules.
Highlights
- Composable Model Capabilities & Universal Hardware Discovery: Metadata + tensor-topology inspection (
ModelCapabilities) with exact O(1) recurrent state sizing (RWKV,Mamba,DeltaNet), zero hardcoded family lists, and automatic--fitfallback for unrecognized future GGUF architectures. Linuxhw_discoveryreads physical vs logical cores, hybrid P/E topology, L1/L2/L3 caches, NUMA, SIMD ISA, parent PCIe root-port-clamped link bandwidth (e.g. RTX 3050 Ti laptop Gen3 ×4~3.2 GB/s), NVML, RAM/swap, and Linux PSI with D3cold safety. - Universal Placement Planner &
mmprojProtection: UnifiedFullGpu,PartialGpu(-ngl k),CpuOnly,HeteroMoe, andUnknownUpstreamFit(--fit) policies; VRAM-aware--no-mmproj-offloadCPU fallback fixing themmproj -> p3buf=1 -> mmapcascade;--no-vision,--device,--ngl; auto--embeddings --poolingstrictly for embedding models. - Quality-Preserving Auto-Tuner (
argus tune) &CalibrationStore: 10-field composite-keycalibration_store.jsonwith.corrupt.<ts>quarantine recovery, 64 MiB DDR bandwidth probe, RAII ephemeral server teardown, and swap-thrash (>64 MiB), thermal (>=83°C/+12°C), noise-limited, and>=0.85×prefill-regression safety gates. - Capability-Gated OpenAI
/v1/*Gateway & WebUI: Non-MoE models explicitly rejectmoe_top_k > 0,moe_top_k_layers, and MoE-onlyargus_routingwith HTTP400(unsupported_for_model_architecture). WebUI hotfix fixesactiveIdTDZ startup crash, hardenslocalStorage, adds content-hashed?v=static cache busting, and hides MoE routing controls on non-MoE models. - Native Shutdown Fix & Systemd/Waybar Integration: Resolved the
ggml_kv_tiers.cppshutdown crash/hang via explicitargus_kv_shutdown()/argus_expert_cache_shutdown(), single-SIGTERMprocess-group stop, andKillMode=mixed(>25.4 s/13.45 s + coredump→0.79–1.93 s,0coredumps). Added OSflocksingleton guard and pure-Rustargus status --waybar(zero Python/jq, D3cold-safe). - C++/CUDA Hot-Path Generalization: Generalized
argus_dynamic_ram.cppfor Dense/Hybrid host weights and added opt-in Level-2 DenseGGML_OP_MUL_MATprofiling (cpu_mm_compute_ms,cpu_mm_calls_per_tok).
Controlled Multi-Architecture Benchmarks (docs/measurements/v230-2026-12-03/SUMMARY.md)
Verified hardware scope: Measured only on NVIDIA RTX 3050 Ti Laptop GPU (4 GiB GDDR6, PCIe Gen3 ×4 ~3.2 GB/s) + Intel Core i5-11300H (4P/8T, AVX-512 VNNI) + 32 GiB DDR4 (nice -n 5, equal quality temperature=0, seed=42).
| Architecture Class | Model | Placement | Decode / Throughput | Prefill | Peak VRAM | Parity |
|---|---|---|---|---|---|---|
| Embedding | nomic-embed-text-v1.5.Q8_0 |
Full-GPU ngl=13/12 |
133.0 req/s (7.52 ms, CPU 41.12) |
— (dim=768) |
600 MiB | N/A |
| Pure-Recurrent | rwkv7-1.5B-world-f16-q4_k |
Full-GPU ngl=25/24, 0 KV |
103.05 tok/s (IQR 0.34) |
302.4 tok/s | 1,606 MiB | PASS (+cancel iso) |
| Small Dense | qwen2.5-0.5b-instruct-q4_k_m |
Full-GPU / CPU mmap |
239.66 / 56.82 tok/s | 1,288.4 tok/s (CPU) | 526 MiB (CPU) | PASS |
| Attn+SWA-Dense + Vision | gemma-4-E4B-it-Q4_K_M (+946 MiB mmproj CPU) |
Tuned ngl=42/42, mmap |
39.95 tok/s (--fit: 39.91) |
1,042.6 tok/s | 3,498 MiB | PASS |
| Hybrid-Recurrent-Dense + Vision | tencent_UI-Mate-9B-Q4_K_M (+876 MiB mmproj CPU) |
Safe ngl=13/32 (50.3 MiB state) / --fit (15/32) |
8.23–8.70 tok/s | 115.4–117.6 tok/s | 3,236–3,522 MiB | PASS |
| Attn+SWA-MoE + Vision | gemma-4-26B_q4_0-it (+1.2 GiB mmproj CPU) |
HeteroMoe, CPU_REPACK, p3buf=2, p3=cal, 32K |
20.79 / 33.46 / 45.62 tok/s (K=8/4/2) |
57.4 / 113.0 / 201.1 tok/s | 2,754 MiB | PASS (0 regression) |
| Hybrid-Recurrent-MoE + Vision | Qwen3.6-35B-A3B-Q4_K_S (+614 MiB mmproj CPU) |
HeteroMoe, CPU_REPACK, p3buf=2, p3=cal, 32K |
25.94 / 38.11 / 48.85 tok/s (K=8/4/2) |
73.4 / 121.1 / 195.7 tok/s | 2,492 MiB | PASS (+0.2%..+3.1%) |
Negative Findings & Untested Scope
- Dense/Hybrid
CPU_REPACK(--load-mode none --no-host) —NO-GOforSafeDefault: Without MoEP3DMA streaming, disabling hostmmapregressed Dense/Hybrid prefill by-19.1%to-60.2%for<= +4.5%decode change. Dense/Hybrid/Pure-SSMSafedefault remainsmmap. - Physical P-cores (
-t 4) vs SMT (-t 8) — ConfirmedGO: Outperformed SMT by+11.2%to7.1×across all non-MoE architectures. - Untested Hardware Platforms (NO performance claims): GPUs with
>=8 GiBVRAM, AMD ROCm, Intel/AMD Vulkan, Apple Metal, unified-memory (UMA) hosts, and Multi-GPU setups have architectural abstractions only and remain untested. - Closed-Mode Instrumentation Gate: Remains
NOISE_LIMITED_CANNOT_PROVE_1_5PCTunder live-desktop laptop thermal drift (80–81.4°C).
Verification & Artifacts
- CI:
rust-control-plane(rust-ci+cargo-audit+cargo-deny) GREEN ·packaging(sdist+llama-cpp-patch-build+ K1 float64 reference) GREEN. - Local Verification: 39/39 Rust workspace tests, strict
clippy, WebUI XSS suite, 8/8 Python SDK/hygiene tests, 19/19 native CUDA/C++libargustests, zero-PythonPATHsmoke test,twine check --strict. - SHA256 Verification: Download
SHA256SUMS.txtalongside release assets and verify withsha256sum -c SHA256SUMS.txt.