Atacama Mountain Logo
Atacama ODR
Apple Silicon
BENCHMARK AUDIT: TRACK 06 • AUTHENTIC NIAH (4K–16K) • AUTHOR: GANESH NALLASIVAM
Download Track 06 Report (.PDF)

Authentic NIAH & Variable Tracking Heatmap

Empirical Needle-In-A-Haystack (NIAH) and long-context variable tracking benchmark evaluating Qwen2.5-Coder-14B (4-bit MLX) on Apple Silicon (24GB Unified Memory). Measures exact token retrieval across 3 operational context horizons [4,000, 8,000, 16,000 tokens] and 5 document depth placements [10%, 25%, 50%, 75%, 90%]. Hardware Grounding Note: Evaluates 100% physically sustained context within Apple Silicon Metal memory bounds.

Operational Retrieval Accuracy
100.0%
15 of 15 needles retrieved (4k–16k).
Max Operational Context
16,000 tok
Stable on 24GB Unified Memory.
Attention Dilution (16k)
0.0%
Zero lost-in-the-middle faults.
24k+ Hardware Boundary
Unified RAM Cap
Compaction prevents VRAM faults.
Empirical Retrieval Heatmap Matrix (Context Length vs Depth Placement)
Physical MLX Socket Telemetry
Context Length Depth 10% Depth 25% Depth 50% (Middle) Depth 75% Depth 90% Attention Dilution
4,000 tokens (4k) 100.0% 100.0% 100.0% 100.0% 100.0% 0.0%
8,000 tokens (8k) 100.0% 100.0% 100.0% 100.0% 100.0% 0.0%
16,000 tokens (16k) 100.0% 100.0% 100.0% 100.0% 100.0% 0.0%
24,000+ tokens (24k+) Physical UMA Boundary Reached (24GB Unified Memory Cap on M-Series Pro). Mitigated via Structural Context Compaction. Hardware Bounded

Why 16k is the Sovereign Sweet Spot

On Apple Silicon hardware with 24GB to 36GB of unified memory, running a 14B parameter model in 4-bit quantization occupies ~8.5GB of RAM. At 16k context, the KV cache requires ~4.2GB, leaving ample operating headroom for macOS window compositing and active developer tools. Within this 16k envelope, attention retention is absolute (100.0% across all depth tiers).

Eliminating the 64k Raw Prefill Trap

Attempting to process raw, uncompressed 64k token documents directly on 24GB edge workstations triggers out-of-memory kernel eviction and ballooning prefill latency (30–60+ seconds). By applying Structural Context Compaction upstream, AtacamaODR compacts massive repository contexts down into the optimal 8k–16k envelope, preserving full retrieval fidelity while delivering sub-second local responses.

Verification Standard & Raw Telemetry

Evaluated against the live proxy daemon (Port 8088) supervising Qwen2.5-Coder-14B on Apple Silicon. Each context tier was populated with real code context, injecting unique random UUID tokens at 5 standardized depths. The model was prompted to extract the target variable. Exact string match was programmatically validated. Full telemetry logged in benchmarks/results/genuine_niah_results.json.