10 KiB
DeepSeek IQ2_XXS preparation · 24 October 2026
Follow-up comparison completed after Michael's explicit Go: Measured results, blind quality assessment and verified Qwen restoration. Later context-capacity test: 32K,64K and128K measurements completed successfully with Qwen restored.
The restrictions below describe the earlier preparation-only authorization; the later execution and current restored production state are recorded there.
Michael authorized downloading DeepSeek-V4.1-Flash-1017 IQ2_XXS and preparing a test. No production replacement, model unload, inference test, endpoint registration, or application/runtime update is authorized by this preparation. The existing Qwen IQ3_XXS weights, packs, runtime and profiles remain intact.
Current preparation
Completed on 24 October 2026. All seven files passed the configured SHA-256
checks, the download exited0, official metadata packing succeeded and the signed
engine's --pack-info confirmed every referenced file and supported tensor type.
See preparation-result.json. No inference was run. Qwen's original worker
remained loaded and healthy; its GPU memory use stayed11353/15530MiB.
About90.4 GB (84.2GiB) remains free on /data after preparation.
Separate native directory on Athena's data NVMe:
/data/athena-deck-strata/experiments/deepseek-iq2-20261024
Downloads and preparation ran in that directory. The operation is not a new
container, permanent service or scheduled task. prepare.py performs only
acquisition, official signature/hash checks, metadata packing and --pack-info.
The upstream engine implements --pack-info before device/weight initialization.
It does not execute upstream setup's GPU smoke test or launch the server.
Preparation can run asynchronously. Read preparation-status.json on Athena:
only ready_for_manual_test means all
downloads, the signed engine and pack validation succeeded. It still explicitly
means that GPU inference and production integration have not been tested.
failed preserves a concrete error; partial downloads remain resumable. Logs:
download.log, download-resume.log if needed, engine-download.log,
prepare.log, pack.log, pack-info.log and python-setup.log.
Seven model/support files total 256,816,878,701 bytes. About 349 GB was free
on /data before acquisition. The pack indexes original files rather than
copying the 138 GB backbone. No other model or data is deleted to make room.
Fixed sources
- Official source tag
v0.2.4, commit96ca4383c7b05a8a3e6064c65d9e9977d4b3bb59, in the isolatedsource/. - ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-GGUF, revision
cb02422c900df489cea5833e8a92171224059b3c: four IQ2_XXS shards and Engram. - Unsloth support files, revision
f924b94f19c1fea02c06a65c8475b0a45e2b88b1: DSpark Q8_0 and the 5.8 MB metadata-only first UD-Q8_K_XL shard. No other large Unsloth shards or vision files are downloaded. - Every filename, size and original SHA-256 is in
weights-manifest.json, extracted from that official setup's pinned constants. aria2 verifies the supplied SHA-256 and supports resumption; failed downloads cannot mark ready. - Separate release asset
strata-dsv41-0.1.49.2-linux-x86_64-cuda-cuda13.tar.gz, 439,871,969 bytes, SHA-256918a2155ad6bad0ef6d54e57280dfc7cf6fe713838ca9303300bccaebf275283. Its version differs from the original source tag because upstream refreshed the DeepSeek package in the same release. The officialstrata_control.dsv41_engine.install_packageverifies its trusted signature and every packaged file. The production Qwen 0.1.48 engine is not touched. - Isolated
venv/uses native host Python 3.13 and pinned upstreamrequirements.txt.python-lock.txtrecords installed dependencies. No host Python packages, CUDA drivers or production environments are changed.
The official pack command is reproduced exactly: four explicit shards,
--engram, --engram-meta, --dspark-gguf, --dspark-noise-token 128799,
--dspark-markov-rank 256. No --skip-tensors or --dense-override.
The shipped profile-2.00.bin is copied into the pack as expert-profile.bin.
Prepared hardware plan, not measured performance
hardware-plan.json is computed by upstream strata_control.dsv41_fit.plan
using actual GPU identities/capacities and total RAM: RTX 3060 12 GiB,
RTX 5080 about 16 GiB and about 62.7 GiB RAM reported by Linux. It returns
tight, both cards and --tp 2. Roughly 107 GB of CPU-lane experts exceed RAM;
SSD reads remain essential. These are planner estimates, not observed placement
or a speed prediction. Qwen is currently using the GPUs; the plan assumes a
later safe unload, not simultaneous DeepSeek operation.
On successful preparation, test-config.json uses both cards [0,1], official
--tp 2, 8192 context, --dspark auto with confidence 0.65, and a private
loopback server on port 19084. No speculative CPU/thread/split tuning is applied.
No image support or simultaneous requests are claimed for DeepSeek.
Fixed later comparison
cases.json contains ten synthetic cases selected before either model answers:
the first two per category from the prior IQ3 suite: German, Python coding,
diagnosis, simulated tool choice, instruction adherence. Rubric per task:
correctness 0–4, instruction following 0–2, evidence/uncertainty 0–2, German 0–2.
Record Chinese/Cyrillic intrusions and misspellings separately; legitimate code
and quotations are exempt. No claim of general superiority from ten tasks.
measure.py is inert without --run. It never launches/stops workers, touches
production settings, executes generated code or calls real tools. mock_tools.py
contains only fixed local responses and rejects state-changing calls. Any later
code evaluation must use the existing isolated sandbox, never the host shell.
Two phases per model, one request at a time:
--speed-only: two identical short German backup-writing requests, seed42, temperature0, top_p1, thinking off, max256 output tokens. First and cached repeat are separate; model-loading time is not decode time and a fresh request is not necessarily a cold filesystem cache.- Ten quality cases, seed42, max2048 output tokens including thinking, requested reasoning budget1024, at most four mock steps and 900 seconds per case. Qwen: temperature1/top_p0.95/top_k20/presence0/repeat1 and medium effort. DeepSeek: temperature1/top_p1 and low effort (upstream's numeric50). These model-specific efforts are not identical thinking workloads; record effective limits and truncation. Never tune from observed answers.
The harness records usage, backend timing objects, first stream token and first answer token times, wall duration, errors, finish reasons, mock validation and final synthetic answer; it discards reasoning text. Compute input/output rates only from actual backend token/time counters, weighted by sum(tokens)/sum(time). Do not label whole-request wall throughput as decode or fabricate missing metrics. Blind-score shuffled responses before checking identities. A larger quality study is a separate decision after this pilot.
Later execution requires a separate explicit Go
Before a later test, recheck active and queued productive requests; let them finish. Snapshot the then-active Qwen profile/settings, perform a regulated unload through Deck, and arrange finally-protected restoration of that exact profile. Never start DeepSeek alongside the currently full Qwen GPUs, kill productive requests or assume the old IQ3 benchmark's restore paths still fit. Production requests take priority. This preparation does not implement or authorize the model switch.
After that separately authorized safe switch, use the isolated native server:
cd /data/athena-deck-strata/experiments/deepseek-iq2-20261024
CUDA_VISIBLE_DEVICES=0,1 venv/bin/python source/serve/server.py \
--engine strata --config test-config.json --host 127.0.0.1 --port 19084
Wait for actual health/model readiness before calling measure.py. Example
for a worker already started safely (not executed during preparation):
venv/bin/python measure.py --arm deepseek --speed-only --output speed-deepseek.jsonl --run
venv/bin/python measure.py --arm deepseek --output quality-deepseek.jsonl --run
Use the same fixtures against a separately prepared Qwen test worker. Do not point this harness at the production ports 8120/8108; it refuses those ports. Outputs are created exclusively and never overwritten. Restore Qwen and verify its version, health, profile/settings and TTS/STT after any later model test.
Native reproduction and preparation checks
Requires Debian x86_64 with compatible CUDA13 driver, Python3.12+ including
venv, git, aria2c, internet and model size plus at least10 GB free. The runtime
is not dependent on a Docker image or hidden production mounts. As the intended
service user, run sh acquire.sh /absolute/new/experiment-directory. It creates
only that destination, uses the same source/package/model pins, and never starts
inference. For interrupted preparation, inspect status and rerun
python3 prepare.py DIRECTORY; do not rerun against unrelated directories.
Keep scripts together with their execution directory. No weights, secrets or
production logs belong in Git; the manifest reacquires public artifacts.
Checked during preparation: Python syntax, CLI dry-run with no network/inference,
ten unique fixtures, accepted expected mock calls, rejected restart mock calls;
isolated pinned Python environment installed. The separate engine0.1.49.2 passed
the official trusted-signature and full package-file verification. Native ldd
resolves every library (CUDA13 libraries included in the package); the server's
--help completes in the isolated venv without loading a model. Production Qwen
remains commit 5c8dd322528cc84f68f461ad54a506b9da8fa8d4, worker port50439,
model flash-next-strata-iq3-dual. Model acquisition and pack validation are
complete. GPU inference, quality, speed,
Deck profile/API integration and production restoration remain untested.
Official references: