third_party/strata-llama (919 files, 22 MB, llama.cpp's llama, mtmd and ggml at the pin) fed only two picture-reader test programs that no build or package compiled. Both go: strata-vision-gguf-test and its gguf_meta.h opened a GGUF through llama.cpp's API and nothing else used them (the own reader reads GGUF with gguf_lite; test_gguf_geometry.cpp section 1b now covers a GGUF with unknown tensor types and missing shards); strata-vision-prep-oracle stays as a test oracle that takes an external checkout (-DLLAMA_DIR=, not vendored, never shipped). The overrides kept "for two releases" are removed: STRATA_GGML_DIR in the CUDA, HIP, SYCL, Spark, Mac and Windows build scripts and in setup.py, LLAMA / GG / LLAMA_CPP / --llama, and STRATA_GGUF_PY in the tools and setup (llama_override, get_llama_cpp and llama_cpp_if_here stay as stubs that return None because tests patch them). The CMake option that remains is -DSTRATA_ORACLE_GGML_DIR, for test builds only: it is refused without STRATA_BUILD_TESTS, so a release configure cannot take it. Release engines, readers and packages are unchanged: none of them compiled or linked anything of the deleted tree.
5.0 KiB
OrcaRouter IQ3_XXS compatibility
This page is for people who want to run orcarouter/Qwen3.8-Flash-Next-Uncensored-GGUF (IQ3_XXS, two shards,
85.20 GB) with Strata. It is a manual conversion workflow from a source checkout. OrcaRouter is
not an installer menu entry, and there is no --family orca command.
Quick start
- Build Strata normally, then pack the model (Preparation).
- Prepare the optional draft head (MTP) with the same section's commands.
- Save the config from Local server and start the server.
How it works
The model has Strata's Qwen4Exp geometry. Ordinary quantization also compresses the hyperconnection, small attention
and PLE projections, which Strata's kernels read as BF16. terminal/tools/iq_pack.py --compat-bf16 expands only those
projections, rounding to BF16 with nearest-even. This adds rounding relative to the GGUF's dequantized weights. It does
not recover the original BF16 checkpoint or its quality.
Expert weights, native attention weights, embeddings and the 28.8 GB PLE lookup table stay unchanged, and the lookup
table stays on disk. The pack records its conversions in compat-bf16.json. Hugging Face snapshot symlinks work. All
split shards must finish downloading before packing. Pass the snapshot filename, not its hash-named blob target.
Preparation
Python needs numpy and regex. The pack tools carry their own GGUF reader and writer.
terminal/.venv/bin/python terminal/tools/iq_pack.py \
--gguf /path/to/Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf \
--out packs/orca-iq3_xxs --compat-bf16
Use this model's own tokenizer, exported into the pack. Do not share another model's dense.bin, and do not rename
the Orca files to pass as one of setup's GSQ-RCO models.
The persistent server can use the MTP runtime. It is optional: without --mtp the server drafts by lookup only.
terminal/.venv/bin/python terminal/tools/mtp_fetch.py fetch --out mtp
terminal/.venv/bin/python terminal/tools/mtp_pack.py --src mtp --experts q2_0 --out mtp/mtp-q2_0.gguf
terminal/.venv/bin/python terminal/tools/mtp_rt.py --gguf mtp/mtp-q2_0.gguf --out mtp/rt
cp terminal/data/draft_vocab.bin mtp/rt/draft_vocab.bin
This uses the original model's draft head, as setup does for Swift. The target model verifies every proposal. Measure draft acceptance and speed for this fine-tune; the original model's numbers do not carry over.
Local server
Save the following as strata-orca-iq3_xxs.json at the repository root. Replace both /path/to/ entries with the
same first shard, because Orca's PLE table is in shard 1. The config uses a 32K context and 512-token prefill
chunks. The expert cache sizes itself to the available VRAM. The expert arena alone needs about 49.8 GiB of free system
RAM, plus draft and runtime buffers and your other applications.
{
"exe": "build/strata",
"args": [
"--pack", "packs/orca-iq3_xxs",
"--native", "/path/to/Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf",
"--ple-gguf", "/path/to/Qwen3.8-Flash-Next-Uncensored-IQ3_XXS-00001-of-00002.gguf",
"--expert-profile", "terminal/data/expert-profile.bin", "--expert-cache", "auto",
"--prefill", "512", "--spec", "4", "--spec-min-p", "0.5",
"--mtp", "mtp/rt", "--max-context", "32768", "--kv", "int8"
],
"cwd": ".",
"tokenizer": "packs/orca-iq3_xxs/tokenizer",
"model_name": "orcarouter-qwen3.8-flash-next-uncensored-iq3_xxs",
"log": "strata-orca-iq3_xxs.log",
"host": "127.0.0.1",
"port": 8080
}
Run it from the repository root:
terminal/.venv/bin/python terminal/serve/server.py --engine strata --config strata-orca-iq3_xxs.json --port 8080
The web interface is at http://127.0.0.1:8080. API clients use http://127.0.0.1:8080/v1. This example is text-only;
vision is not configured.
Scope
- IQ3_XXS is the only validated Orca quantization.
- IQ3_M uses Q5_0 expert down matrices, which the native GPU expert path does not support.
- The installer model menu does not list this model.
- Packing tests:
terminal/.venv/bin/python -m unittest discover -s tools -p test_iq_pack.py.
History / older measurements
Measured on: Linux, RTX 5090 (32 GB), Ryzen 9 9950X3D, 128 GB RAM, 2026-09-27, the configuration above.
| Check | Result |
|---|---|
| Packing | 460 tensors converted, 1.39 GiB of converted BF16 weights, 1.43 GiB total packed dense weights; the 48 expert layers stay IQ3_XXS gate/up and IQ4_NL down |
| Tests | all eight packing tests, 17 server tests and the GPU gated-residual parity check passed |
| Server smoke tests | arithmetic, Python code, translation, a longer explanation, multi-turn reuse (25 prompt tokens reused), streaming cancellation and a correct answer afterwards; the engine PID stayed unchanged |
| Decode speed | 111-token explanation at 77.7 tokens/s (engine decode timing), 1.77 s total request time |
These are smoke tests and one short measurement, not a quality benchmark, a full-context stress test or a general throughput claim.