3.6 KiB
DeepSeek IQ2_XXS context test · 24 October 2026
Completed: all three contexts succeeded; Qwen restored and independently verified. Measured results and limitations.
Michael authorized 32K, 64K, and if feasible128K context, memory and input/output throughput measurement, waiting for productive work, then restoring Qwen.
Uses the previously pinned native DeepSeek0.1.49.2 runtime and verified IQ2_XXS
pack from ../deepseek-iq2-2026-10-24/README.md; no runtime/profile/weight change.
Only --max-context varies:32768,65536,131072. Same both GPUs, affinity and
upstream automatic RAM store. These are experimental contexts above upstream's
qualified8192default, not an assertion of full long-context quality support.
Protocol fixed before measurements: one fresh native loopback-only worker per
context; deterministic unique synthetic Python lines, prompt count via official
/v1/messages/count_tokens, largest whole-line input at most(context-1024).
Actual OpenAI usage is authoritative if template accounting differs. Output128,
no thinking, temperature0/top_p1/seed42. Three markers at start/middle/end give
a minimal retrieval check, not a coding/long-context intelligence benchmark.
One measured inference per size, no cache reuse deliberately introduced, no
filesystem cache flush. Use backend prompt/predicted counters for rates, never
walltime as decode speed. Record load, TTFT and wall separately.
Memory: every2seconds collect own server+recursive descendant RSS/PSS/private and SwapPss, host MemAvailable/swap, and per-GPU total allocated memory. RSS can double-count shared pages; PSS includes resident mapped model files and is not all anonymous RAM. GPU figures include any unrelated GPU allocations. Preserve TTS/STT; own test stops if host available reserve<1536MiB for5samples. Request bound90minutes, total4hours. No claim of physical SSD read measurement.
Safety follows pilot controller: three idle endpoint checks and direct idle originalworker check, SIGTERM only its uniquely identified idle processgroup, no forced productive kill; new production work stops only own syntheticworker; finally restore exact prior Qwen APIprofile via ordinary authenticated endpoint. Compare settings hashes and workerconfig, verify normal health and loaded TTS/STT. No host/container/Hermes/Mac changes or new services. Config snapshots omit keys.
Native reproduction: existing tested runtime/dependencies and ports as described
by the pilot, explicit DECK_TEST_BASE/DECK_TEST_STATE if paths differ. Copy
run_context.py and context_measure.py beside prepared test-config.json; pass
existing authorized Athena API credential JSON on stdin to venv/bin/python run_context.py --detach. Credentials remain process memory and are not logged.
Inspect active-context-run.txt and context-controller.log; result.json is atomic.
Do not start while another experiment owns port19084. The downloaded model pack
is public and reproducible from the pilot's pinned manifest; no secrets in Git.
Measurement caveat found during execution
The initial process-PSS sampler incorrectly treated the smaps_rollup address header as a numeric field and skipped the process totals. Thus process RSS/PSS/private/SwapPss are unavailable, not zero, for the32K and64K runs. Host MemAvailable, host swap, per-GPU memory and inference counters are valid in all runs. The parser was corrected and checked on its own process before 128K measurement; only that run has usable process-specific PSS. This changed telemetry only, not model/runtime/sampling. Summary maps invalid zeros to null; no repeated inference was needed for the valid host-reserve/VRAM measurement.