[PR #1402] [CLOSED] Qwen3.6-35B-A3B and Ornith-1.5-35B-A3B (qwen35moe): a second, smaller model for 8-12 GB cards #3433

Closed
opened 2026-11-07 14:41:27 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/1402
Author: @aflin
Created: 10/7/2026
Status: ❌ Closed

Base: main ← Head: qwen36-35b-support


📝 Commits (10+)

  • 42bf2ff Qwen3.6-35B-A3B and Ornith-1.5-35B-A3B (qwen35moe): a second, smaller model for 8-12 GB cards
  • 64ec4ce Merge upstream/main (0.1.40.2) into qwen36-35b-support
  • aa7ab97 Merge upstream/main (0.1.41) into qwen36-35b-support
  • 20f4d4b qwen35moe: 16-bit K/V at 8K, and the server below sm_75
  • 5c92395 qwen35moe: --kv-resident past the resident cells (KV streaming with dense attention)
  • 48534f3 setup: KV streaming for the 35B-A3B models: needed below 9 GB free from 128K, asked otherwise
  • 21ce6b2 Merge upstream/main (0.1.42) into qwen36-35b-support
  • e5fd6d3 qwen35moe: dense prompt attention, 8 queries per block
  • 4a0bb25 serve: preserve_thinking on both APIs, from a request, the Chat settings or the config
  • 70c5d3e setup: images for Qwen3.6 and Ornith

📊 Changes

57 files changed (+3817 additions, -777 deletions)

View changed files

📝 README.md (+5 -0)
➕ data/expert-profile-qwen36.bin (+0 -0)
📝 docs/DETAILS.md (+10 -1)
📝 docs/MODELS.md (+22 -1)
➕ docs/QWEN36.md (+193 -0)
📝 include/strata/artifact/gguf_reader.hpp (+11 -1)
📝 include/strata/core/layout.hpp (+28 -0)
📝 include/strata/core/mtp.hpp (+8 -0)
📝 include/strata/core/verify.hpp (+9 -1)
📝 include/strata/core/vmm.hpp (+1 -0)
📝 include/strata/kernels/cpu/expert_layout.hpp (+5 -1)
📝 include/strata/kernels/kv_stream.hpp (+6 -5)
📝 include/strata/kernels/qsa.hpp (+4 -0)
📝 include/strata/kernels/qsa_decode_attn.hpp (+12 -0)
📝 include/strata/kernels/qsa_prompt_attn.hpp (+3 -0)
📝 include/strata/kernels/qsa_select.hpp (+4 -0)
📝 include/strata/kernels/verify_kernels.hpp (+3 -0)
📝 include/strata/prefill/kernels.hpp (+19 -11)
📝 include/strata/prefill/prefill.hpp (+3 -0)
📝 serve/frontend.py (+10 -3)

...and 37 more files

📄 Description

Related: #824 (perronemirko's Qwen3.6 engine, closed by the history rewrite). That PR adds a separate
strata-qwen36 engine beside the main one; this one teaches the main engine the model instead, so the server, setup,
the batched prompt path, MTP and the expert cache all apply to it, and the engine picks the model from the GGUF.

Summary

Qwen3.6-35B-A3B is the same family as Flash-Next (DeltaNet layers, full attention every fourth layer, a MoE with a
shared expert) at 35B parameters: its experts take 12-14 GB of RAM instead of 23-50 GB. It is the model for PCs with
16-32 GB of RAM and 6-12 GB cards. Ornith-1.5-35B-A3B (ornith-ai, MIT) is a coding-agent fine-tune of it with the same
architecture.

The engine reads general.architecture and runs qwen35moe beside qwen4exp on one code path. Nothing on the
command line says which model it is. Flash-Next's arithmetic is unchanged (see "How it was checked").

Measured on Linux (Debian 12), RTX 4070 Ti 12 GB, Ryzen 9 5950X, 62 GB RAM, CUDA 13.0; 32K context, 8-bit K/V, MTP on.
"8 GB" is the same card with 4 GiB held by another process (emulated, not a real 8 GB card).

Short chat, writes 8K prompt, reads 8K prompt, writes
Qwen3.6 UD-IQ4_XS, 12 GB 105 tok/s 4,460 tok/s 86 tok/s
Qwen3.6 UD-IQ4_XS, 8 GB 75 tok/s 2,669 tok/s 68 tok/s
llama.cpp b11438, same file, 12 GB (--fit on) 51 tok/s 708 tok/s 49 tok/s
llama.cpp b11438, 8 GB 39 tok/s 490 tok/s 36 tok/s

Greedy tokens match llama.cpp b11438 exactly on UD-IQ4_XS (three short prompts and the 8K prompt, 32 tokens each,
expert cache at 3,000 slots). With a different cache size a near-tie can flip, because experts computed on the GPU
round slightly differently from the CPU's (seen once: llama.cpp's top two at 28% and 26%). More numbers (UD-IQ3_S,
Ornith, small cards, 256K) are in docs/QWEN36.md.

