okami.mom/strata

git clone https://git.nkp.pet/okami.mom/strata

albedocmake: strata_kernels links strata_kernels_cpu (iq_kernels.cu reads the latent colscale table from expert_layout.cpp; strata-q36ref failed to link)a4af4df61

main
7 folders18 files

files

baseline-31/
baseline-63/
configs/
final-auto/
group-fixed-31/
group-fixed-63/
group-fixed-63-32k/
PROBE.md4.1 KiB
README.md6.1 KiB
TRIMMED.md1.1 KiB
benchmark.py15.7 KiB
build-metadata.json848 B
check_code.py2.7 KiB
coding-smoke-check.json1.7 KiB
comparison.csv3.7 KiB
comparison.json11.0 KiB
cpu-tests-final.txt497 B
cpu-tests-review-negative-control.txt134 B
cpu-tests-review.txt1.4 KiB
cpu-tests.txt599 B
final-auto-metadata.json566 B
final-installed-config.json1.0 KiB
probe-results.json9.3 KiB
review-validation.md2.0 KiB
windows_processor_groups_affinity_probe.py10.1 KiB

Threadripper 3990X / RX 6900 XT: Windows processor-group benchmark

Measured on 2026-10-03 with Coder IQ1_M on native Windows 11 Pro 10.0.26300. The 3990X has 64 physical cores / 128 logical processors, 128 GiB DDR4-3200, and one NUMA node spanning two processor groups. The RX 6900 XT has 16 GiB VRAM (gfx1030), driver 32.0.21045.5002.

With the same explicit 63 workers and 3,245 effective expert-cache slots, decode medians changed from 12.69 to 46.09 tok/s for short inputs and 13.08 to 47.43 tok/s for 4K inputs after preserving processor groups when pinning threads. The implementation is PR #626. It leaves automatic worker sizing unchanged. See the full report for all rows and limitations, and PROBE.md for the topology/API probe.

Provenance and conditions

comparison.csv and comparison.json collect median/min/max values from each saved summary. Every session includes requests, generated text, stream timings and usage in raw.jsonl, an excluded warmup.json, health snapshots, and engine log excerpts. The single 32K observation and final automatic-cache validation are labelled separately from the paired comparison.

Automatic settings before the review follow-up

The final build at d828e8e2cea24908f9d24597e987257ed293acc1 removed the earlier hardware-specific cap. Started without --pool-workers, it selected 63 workers. Auto cache selected 2,675 slots, with 1,143 MiB free after startup. Its three-run short/4K decode medians were 43.13 / 57.91 tok/s; TTFT medians were 2.20 / 14.29 seconds. These validate the final default path, but the different cache capacity and generated text/draft acceptance mean they are not the matched before/after affinity comparison. See final-auto, final-auto-metadata.json, and final-installed-config.json.

Reproduce

Build each source revision using tools/hip/build_windows.bat with the toolchain/flags in build-metadata.json. Install and verify the model as described in the original release report. Copy the matching config to a local file and update its absolute executable, model, tokenizer, profile, library and log paths. Start one loopback server at a time from the repository root:

python serve/server.py --engine strata --config path/to/local-config.json --port 8081

Once it is ready, run the standard-library-only harness, keeping each configuration's output separate:

python bench/results/2026-10-03-windows-groups/benchmark.py --url http://127.0.0.1:8081 --cases short,4k --runs 3 --out bench/results/repeat-groups --log path/to/engine.log

Restart the model between configurations; use a new output directory and verify prefix_reused_tokens is zero. To reproduce the single longer check, use --cases 32k --runs 1. For final automatic selection, use the final code revision and omit --pool-workers, with --expert-cache auto. Do not overwrite the recorded evidence directories.

The generated clamp function passed 2,001 bounded integer cases in coding-smoke-check.json; reproduce with check_code.py --url http://127.0.0.1:8081. This is an operational smoke check, not a general coding-quality score. cpu-tests-final.txt records the pre-review affinity and stress-test invocations. cpu-tests.txt is the earlier candidate's record and includes a worker-default test subsequently removed with that proposal. Both the AVX-512 pool self-test and pool_stress skipped their workloads on this CPU. The latter returns zero, so its CTest "Passed" line does not establish a stress-workload pass. Linux compilation was unavailable because the configured WSL image was missing.

Review follow-up

The later host-restoration correction in PR #626 uses reversible CPU Set selection and is covered by separate review validation. It was built and tested, but throughput was not remeasured; all speed figures above remain tied to their original recorded revisions. Local account-name components in captured test paths are redacted as <user>; test names, outcomes and timing values are unchanged.