[PR #5032] [CLOSED] [Other] Add ISTA-DASLab's DeepSeek-V4.1-Flash Coder set: half the routed experts, 191 GB instead of 257 GB #5293

Closed
opened 2026-11-07 16:34:07 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/5032
Author: @drrck82
Created: 11/2/2026
Status: ❌ Closed

Base: main ← Head: dsv41-ista-coder-set


📝 Commits (2)

  • 2e8e950 DeepSeek-V4.1-Flash: offer ISTA-DASLab's Coder set (192 of the 384 experts, 191 GB) in setup, launch and the app
  • a21b220 DeepSeek-V4.1-Flash: what the Coder run here showed, and the effort words ISTA's template takes

📊 Changes

10 files changed (+233 additions, -40 deletions)

View changed files

📝 docs/DEEPSEEK41.md (+29 -3)
📝 docs/MODELS.md (+6 -0)
📝 setup.py (+58 -7)
📝 strata_control/dsv41_fit.py (+24 -8)
📝 strata_control/dsv41_sets.py (+9 -9)
📝 tests/terminal/test_dsv41_import_preview.py (+25 -3)
📝 tests/terminal/test_launch.py (+3 -1)
📝 tests/terminal/test_launch_dsv41.py (+5 -2)
📝 tools/strata_mcp.py (+7 -4)
📝 tools/test_setup_dsv41.py (+67 -3)

📄 Description

Problem and result: ISTA-DASLab published a code version of DeepSeek-V4.1-Flash on 2026-11-02
(ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF): the same IQ2_XXS 2.00 bpw weights, but
192 of the 384 routed experts per layer kept and the rest removed by RCO, so 72 GB of model instead
of 138 GB and 191 GB of disk instead of 257 GB. Strata could not install, plan or recognise it: the
family's model table had only the unpruned sizes, setup hardcoded the four-shard layout for
downloads, the fit model counted 15,360 experts for every set, and the app's download figure and
"I already have the model" preview only knew the four-shard names. After this change
./setup.sh --family deepseek41 --model IST-DAS-Coder, strata launch --model ist-das-coder --plan,
the app's model list, and the app/setup "files you already have" path all handle the set, including
its IQ2_XXS folder and its six-shard-only split. Nothing is downloaded, packed or started by this PR:
the set is opt-in, and every existing set keeps its exact previous numbers.

Related discussion: none found for this set - no issue or PR mentions the Coder repository of
DeepSeek-V4.1-Flash or an IST-DAS-Coder model (searched 2026-11-02 for Coder-GGUF, RCO-Coder,
IST-DAS-Coder); #4706 and #4818 are about the Qwen3.8 Coder family (256 experts, IQ1_M), not this one.
main has not moved since c62d5e3a (2026-10-31), which is this branch's base. The six-shard layout this
set is published only in is already in that base (DSV41_ISTA6_*, setup.py:745-747, added by
c62d5e3a itself); the thread that asked for it, #4632, was closed unmerged on 2026-10-31 and this change
builds on the code rather than on that thread. #4989 (open, 2026-11-02) edits the free-space block of
install_dsv41 and tools/test_setup_dsv41.py, so if it lands first a small rebase conflict is likely
here - both sides are additive. ISTA's own model card carries an unfinished
"Strata steps for this repo" section, which is what the docs rows here stand in for until someone
runs it.

Approach: the set is a manifest and accounting change, not an engine change - pack_gguf.py is
geometry-driven and needs no kept-experts handling.

  • setup.py: the pinned file table DSV41_CODER_FILES (five shards in IQ2_XXS/, sizes and SHA-256 read
    from the Hub tree of the pinned revision 54229d38), HF_REVISIONS and REPO_PINS entries for the new
    repository, and the model entry "IST-DAS-Coder". It is published only in ISTA's six-shard layout,
    so its "shards" list is empty and it says so with "layout": "six". install_dsv41() used
    "four" whenever files were not being discovered from a folder; dsv41_layout_of() now returns the set's own layout
    when it has no four-shard names, so the download and the pack agree and an existing pack is not
    rebuilt on every run. The Engram of that repository is the converted file DSV41_ENGRAM_CONVERTED,
    which DSV41_SHA_ALSO already accepts, so it is pinned once as before; the drafter, the metadata
    shard and the picture reader are the existing shared files.
  • strata_control/dsv41_fit.py: an ISTA_SETS row with experts_per_layer 192, and _plan_ista /
    _plan_uma counting LAYERS * per_layer instead of the constant 15,360 for the expert count and for
    the per-card cap. Existing sets have no "experts_per_layer" key and keep EXPERTS_PER_LAYER, so
    their plans are byte-identical (checked below). recommend() is untouched: the Coder is code-only
    and we have not run it, so it is never the automatic pick.
  • strata_control/dsv41_sets.py: the preview tables look every name up in the family's own pin table
    (family["sha256"] = DSV41_ALL_FILES) instead of the two IST-DAS tables, with the lookups guarded -
    a set with no four-shard names used to raise inside tables() and the whole preview table would
    have come back empty.
  • tools/strata_mcp.py own_size(): it summed "shards" and "shared" only. That is correct for every
    set that has four-shard names and wrong for one that does not, where it drops 72 GB of model and
    reports 118.6 GB instead of 190.7. Now it falls back to "shards6" when "shards" is empty (never
    both, which would double-count).
  • docs/MODELS.md and docs/DEEPSEEK41.md: the new row, its file table entry, and words for what it
    is. Quality numbers in those rows are ISTA-DASLab's own, attributed, and both docs say Strata has
    not run the set.

Validation: base revision c62d5e3a15; Linux 7.0.0-38-generic,
Python 3.14.4, 2x RTX 3090 + 121 GB RAM, NVMe. textual is not installed in this environment.
Passed:
- python -m pytest tests/terminal -q --tb=no <11 --ignore files>: 171 failed, 1628 passed,
76 skipped, 8 errors. The same command on an unmodified worktree of c62d5e3a: 171 failed,
1627 passed, 76 skipped, 8 errors, and diff of the sorted FAILED lines of the two runs is
empty - the failing sets are identical. The 11 ignored files (and the 8 collection errors) are
the ones importing textual, missing here.
- python -m pytest tests/terminal/test_dsv41_import_preview.py tests/terminal/test_launch_dsv41.py tests/terminal/test_launch.py tests/terminal/test_dsv41_fit.py tools/test_setup_dsv41.py tools/test_setup_udlow.py tools/test_setup_shard_check.py: 284 passed, 6 failed (the 6 are the
pre-existing ones below).
- python -m pytest tools/test_setup_dsv41.py tools/test_setup_udlow.py tools/test_setup_shard_check.py tools/test_setup_amd_cards.py -q: 186 passed, 5 failed; the
unmodified baseline of the same four files: 181 passed, the same 5 failed (5 new passes are the
new CoderSet tests).
- The TUI screens that read the model list, run in a venv that has textual
(~/strata-pr/.venv, Python 3.14.4, textual 8.2.8): pytest tests/terminal/test_launch_tui.py tests/terminal/test_launch_tui_walk.py tests/terminal/test_launch_speed.py tests/terminal/test_mixed_vendors.py -q
-> 121 passed, 1 failed in 12:32. The one failure,
test_launch_tui.py::FolderStep::test_default_folder_and_free_space_and_change
(ctx.settings.data_dir is None instead of the test home's folder), fails the same way in
4.85 s on an unmodified c62d5e3a with the same venv, so it is pre-existing on this box and not
from this change.
- Existing plans unchanged: dsv41_fit.plan() for each of the seven existing model keys at four
RAM levels, this branch against git show HEAD:strata_control/dsv41_fit.py - every dict equal.
- The pins are the Hub's own: sizes and SHA-256 from
huggingface.co/api/models/<repo>/tree/54229d38... (the lfs.oid field), five shards,
72,123,567,456 bytes, asserted in CoderSet.test_the_pins_are_the_hub_sizes_and_hashes_of_the_pinned_revision.
- The expert mapping in the docs and comments is read from the repository's
expert-selection/…-kept-experts.json: 40 layers, each 192 distinct ids in 0..383.
- A real install of the set on this box (2026-11-02, after the tests above): all five shards fetched
from the pinned revision, each with a verified .done, their sizes summing to exactly the pinned
72,123,567,456 bytes (5,780,704 + 19,776,064,960 + 19,939,989,696 + 19,682,533,472 +
12,719,198,624); the shared Engram, drafter and mmproj fetched once; the pack written to
~/Strata-data/packs/deepseek-v4.1-flash-ist-das-coder/ and dsv41_pack_info reporting it
complete; strata-dsv41 0.1.55 (cuda13) started with that pack and loaded it on both 3090s. The
engine's own lines count the experts 192 per layer, which is what experts_per_layer says:
CUDA0 layers [0, 42]: … experts 17.98 GB (1683 of 4032 in VRAM) and CUDA1 layers [19, 39] + head: … (1948 of 4032 in VRAM), with 4433 routed experts on the CPU lane (37.9 GB).
- It answers, and here is the speed as the engine reports it (15:14, both cards free, 8192-token
context, --vision on --dspark auto): one code question ("parse an ISO 8601 duration such as
PT2H30M into seconds, with tests"), 59 prompt tokens, 600 tokens back, finish_reason: length
(cut at the cap, not by the model).
prompt 59 tokens = 0 reused + 59 read in 1725 ms (34.2 tok/s), 300 generated in 11870 ms (25.27 tok/s); CPU lane 27.7% of the experts, with the drafter accepted:
drafts 127 of 187 kept; per position (kept / reached): 1: 70% 2: 78% 3: 90% 4: 86% 5: 100% -
600 tokens of text from 300 target-model steps, so the client's own figure is 28.0 token/s end to
end (600 tokens in 21.4 s) against the engine's 25.27 token/s of target-model steps; both are
given because they count different things. A second request in the same session shows the prompt
cache: prompt 376 tokens = 359 reused + 17 read in 360 ms (47.2 tok/s), 283 generated in 7431 ms (38.09 tok/s); CPU lane 24.2%.
- Load and unload: ready 43 s after starting the server, 4433 of the CPU lane's 4433 experts copied into RAM (37.9 GB, 1 NUMA part) in 16.2 s; stopping it (INT to the server, drained) left
nothing behind - no strata-dsv41 process, /dev/shm empty, memory and VRAM back.
- The run above was made on a local branch that also carries open PR #4327, because without it
every request at the app's default thinking level fails on this set (see Limits). This branch does
not include that change.
Failed (all pre-existing on this box, identical on the unmodified base):
- test_no_engine_stops_before_the_download x5 in tools/test_setup_dsv41.py: they mock a missing
strata-dsv41 and expect setup to stop with rc 1; rc is 0 because this computer really has a
strata-dsv41 installed. AssertionError: 0 != 1.
- tests/terminal/test_launch.py::FlagsCommand::test_the_access_help_names_the_flags_for_showing_and_setting_a_key:
ModuleNotFoundError: No module named 'textual'.
Not run:
- No perplexity, no benchmark and no same-day comparison against another set: two prompts (one code
question and one follow-up chat message) are not a quality or speed measurement, and nothing here
should be read as one. The quality figures in the docs rows stay ISTA-DASLab's own.
- What the engine chose is not what the plan says, so the plan's placement line is unverified for
this set: it asks for --tp 2 and the engine fell back to 1 (the experts' 256-value blocks split n_ff 2304 no other way), then put ~35.7 GB of experts across the two cards (1683 + 1948 of 4032
per card) and 37.9 GB of them in RAM, where the plan for 2x3090 + 121 GB says about 21 GB of RAM
and ~45 GB of the cards.
- No hardware execution on any card other than what the plan computes; no Mac, no Ryzen AI Max, no
Windows. No perplexity or tokens/s of our own beyond the two runs above.
- Still unrun here even with textual installed: tests/terminal/test_launch_monitor.py,
test_monitor_classic.py, test_overview.py, test_tui_stress_screens.py and
test_tuiqa_launch.py / _monitor.py / _wizard.py (monitor and overview screens, nothing this
change touches; they were collected cleanly but not executed on this box).
- The 171 pre-existing tests/terminal failures in a full-suite run were not investigated: the
identical-failing-set diff against the base is the evidence that this change does not touch them.

Limits:

  • No hot-expert profile ships with the Coder. The tables in data/dsv41/ hold one number per
    (layer, expert) of the unpruned model's 384; the Coder's expert j of layer L is base id
    kept_experts[L][j], so the shipped table could be remapped through that list, but that is not done
    here and would need a run to check. Setup warns instead of copying a wrong table, and the first
    run starts with nothing cached and learns one.
  • The expert-profile table of a dsv41 pack is 43 rows of one number per expert of that pack, no
    header: the shipped ones are 66,048 bytes (16,512 u32 = 43x384), and the Coder pack grew its own to
    33,024 bytes (8,256 = 43x192) during the run above - the format seen from the engine rather than
    read from code. That is the other reason no derived profile is attempted here: the engine keys the
    table by the set's own expert numbering and learns one, so a pruned set needs nothing shipped.
  • Running it found open PR #4327 (2026-10-29, unfixed on main and in engine 0.1.55): a request
    asking for the thinking level medium fails with
    400 invalid request: Invalid reasoning effort: medium, should be int within [1,100] or one of "low", "high", "max".
    ISTA's template is copied verbatim into the pack by tools/dsv41/pack_gguf.py; its effort_map is
    {low, high, max} (18,509 bytes, SHA-256 4d61d22c90ea0cdf…, byte-identical in both ISTA
    repositories), while EFFORT_DEEPSEEK hands the word medium straight through - the repo's
    fixture is Unsloth's copy, which has medium: 62, so serve/test_dsv41.py cannot see the
    difference. Not touched here: one problem per pull request, and #4327 already has the fix (map
    medium to 62, and take budget_effort's medium from the table too, which still hardcodes the words
    at serve/frontend.py:178). Until it lands, low, high, max or a number 1..100 reach the
    model; the app and the agent harnesses default to medium, so they need #4327 to use these sets.
  • The Coder repository ships mmproj-DeepSeek-V4.1-Flash-1017-BF16.gguf (972,208,096 bytes); Strata
    pins Unsloth's mmproj-BF16.gguf (972,208,288 bytes). Different files, so pictures keep using
    Strata's pinned one; whether the two towers behave the same for this set is untested.
  • Mac and Ryzen AI Max are unchanged: MAC_SET_PACK / the AARCH64 gate do not list the Coder, so it is
    simply not offered there, as with any set we have not run there.
  • disk_total and ppl for the Coder in ISTA_SETS are 191.0 and "?": they are display fields fed by
    the pinned sizes, and the quality column is ISTA's, not ours.

🔄 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/5032 **Author:** [@drrck82](https://github.com/drrck82) **Created:** 11/2/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `dsv41-ista-coder-set` --- ### 📝 Commits (2) - [`2e8e950`](https://github.com/Niko1221/Strata/commit/2e8e9506375d5998ae414430ef181536ccca28cf) DeepSeek-V4.1-Flash: offer ISTA-DASLab's Coder set (192 of the 384 experts, 191 GB) in setup, launch and the app - [`a21b220`](https://github.com/Niko1221/Strata/commit/a21b2201f67775e83ab8653efe04f20e4327346f) DeepSeek-V4.1-Flash: what the Coder run here showed, and the effort words ISTA's template takes ### 📊 Changes **10 files changed** (+233 additions, -40 deletions) <details> <summary>View changed files</summary> 📝 `docs/DEEPSEEK41.md` (+29 -3) 📝 `docs/MODELS.md` (+6 -0) 📝 `setup.py` (+58 -7) 📝 `strata_control/dsv41_fit.py` (+24 -8) 📝 `strata_control/dsv41_sets.py` (+9 -9) 📝 `tests/terminal/test_dsv41_import_preview.py` (+25 -3) 📝 `tests/terminal/test_launch.py` (+3 -1) 📝 `tests/terminal/test_launch_dsv41.py` (+5 -2) 📝 `tools/strata_mcp.py` (+7 -4) 📝 `tools/test_setup_dsv41.py` (+67 -3) </details> ### 📄 Description Problem and result: ISTA-DASLab published a code version of DeepSeek-V4.1-Flash on 2026-11-02 (ISTA-DASLab/DeepSeek-V4.1-Flash-1017-GSQ-RCO-Coder-GGUF): the same IQ2_XXS 2.00 bpw weights, but 192 of the 384 routed experts per layer kept and the rest removed by RCO, so 72 GB of model instead of 138 GB and 191 GB of disk instead of 257 GB. Strata could not install, plan or recognise it: the family's model table had only the unpruned sizes, setup hardcoded the four-shard layout for downloads, the fit model counted 15,360 experts for every set, and the app's download figure and "I already have the model" preview only knew the four-shard names. After this change `./setup.sh --family deepseek41 --model IST-DAS-Coder`, `strata launch --model ist-das-coder --plan`, the app's model list, and the app/setup "files you already have" path all handle the set, including its IQ2_XXS folder and its six-shard-only split. Nothing is downloaded, packed or started by this PR: the set is opt-in, and every existing set keeps its exact previous numbers. Related discussion: none found for *this* set - no issue or PR mentions the Coder repository of DeepSeek-V4.1-Flash or an IST-DAS-Coder model (searched 2026-11-02 for `Coder-GGUF`, `RCO-Coder`, `IST-DAS-Coder`); #4706 and #4818 are about the Qwen3.8 Coder family (256 experts, IQ1_M), not this one. `main` has not moved since c62d5e3a (2026-10-31), which is this branch's base. The six-shard layout this set is published only in is already in that base (`DSV41_ISTA6_*`, `setup.py:745-747`, added by c62d5e3a itself); the thread that asked for it, #4632, was closed unmerged on 2026-10-31 and this change builds on the code rather than on that thread. #4989 (open, 2026-11-02) edits the free-space block of `install_dsv41` and `tools/test_setup_dsv41.py`, so if it lands first a small rebase conflict is likely here - both sides are additive. ISTA's own model card carries an unfinished "Strata steps for this repo" section, which is what the docs rows here stand in for until someone runs it. Approach: the set is a manifest and accounting change, not an engine change - pack_gguf.py is geometry-driven and needs no kept-experts handling. * setup.py: the pinned file table DSV41_CODER_FILES (five shards in IQ2_XXS/, sizes and SHA-256 read from the Hub tree of the pinned revision 54229d38), HF_REVISIONS and REPO_PINS entries for the new repository, and the model entry "IST-DAS-Coder". It is published only in ISTA's six-shard layout, so its "shards" list is empty and it says so with "layout": "six". install_dsv41() used "four" whenever files were not being discovered from a folder; dsv41_layout_of() now returns the set's own layout when it has no four-shard names, so the download and the pack agree and an existing pack is not rebuilt on every run. The Engram of that repository is the converted file DSV41_ENGRAM_CONVERTED, which DSV41_SHA_ALSO already accepts, so it is pinned once as before; the drafter, the metadata shard and the picture reader are the existing shared files. * strata_control/dsv41_fit.py: an ISTA_SETS row with experts_per_layer 192, and _plan_ista / _plan_uma counting LAYERS * per_layer instead of the constant 15,360 for the expert count and for the per-card cap. Existing sets have no "experts_per_layer" key and keep EXPERTS_PER_LAYER, so their plans are byte-identical (checked below). recommend() is untouched: the Coder is code-only and we have not run it, so it is never the automatic pick. * strata_control/dsv41_sets.py: the preview tables look every name up in the family's own pin table (family["sha256"] = DSV41_ALL_FILES) instead of the two IST-DAS tables, with the lookups guarded - a set with no four-shard names used to raise inside tables() and the whole preview table would have come back empty. * tools/strata_mcp.py own_size(): it summed "shards" and "shared" only. That is correct for every set that has four-shard names and wrong for one that does not, where it drops 72 GB of model and reports 118.6 GB instead of 190.7. Now it falls back to "shards6" when "shards" is empty (never both, which would double-count). * docs/MODELS.md and docs/DEEPSEEK41.md: the new row, its file table entry, and words for what it is. Quality numbers in those rows are ISTA-DASLab's own, attributed, and both docs say Strata has not run the set. Validation: base revision c62d5e3a15b40ea51c96aae9e8d36928965f53ab; Linux 7.0.0-38-generic, Python 3.14.4, 2x RTX 3090 + 121 GB RAM, NVMe. `textual` is not installed in this environment. Passed: - `python -m pytest tests/terminal -q --tb=no <11 --ignore files>`: 171 failed, 1628 passed, 76 skipped, 8 errors. The same command on an unmodified worktree of c62d5e3a: 171 failed, 1627 passed, 76 skipped, 8 errors, and `diff` of the sorted FAILED lines of the two runs is empty - the failing sets are identical. The 11 ignored files (and the 8 collection errors) are the ones importing `textual`, missing here. - `python -m pytest tests/terminal/test_dsv41_import_preview.py tests/terminal/test_launch_dsv41.py tests/terminal/test_launch.py tests/terminal/test_dsv41_fit.py tools/test_setup_dsv41.py tools/test_setup_udlow.py tools/test_setup_shard_check.py`: 284 passed, 6 failed (the 6 are the pre-existing ones below). - `python -m pytest tools/test_setup_dsv41.py tools/test_setup_udlow.py tools/test_setup_shard_check.py tools/test_setup_amd_cards.py -q`: 186 passed, 5 failed; the unmodified baseline of the same four files: 181 passed, the same 5 failed (5 new passes are the new CoderSet tests). - The TUI screens that read the model list, run in a venv that has `textual` (`~/strata-pr/.venv`, Python 3.14.4, textual 8.2.8): `pytest tests/terminal/test_launch_tui.py tests/terminal/test_launch_tui_walk.py tests/terminal/test_launch_speed.py tests/terminal/test_mixed_vendors.py -q` -> **121 passed, 1 failed** in 12:32. The one failure, `test_launch_tui.py::FolderStep::test_default_folder_and_free_space_and_change` (`ctx.settings.data_dir` is `None` instead of the test home's folder), fails the same way in 4.85 s on an unmodified `c62d5e3a` with the same venv, so it is pre-existing on this box and not from this change. - Existing plans unchanged: `dsv41_fit.plan()` for each of the seven existing model keys at four RAM levels, this branch against `git show HEAD:strata_control/dsv41_fit.py` - every dict equal. - The pins are the Hub's own: sizes and SHA-256 from `huggingface.co/api/models/<repo>/tree/54229d38...` (the `lfs.oid` field), five shards, 72,123,567,456 bytes, asserted in CoderSet.test_the_pins_are_the_hub_sizes_and_hashes_of_the_pinned_revision. - The expert mapping in the docs and comments is read from the repository's `expert-selection/…-kept-experts.json`: 40 layers, each 192 distinct ids in 0..383. - A real install of the set on this box (2026-11-02, after the tests above): all five shards fetched from the pinned revision, each with a verified `.done`, their sizes summing to exactly the pinned 72,123,567,456 bytes (5,780,704 + 19,776,064,960 + 19,939,989,696 + 19,682,533,472 + 12,719,198,624); the shared Engram, drafter and mmproj fetched once; the pack written to `~/Strata-data/packs/deepseek-v4.1-flash-ist-das-coder/` and `dsv41_pack_info` reporting it complete; `strata-dsv41` 0.1.55 (cuda13) started with that pack and loaded it on both 3090s. The engine's own lines count the experts 192 per layer, which is what `experts_per_layer` says: `CUDA0 layers [0, 42]: … experts 17.98 GB (1683 of 4032 in VRAM)` and `CUDA1 layers [19, 39] + head: … (1948 of 4032 in VRAM)`, with `4433 routed experts on the CPU lane (37.9 GB)`. - It answers, and here is the speed as the engine reports it (15:14, both cards free, 8192-token context, `--vision on --dspark auto`): one code question ("parse an ISO 8601 duration such as PT2H30M into seconds, with tests"), 59 prompt tokens, 600 tokens back, `finish_reason: length` (cut at the cap, not by the model). `prompt 59 tokens = 0 reused + 59 read in 1725 ms (34.2 tok/s), 300 generated in 11870 ms (25.27 tok/s); CPU lane 27.7% of the experts`, with the drafter accepted: `drafts 127 of 187 kept; per position (kept / reached): 1: 70% 2: 78% 3: 90% 4: 86% 5: 100%` - 600 tokens of text from 300 target-model steps, so the client's own figure is 28.0 token/s end to end (600 tokens in 21.4 s) against the engine's 25.27 token/s of target-model steps; both are given because they count different things. A second request in the same session shows the prompt cache: `prompt 376 tokens = 359 reused + 17 read in 360 ms (47.2 tok/s), 283 generated in 7431 ms (38.09 tok/s); CPU lane 24.2%`. - Load and unload: `ready` 43 s after starting the server, `4433 of the CPU lane's 4433 experts copied into RAM (37.9 GB, 1 NUMA part) in 16.2 s`; stopping it (INT to the server, drained) left nothing behind - no `strata-dsv41` process, `/dev/shm` empty, memory and VRAM back. - The run above was made on a local branch that also carries open PR **#4327**, because without it every request at the app's default thinking level fails on this set (see Limits). This branch does not include that change. Failed (all pre-existing on this box, identical on the unmodified base): - `test_no_engine_stops_before_the_download` x5 in tools/test_setup_dsv41.py: they mock a missing strata-dsv41 and expect setup to stop with rc 1; rc is 0 because this computer really has a strata-dsv41 installed. `AssertionError: 0 != 1`. - `tests/terminal/test_launch.py::FlagsCommand::test_the_access_help_names_the_flags_for_showing_and_setting_a_key`: `ModuleNotFoundError: No module named 'textual'`. Not run: - No perplexity, no benchmark and no same-day comparison against another set: two prompts (one code question and one follow-up chat message) are not a quality or speed measurement, and nothing here should be read as one. The quality figures in the docs rows stay ISTA-DASLab's own. - What the engine chose is not what the plan says, so the plan's placement line is unverified for this set: it asks for `--tp 2` and the engine fell back to 1 (`the experts' 256-value blocks split n_ff 2304 no other way`), then put ~35.7 GB of experts across the two cards (1683 + 1948 of 4032 per card) and 37.9 GB of them in RAM, where the plan for 2x3090 + 121 GB says about 21 GB of RAM and ~45 GB of the cards. - No hardware execution on any card other than what the plan computes; no Mac, no Ryzen AI Max, no Windows. No perplexity or tokens/s of our own beyond the two runs above. - Still unrun here even with `textual` installed: `tests/terminal/test_launch_monitor.py`, `test_monitor_classic.py`, `test_overview.py`, `test_tui_stress_screens.py` and `test_tuiqa_launch.py` / `_monitor.py` / `_wizard.py` (monitor and overview screens, nothing this change touches; they were collected cleanly but not executed on this box). - The 171 pre-existing tests/terminal failures in a full-suite run were not investigated: the identical-failing-set diff against the base is the evidence that this change does not touch them. Limits: - No hot-expert profile ships with the Coder. The tables in data/dsv41/ hold one number per (layer, expert) of the unpruned model's 384; the Coder's expert j of layer L is base id kept_experts[L][j], so the shipped table could be remapped through that list, but that is not done here and would need a run to check. Setup warns instead of copying a wrong table, and the first run starts with nothing cached and learns one. - The expert-profile table of a dsv41 pack is 43 rows of one number per expert of that pack, no header: the shipped ones are 66,048 bytes (16,512 u32 = 43x384), and the Coder pack grew its own to 33,024 bytes (8,256 = 43x192) during the run above - the format seen from the engine rather than read from code. That is the other reason no derived profile is attempted here: the engine keys the table by the set's own expert numbering and learns one, so a pruned set needs nothing shipped. - Running it found open PR **#4327** (2026-10-29, unfixed on main and in engine 0.1.55): a request asking for the thinking level `medium` fails with `400 invalid request: Invalid reasoning effort: medium, should be int within [1,100] or one of "low", "high", "max"`. ISTA's template is copied verbatim into the pack by `tools/dsv41/pack_gguf.py`; its `effort_map` is `{low, high, max}` (18,509 bytes, SHA-256 `4d61d22c90ea0cdf…`, byte-identical in both ISTA repositories), while `EFFORT_DEEPSEEK` hands the word `medium` straight through - the repo's fixture is Unsloth's copy, which has `medium: 62`, so `serve/test_dsv41.py` cannot see the difference. Not touched here: one problem per pull request, and #4327 already has the fix (map medium to 62, and take `budget_effort`'s medium from the table too, which still hardcodes the words at `serve/frontend.py:178`). Until it lands, `low`, `high`, `max` or a number 1..100 reach the model; the app and the agent harnesses default to medium, so they need #4327 to use these sets. - The Coder repository ships `mmproj-DeepSeek-V4.1-Flash-1017-BF16.gguf` (972,208,096 bytes); Strata pins Unsloth's `mmproj-BF16.gguf` (972,208,288 bytes). Different files, so pictures keep using Strata's pinned one; whether the two towers behave the same for this set is untested. - Mac and Ryzen AI Max are unchanged: MAC_SET_PACK / the AARCH64 gate do not list the Coder, so it is simply not offered there, as with any set we have not run there. - `disk_total` and `ppl` for the Coder in ISTA_SETS are 191.0 and "?": they are display fields fed by the pinned sizes, and the quality column is ISTA's, not ours. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:34:07 +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#5293
No description provided.