What changed

Engine: model geometry (include/strata/core/layout.hpp, src/core/layout.cpp, gguf_reader.hpp)

  • ModelGeometry gains the architecture, experts per token, and whether the model has PLE, the sparse-attention
    indexer and hyper-connections; geometry_from_gguf fills it and checks that each size fits the kernels' limits
    (all of Qwen3.6's are at or below Flash-Next's, which stay as compile-time capacities).

Engine: decode (src/core/verify.cpp, src/kernels/cuda/*.cu, src/kernels/cpu/*, src/core/expert_source.cpp)

  • One residual stream (an RMSNorm before the mixer and before the MoE, the output added back), the silu(z) DeltaNet
    output gate, and dense attention: every cached cell is attended (qsa_select_all), with no indexer projections,
    snapshots or replay.
  • Kernel template instances for 8 or 12 query heads per K/V head, 32 or 48 DeltaNet heads, and 8 or 10 experts; the
    CPU pool and expert layout take the model's widths.
  • Native Q2_K, Q3_K and Q6_K expert formats (Unsloth's mixes use them); iq_row_bytes covers Q2_K (without it the
    MTP layer's Q2_K experts read as garbage).

Engine: prompt path (src/prefill/prefill.cpp, kernels.cu)

  • The batched path for one stream: DeltaNet kernels for 32 heads and the silu gate, routing and combine for 8 of 256,
    a dense mode for the tensor-core prompt attention. NVIDIA sm_75+; elsewhere (Prefill::supports) the prompt is read
    through the decode windows.
  • Main's deferred shared expert uses the model's sizes.

Engine: MTP (src/core/mtp.cpp)

  • The draft layer is read from the model GGUF's blk.40 (eh_proj split into its embedding and hidden halves,
    native projections and experts). No separate download.

Engine: VRAM on small cards (src/program/generate.cpp, Verifier::dense_attention_bytes)

  • The cache sizing keeps the dense attention's buffers out of the expert cache. They grow with the context and are
    allocated after the cache: without this a 256K context failed on every card.
  • The small-card reserve floor is 500 MiB for models without the indexer (measured: 400 failed in the graph
    instantiation at 8K, 32K and 64K, 450 started) and stays 300 for Flash-Next.
  • A cache too small to work stops the start with how much is short and what makes room, instead of failing later on
    the prompt buffers.
  • Result: UD-IQ3_S with setup's settings starts from 4.17 GB free; with an 8K context and --draft-vocab en, from
    3.9 GB.

Data

  • data/expert-profile-qwen36.bin: 40 x 256 experts ranked by routing counts from 24 varied prompts (server
    --expert-profile-save with a 64-slot cache). Against an unranked profile, on prompts not among the 24 (three
    runs): 12 GB short-chat writes 99 -> 106 tok/s, 8K writes 84 -> 93 tok/s; no difference at 8 GB.

Setup (setup.py)

  • Families qwen36 (unsloth/Qwen3.6-35B-A3B-MTP-GGUF: UD-IQ4_XS, UD-IQ3_S) and ornith
    (bartowski/Ornith-1.5-35B-A3B-GGUF: IQ4_XS, IQ3_XXS), pinned revisions and SHA-256. ModelScope serves the same four
    files with the same SHA-256.
  • Suggested where no Flash-Next size fits the RAM (16-24 GB PCs). On a card under 5.5 GB setup recommends the smallest
    size and an 8K context (a recommendation, never forced).
  • The published engines (0.1.40 to 0.1.40.2) predate qwen35moe and their version cannot tell them apart, so setup
    looks for the support in the engine file itself and compiles the engine when a ready-made one lacks it. Flash-Next
    keeps the ready-made engine.
  • Tests: tools/test_setup_qwen36.py, tools/test_setup_ornith.py; updated test_setup_choices.py,
    test_setup_unsloth.py.

Tools

  • tools/iq_pack.py leaves the MTP layer out of the expert table; tools/make_profile.py --n-layer;
    tools/iq_fixture.py adds Q2_K and Q4_0; tools/strata_mcp.py recommend() follows setup's rules.

Docs

  • New docs/QWEN36.md (setup, what fits, small cards, speed, against llama.cpp, Ornith, differences, limits);
    sections in docs/MODELS.md and README.md.

What it leaves alone

  • Flash-Next's arithmetic and defaults. Its compile-time sizes stay as the kernels' capacities; every new kernel
    instance is a template next to the existing one, and Flash-Next takes the same instance as before. The setup
    families, sizes and defaults for Flash-Next, Swift, the Coder and Unsloth are unchanged. Two things a Flash-Next user
    can see: setup's "less than 12 GB of VRAM" warning adds a pointer to --family qwen36 when no family was named, and
    a start whose automatic expert cache gets no slot at all now stops there with the existing "no VRAM is left" message
    instead of going on to fail at the prompt buffers.
  • The SYCL engine keeps Flash-Next only: its prompt kernels take the shared header's new size parameters and
    stop with a message for any other size (sycl/src/prefill/kernels.dp.cpp).
  • Multi-GPU: a qwen35moe model refuses --peer-device, --layer-split and --expert-cache-device1..3 at the
    start; those paths carry Flash-Next's shapes and were not run with it.
  • Opt-in features from main that are written for Flash-Next's shapes stay Flash-Next only: the prompt path's CPU
    share (STRATA_PREFILL_CPU_SHARE), the chunked GDN recurrence (STRATA_GDN_CHUNKED), the query branch of
    STRATA_DF_BRANCH and the routing debug hook (STRATA_DBG_FEAT).

How it was checked

  • Backends built (AGENTS.md): CUDA (sm_89, with the tests), HIP (gfx1100, gfx1201, gfx1030 and gfx1151, plus the
    STRATA_HIP_GFX906 build for gfx906, with ROCm 7.10 from AMD's TheRock wheels) and SYCL (the strata-sycl-dev image,
    every target). Only the CUDA build was run; there is no AMD or Intel card here.
  • Flash-Next against main (main's own build at fb58e0d, the same PC, Coder IQ1_M, expert cache 900 slots): the
    short prompts give main's tokens (prompts 1 and 2 identical; prompt 0 alternates between the same two outputs in
    both builds). The 8K prompt is not repeatable on main itself on this PC (with --adapt-every 0 --pcie-frac 0, with
    and without the MTP layer, with STRATA_STAGER_SLEEP=0, STRATA_STAGE_PIN=0 or STRATA_PREFILL_STREAM_AHEAD=0:
    three runs gave three different outputs, while 0.1.40.2 repeated exactly), so it cannot be compared byte for byte;
    the merged build's outputs were among main's. I can open a separate issue with the numbers if that is useful.
  • Qwen3.6: greedy tokens = llama.cpp b11438 on UD-IQ4_XS (3 prompts + 8K, cache 3,000 slots); speed, the small-card
    floor and 256K as measured before the merge.
  • Tests: iq_parity (with and without STRATA_PARITY_IQ_MMVQ) and native_grouped_parity 0 failures; setup, MCP
    and profile tests pass except tools/test_setup_engine_hash.py's two, which fail the same way on main.

Extra Notes

  • Not run on AMD (HIP), Intel (SYCL) or Windows (built only, see above). The prompt path for these models is
    NVIDIA-only (elsewhere prompts are read through the decode windows), and setup's compile path for them is untested
    on Windows. Test requests for those could go in docs/TEST_REQUESTS.md.
  • One GPU only for these models; no images yet.
  • Ornith's draft layer is accepted less often than Qwen3.6's (61% vs 80% of all drafts on a chat prompt). A Q8_0
    copy of the layer did no better, so it is the fine-tune's draft layer, not its quantization.
  • Version: QWEN36_ENGINE follows this tree's version (0.1.41). CMakeLists and MIN_ENGINE are untouched.
  • Commits: the work, and merges of main at 0.1.40.2 and 0.1.41 with their conflicts resolved (12 and 10 blocks).
    Squash or rebase as you prefer.
  • More sizes (Qwen3.6 UD-Q4_K_XL, Ornith Q4_K_L, asked for in the comments) will be a separate pull request once
    this one is settled (one change per pull request).

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/1402 **Author:** [@aflin](https://github.com/aflin) **Created:** 10/7/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `qwen36-35b-support` --- ### 📝 Commits (10+) - [`42bf2ff`](https://github.com/Niko1221/Strata/commit/42bf2ff628079025730058da35064ccee59a4c45) Qwen3.6-35B-A3B and Ornith-1.5-35B-A3B (qwen35moe): a second, smaller model for 8-12 GB cards - [`64ec4ce`](https://github.com/Niko1221/Strata/commit/64ec4ce57bb0f6524c8d2e401b189bbeb2a7de5e) Merge upstream/main (0.1.40.2) into qwen36-35b-support - [`aa7ab97`](https://github.com/Niko1221/Strata/commit/aa7ab97695a5e757bf349d7f6998dedeb742efce) Merge upstream/main (0.1.41) into qwen36-35b-support - [`20f4d4b`](https://github.com/Niko1221/Strata/commit/20f4d4bb427147fb7a3a85d01a18b9bb273efcad) qwen35moe: 16-bit K/V at 8K, and the server below sm_75 - [`5c92395`](https://github.com/Niko1221/Strata/commit/5c92395194a5a85ccd16f909612ce6c556ae90ef) qwen35moe: --kv-resident past the resident cells (KV streaming with dense attention) - [`48534f3`](https://github.com/Niko1221/Strata/commit/48534f3b6c1dcb938756394d7a0899daabb7ed79) setup: KV streaming for the 35B-A3B models: needed below 9 GB free from 128K, asked otherwise - [`21ce6b2`](https://github.com/Niko1221/Strata/commit/21ce6b27a7a7f7dbc07d7dcfa6d9c889fdba6ffb) Merge upstream/main (0.1.42) into qwen36-35b-support - [`e5fd6d3`](https://github.com/Niko1221/Strata/commit/e5fd6d3acbe99f26ed7f179b6b35b8ec5343fb38) qwen35moe: dense prompt attention, 8 queries per block - [`4a0bb25`](https://github.com/Niko1221/Strata/commit/4a0bb25e9f6b86c505bb8f663de30b173b3cc141) serve: preserve_thinking on both APIs, from a request, the Chat settings or the config - [`70c5d3e`](https://github.com/Niko1221/Strata/commit/70c5d3efc671361fa4f6d939cadcfa89afc7e9f1) setup: images for Qwen3.6 and Ornith ### 📊 Changes **57 files changed** (+3817 additions, -777 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+5 -0) ➕ `data/expert-profile-qwen36.bin` (+0 -0) 📝 `docs/DETAILS.md` (+10 -1) 📝 `docs/MODELS.md` (+22 -1) ➕ `docs/QWEN36.md` (+193 -0) 📝 `include/strata/artifact/gguf_reader.hpp` (+11 -1) 📝 `include/strata/core/layout.hpp` (+28 -0) 📝 `include/strata/core/mtp.hpp` (+8 -0) 📝 `include/strata/core/verify.hpp` (+9 -1) 📝 `include/strata/core/vmm.hpp` (+1 -0) 📝 `include/strata/kernels/cpu/expert_layout.hpp` (+5 -1) 📝 `include/strata/kernels/kv_stream.hpp` (+6 -5) 📝 `include/strata/kernels/qsa.hpp` (+4 -0) 📝 `include/strata/kernels/qsa_decode_attn.hpp` (+12 -0) 📝 `include/strata/kernels/qsa_prompt_attn.hpp` (+3 -0) 📝 `include/strata/kernels/qsa_select.hpp` (+4 -0) 📝 `include/strata/kernels/verify_kernels.hpp` (+3 -0) 📝 `include/strata/prefill/kernels.hpp` (+19 -11) 📝 `include/strata/prefill/prefill.hpp` (+3 -0) 📝 `serve/frontend.py` (+10 -3) _...and 37 more files_ </details> ### 📄 Description Related: #824 (perronemirko's Qwen3.6 engine, closed by the history rewrite). That PR adds a separate `strata-qwen36` engine beside the main one; this one teaches the main engine the model instead, so the server, setup, the batched prompt path, MTP and the expert cache all apply to it, and the engine picks the model from the GGUF. ## Summary Qwen3.6-35B-A3B is the same family as Flash-Next (DeltaNet layers, full attention every fourth layer, a MoE with a shared expert) at 35B parameters: its experts take 12-14 GB of RAM instead of 23-50 GB. It is the model for PCs with 16-32 GB of RAM and 6-12 GB cards. Ornith-1.5-35B-A3B (ornith-ai, MIT) is a coding-agent fine-tune of it with the same architecture. The engine reads `general.architecture` and runs `qwen35moe` beside `qwen4exp` on one code path. Nothing on the command line says which model it is. Flash-Next's arithmetic is unchanged (see "How it was checked"). Measured on Linux (Debian 12), RTX 4070 Ti 12 GB, Ryzen 9 5950X, 62 GB RAM, CUDA 13.0; 32K context, 8-bit K/V, MTP on. "8 GB" is the same card with 4 GiB held by another process (emulated, not a real 8 GB card). | | Short chat, writes | 8K prompt, reads | 8K prompt, writes | | --- | ---: | ---: | ---: | | Qwen3.6 UD-IQ4_XS, 12 GB | 105 tok/s | 4,460 tok/s | 86 tok/s | | Qwen3.6 UD-IQ4_XS, 8 GB | 75 tok/s | 2,669 tok/s | 68 tok/s | | llama.cpp b11438, same file, 12 GB (`--fit on`) | 51 tok/s | 708 tok/s | 49 tok/s | | llama.cpp b11438, 8 GB | 39 tok/s | 490 tok/s | 36 tok/s | Greedy tokens match llama.cpp b11438 exactly on UD-IQ4_XS (three short prompts and the 8K prompt, 32 tokens each, expert cache at 3,000 slots). With a different cache size a near-tie can flip, because experts computed on the GPU round slightly differently from the CPU's (seen once: llama.cpp's top two at 28% and 26%). More numbers (UD-IQ3_S, Ornith, small cards, 256K) are in `docs/QWEN36.md`. ## What changed **Engine: model geometry** (`include/strata/core/layout.hpp`, `src/core/layout.cpp`, `gguf_reader.hpp`) - `ModelGeometry` gains the architecture, experts per token, and whether the model has PLE, the sparse-attention indexer and hyper-connections; `geometry_from_gguf` fills it and checks that each size fits the kernels' limits (all of Qwen3.6's are at or below Flash-Next's, which stay as compile-time capacities). **Engine: decode** (`src/core/verify.cpp`, `src/kernels/cuda/*.cu`, `src/kernels/cpu/*`, `src/core/expert_source.cpp`) - One residual stream (an RMSNorm before the mixer and before the MoE, the output added back), the `silu(z)` DeltaNet output gate, and dense attention: every cached cell is attended (`qsa_select_all`), with no indexer projections, snapshots or replay. - Kernel template instances for 8 or 12 query heads per K/V head, 32 or 48 DeltaNet heads, and 8 or 10 experts; the CPU pool and expert layout take the model's widths. - Native Q2_K, Q3_K and Q6_K expert formats (Unsloth's mixes use them); `iq_row_bytes` covers Q2_K (without it the MTP layer's Q2_K experts read as garbage). **Engine: prompt path** (`src/prefill/prefill.cpp`, `kernels.cu`) - The batched path for one stream: DeltaNet kernels for 32 heads and the silu gate, routing and combine for 8 of 256, a dense mode for the tensor-core prompt attention. NVIDIA sm_75+; elsewhere (`Prefill::supports`) the prompt is read through the decode windows. - Main's deferred shared expert uses the model's sizes. **Engine: MTP** (`src/core/mtp.cpp`) - The draft layer is read from the model GGUF's `blk.40` (`eh_proj` split into its embedding and hidden halves, native projections and experts). No separate download. **Engine: VRAM on small cards** (`src/program/generate.cpp`, `Verifier::dense_attention_bytes`) - The cache sizing keeps the dense attention's buffers out of the expert cache. They grow with the context and are allocated after the cache: without this a 256K context failed on every card. - The small-card reserve floor is 500 MiB for models without the indexer (measured: 400 failed in the graph instantiation at 8K, 32K and 64K, 450 started) and stays 300 for Flash-Next. - A cache too small to work stops the start with how much is short and what makes room, instead of failing later on the prompt buffers. - Result: UD-IQ3_S with setup's settings starts from 4.17 GB free; with an 8K context and `--draft-vocab en`, from 3.9 GB. **Data** - `data/expert-profile-qwen36.bin`: 40 x 256 experts ranked by routing counts from 24 varied prompts (server `--expert-profile-save` with a 64-slot cache). Against an unranked profile, on prompts not among the 24 (three runs): 12 GB short-chat writes 99 -> 106 tok/s, 8K writes 84 -> 93 tok/s; no difference at 8 GB. **Setup** (`setup.py`) - Families `qwen36` (unsloth/Qwen3.6-35B-A3B-MTP-GGUF: UD-IQ4_XS, UD-IQ3_S) and `ornith` (bartowski/Ornith-1.5-35B-A3B-GGUF: IQ4_XS, IQ3_XXS), pinned revisions and SHA-256. ModelScope serves the same four files with the same SHA-256. - Suggested where no Flash-Next size fits the RAM (16-24 GB PCs). On a card under 5.5 GB setup recommends the smallest size and an 8K context (a recommendation, never forced). - The published engines (0.1.40 to 0.1.40.2) predate qwen35moe and their version cannot tell them apart, so setup looks for the support in the engine file itself and compiles the engine when a ready-made one lacks it. Flash-Next keeps the ready-made engine. - Tests: `tools/test_setup_qwen36.py`, `tools/test_setup_ornith.py`; updated `test_setup_choices.py`, `test_setup_unsloth.py`. **Tools** - `tools/iq_pack.py` leaves the MTP layer out of the expert table; `tools/make_profile.py --n-layer`; `tools/iq_fixture.py` adds Q2_K and Q4_0; `tools/strata_mcp.py` `recommend()` follows setup's rules. **Docs** - New `docs/QWEN36.md` (setup, what fits, small cards, speed, against llama.cpp, Ornith, differences, limits); sections in `docs/MODELS.md` and `README.md`. ## What it leaves alone - **Flash-Next's arithmetic and defaults.** Its compile-time sizes stay as the kernels' capacities; every new kernel instance is a template next to the existing one, and Flash-Next takes the same instance as before. The setup families, sizes and defaults for Flash-Next, Swift, the Coder and Unsloth are unchanged. Two things a Flash-Next user can see: setup's "less than 12 GB of VRAM" warning adds a pointer to `--family qwen36` when no family was named, and a start whose automatic expert cache gets no slot at all now stops there with the existing "no VRAM is left" message instead of going on to fail at the prompt buffers. - **The SYCL engine** keeps Flash-Next only: its prompt kernels take the shared header's new size parameters and stop with a message for any other size (`sycl/src/prefill/kernels.dp.cpp`). - **Multi-GPU:** a qwen35moe model refuses `--peer-device`, `--layer-split` and `--expert-cache-device1..3` at the start; those paths carry Flash-Next's shapes and were not run with it. - **Opt-in features from main** that are written for Flash-Next's shapes stay Flash-Next only: the prompt path's CPU share (`STRATA_PREFILL_CPU_SHARE`), the chunked GDN recurrence (`STRATA_GDN_CHUNKED`), the query branch of `STRATA_DF_BRANCH` and the routing debug hook (`STRATA_DBG_FEAT`). ## How it was checked - **Backends built** (AGENTS.md): CUDA (sm_89, with the tests), HIP (gfx1100, gfx1201, gfx1030 and gfx1151, plus the `STRATA_HIP_GFX906` build for gfx906, with ROCm 7.10 from AMD's TheRock wheels) and SYCL (the `strata-sycl-dev` image, every target). Only the CUDA build was run; there is no AMD or Intel card here. - **Flash-Next against main** (main's own build at fb58e0d, the same PC, Coder IQ1_M, expert cache 900 slots): the short prompts give main's tokens (prompts 1 and 2 identical; prompt 0 alternates between the same two outputs in both builds). The 8K prompt is not repeatable on main itself on this PC (with `--adapt-every 0 --pcie-frac 0`, with and without the MTP layer, with `STRATA_STAGER_SLEEP=0`, `STRATA_STAGE_PIN=0` or `STRATA_PREFILL_STREAM_AHEAD=0`: three runs gave three different outputs, while 0.1.40.2 repeated exactly), so it cannot be compared byte for byte; the merged build's outputs were among main's. I can open a separate issue with the numbers if that is useful. - **Qwen3.6:** greedy tokens = llama.cpp b11438 on UD-IQ4_XS (3 prompts + 8K, cache 3,000 slots); speed, the small-card floor and 256K as measured before the merge. - **Tests:** `iq_parity` (with and without `STRATA_PARITY_IQ_MMVQ`) and `native_grouped_parity` 0 failures; setup, MCP and profile tests pass except `tools/test_setup_engine_hash.py`'s two, which fail the same way on main. ## Extra Notes - **Not run on AMD (HIP), Intel (SYCL) or Windows** (built only, see above). The prompt path for these models is NVIDIA-only (elsewhere prompts are read through the decode windows), and setup's compile path for them is untested on Windows. Test requests for those could go in docs/TEST_REQUESTS.md. - **One GPU** only for these models; no images yet. - **Ornith's draft layer** is accepted less often than Qwen3.6's (61% vs 80% of all drafts on a chat prompt). A Q8_0 copy of the layer did no better, so it is the fine-tune's draft layer, not its quantization. - **Version:** QWEN36_ENGINE follows this tree's version (0.1.41). CMakeLists and MIN_ENGINE are untouched. - **Commits:** the work, and merges of main at 0.1.40.2 and 0.1.41 with their conflicts resolved (12 and 10 blocks). Squash or rebase as you prefer. - **More sizes** (Qwen3.6 UD-Q4_K_XL, Ornith Q4_K_L, asked for in the comments) will be a separate pull request once this one is settled (one change per pull request). 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 14:41:27 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#3433
No description provided.