[PR #2041] [CLOSED] [Other] setup: agentionai's Signal 3.8 Flash Next as --family signal (AP-Q4_K_XL, AP-IQ4_XS), images with its own encoder #3821

Closed
opened 2026-11-07 15:31:00 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/2041
Author: @clothespin
Created: 10/12/2026
Status: ❌ Closed

Base: main ← Head: signal-installer


📝 Commits (10+)

  • 6143044 tools/embd_bf16_pack.py: --gguf reads split models, takes --tensor and prints its rounding error (Signal AP-Q4_K_XL's Q6_K table: worst 0.00036), and has a test; --model's header unchanged byte for byte
  • d5e9f53 docs/SIGNAL_AP_Q4_K_XL.md: manual setup for agentionai's Signal AP-Q4_K_XL (Q4_K/IQ4_NL experts, Q6_K dense: a --compat-bf16 pack plus a BF16 embedding)
  • 9ba6d16 setup: agentionai's Signal 3.8 Flash Next as --family signal (AP-Q4_K_XL, AP-IQ4_XS), images with its own encoder
  • 3abe46b setup: Signal's two sizes are not NVIDIA-only - main has AMD kernels for every format they use; the flag asked for a reason 23250b5d took back
  • ce2d915 docs: Unsloth's UD-Q4_K_XL is neither experimental nor NVIDIA-only since 23250b5d, and setup keeps every expert in RAM where they fit
  • c347144 setup: Signal's menu text gives the RAM sizes the rule uses - every expert in RAM from ~80 GB (AP-Q4_K_XL) and ~70 GB (AP-IQ4_XS), not ~90 and ~80
  • 96b1a26 Signal was not first class outside setup.py: the app looks for its picture reader under the name setup writes it, and launch counts its parts
  • d639a39 The app's version list had no group for Signal, so its two sizes were listed under "Qwen3.6 models"
  • 412f149 The app gave a Signal version no edition of its own, so its name was the only thing beside it
  • f65cde3 Signal was missing from the table of files Strata runs, and from the tool that writes it

📊 Changes

33 files changed (+909 additions, -106 deletions)

View changed files

📝 README.de.md (+1 -0)
📝 README.es.md (+1 -0)
📝 README.fr.md (+1 -0)
📝 README.ja.md (+1 -0)
📝 README.md (+1 -0)
📝 README.pt-BR.md (+1 -0)
📝 README.zh-CN.md (+1 -0)
📝 apps/host/src/lib/native-catalog.ts (+2 -2)
📝 apps/host/src/lib/native-fit.ts (+1 -0)
📝 apps/host/src/lib/native-names.ts (+1 -1)
📝 apps/host/tests/languages-and-catalog.test.mjs (+8 -0)
📝 apps/host/tests/native-fit.test.mjs (+8 -2)
📝 data/gguf_fingerprints.json (+34 -2)
📝 docs/AI_SETUP.md (+1 -0)
📝 docs/DETAILS.md (+2 -1)
📝 docs/MCP_SERVER.md (+1 -1)
📝 docs/MODELS.md (+23 -0)
➕ docs/SIGNAL_AP_Q4_K_XL.md (+309 -0)
📝 docs/TERMINAL_LAUNCH.md (+4 -3)
📝 metal/setup_mac.py (+2 -2)

...and 13 more files

📄 Description

Problem and result

agentionai's Signal 3.8 Flash Next is a fine-tune of
Qwen3.8-Flash-Next in two ~4-bit sizes, AP-Q4_K_XL (101 GB) and AP-IQ4_XS (90.45 GB). The engine runs the files as they
are, but nothing above setup knew them:

  • the files were not pinned, so setup would not download or trust them;
  • the dense weights are Q6_K and need a --compat-bf16 pack;
  • the token embedding is Q6_K, which the stock engine has no GPU dequantizer for. It stops at startup with
    native embedding: token_embd.weight is absent, of another type without a GPU dequantizer;
  • the name checks took an AP- file for UD-Q4_K_XL or for a GGUF Strata cannot run;
  • Signal's picture encoder is mmproj-F16.gguf in its own repository, the same file name Qwen3.6 uses for a different
    file;
  • the app listed its two sizes under "Qwen3.6 models" with no name of their own, and the Terminal's file table, the
    packaged Terminal's tools, the adoption path, the unattended settings path and the lists that tell a person or an
    agent what they can ask for did not have the family at all.

Before: a manual recipe only, and even after setup could install it a person had to know the family name by heart.
After: setup.py --family signal --model AP-Q4_K_XL (or AP-IQ4_XS) downloads, packs, writes the BF16 embedding and
the config, and starts the server; the size also appears in the app's list with a group and an edition of its own, and
strata launch --plan --model ap-q4_k_xl resolves it with no --family at all. Both sizes ran through setup and the
speed check on one RTX 4090 (Validation). No engine source changed, and the configs setup writes for the original model
and for Unsloth's file are byte for byte what main writes (Validation).

This text replaces the description of #2041, which was closed in the October 19 tracker reset. I searched open and closed
issues and pull requests for "Signal", "agentionai", "AP-Q4_K_XL" and "AP-IQ4_XS" (the first results of each); #2041 is
the only one that adds Signal to setup. Builds on #290 (--embd-gguf). No scope agreement beyond the review on #2041.
This adds a family; it changes no default. The measured run and its individual requests are in the results-only pull
request #3573, as CONTRIBUTING asks.

Approach

Sixteen commits on main at 7dd5cf18 (0.2.4.2). The branch is a rebase of the six that were reviewed on #2041, plus
ten that finish the job outside setup.py. The rebase is verified rather than assumed: git range-diff says five of the
six are byte-identical patches and the sixth differs only in the three conflict hunks (a --compat-bf16 pack argument,
the embd_bf16 flag and the picture-encoder name, where upstream added a family in between).

  1. tools/embd_bf16_pack.py: --gguf already existed (for Gyro-S's Q6_K table). It now reads a split model through
    iq_pack.py's model reader, takes --tensor, records the rounding method in the file, and prints the worst rounding
    error. The --model header is unchanged byte for byte. Two new tests are in tools/test_iq_pack.py.
  2. docs/SIGNAL_AP_Q4_K_XL.md (new) and a pointer in docs/MODELS.md: the manual workflow, its speeds, and what was
    and was not checked.
  3. setup.py: the signal family and the two models, pinned at revision eba565be with each file's size and SHA-256,
    and the picture encoder pinned too (saved as mmproj-Signal-3.8-Flash-Next-F16.gguf). For this family only, setup
    writes <pack>/token-embd-bf16.gguf and adds --embd-gguf to the config. Also tools/test_setup_signal.py (11
    tests), the README, docs/AI_SETUP.md, docs/DETAILS.md and docs/MODELS.md. budget_model() and the --gguf-dir
    name check now read a one-file name with the AP- prefix.
  4. Neither size is NVIDIA-only: the flag asked for a reason that 23250b5d took back (Q4_K experts have an AMD path;
    AP-IQ4_XS uses UD-IQ4_XS's types). Setup only warns on AMD; nothing is blocked.
  5. A docs fix that is not about Signal: UD-Q4_K_XL is neither experimental nor NVIDIA-only since 23250b5d. Reviewers
    saw it in #2041; I can move it to its own pull request.
  6. The menu text for the two sizes said every expert is kept in RAM from ~90 and ~80 GB. The rule in unsloth_budget()
    gives 80 and 70 GiB (arena + 16 GiB); the text, the fallback table and docs/AI_SETUP.md now say so. The rule is not
    changed.
  7. strata_cli/launch/modelstate.py: the family in the table of files Strata runs, so a Signal install is recognised,
    listed and adopted instead of looking like somebody's loose download. tools/gguf_fingerprints.json gains the two
    rows for the sizes, measured on the files the pins point at (not made up), and tools/make_gguf_fingerprints.py
    learned the family so a later --write keeps them.
  8. The picture encoder's own name is now resolved on every install path. Two paths kept writing
    mmproj-F16.gguf, which on a PC that also has Qwen3.6-35B-A3B is a different 4.7 MB smaller file: setup.py's
    unattended path and metal/setup_mac.py. The Mac Terminal's installer now renames it and checks the pin the PC
    paths check.
  9. The app: a group of its own in the version list (it had none, so its sizes were listed under "Qwen3.6 models"), an
    edition ("Signal"), the full name in the model list, and the picture reader looked up under the name setup writes.
  10. The lists that say what one can ask for: the MCP family description, docs/MCP_SERVER.md and
    docs/TERMINAL_LAUNCH.md, and the six translated READMEs, which listed the other models without Signal.
  11. strata_cli/launch/adopt.py and the unattended settings path: a Signal file already on disk can be adopted and
    given settings, including the BF16 embedding copy beside the pack, which is reported as a problem when it is
    missing. Not unsloth or nvfp4, which are still absent from that path: out of scope here.

Validation

Tested at e208ba89 on main 7dd5cf18. Linux 7.2.11, RTX 4090 (24 GB, driver 615.78.08, CUDA 13.4), Ryzen 9
7950X3D, 93.5 GiB RAM at the firmware's defaults (DDR5-3600). The Python suites ran on CPython 3.14 with the
repository's requirements.txt plus textual, numpy and pyyaml. The setup runs and the speed rows below were
measured before the rebase, at the earlier tip 04443aeb on main 9de04cd4, with engine 0.1.46.3 built from those
sources; they have not been repeated on the rebased branch.

Passed:

  • The default path is byte-identical, measured today on this branch: the 25 configs tools/test_setup_golden.py's
    record() builds (5 PCs x 5 choices) were written out with --write in a worktree at 7dd5cf18 and at this tip, and
    the two files cmp clean.

  • .venv equivalent: tools/test_setup_*.py and tools/test_iq_pack.py - 865 passed, 1 skipped, 237 subtests passed,
    53 failed. All 53 are under Failed, and each one also fails at 7dd5cf18.

  • tests/desktop: 32 passed, 6 skipped, 8 subtests passed.

  • apps/host (npm test): 974 passed, 104 skipped, 1 failed (under Failed).

  • tests/terminal in full: 1637 passed, 47 skipped, 332 subtests passed, 31 failed (21 min 39 s). The 31 are under
    Failed, with the proof that none of them comes from this branch.

  • Two failures the first-class work introduced were fixed on this branch and pass:
    tests/terminal/test_own_files.py::Table::test_every_size_setup_installs_is_in_the_table (the file table had no
    Signal rows) and tests/terminal/test_bundle_tools_paths.py::ByPathToolsAreBundled::test_every_file_run_by_path_is_in_the_bundle
    (tools/embd_bf16_pack.py is run by path and was not bundled).

  • Setup end to end, each into an empty data folder with its own settings file, the engine already built: AP-Q4_K_XL on
    2026-10-21 (the file already downloaded, --gguf-dir): the SHA-256 check, the pack and the 5 GB draft-layer download;
    AP-IQ4_XS on 2026-10-19 with the 90 GB download (engine 0.1.45.3), and again on 2026-10-21 on the files of that run,
    where setup wrote the same arguments.

  • Speed, tools/strata_bench.py (3 runs per test, thinking off, temperature 0), one server start per run, nothing else
    on the GPU, 2026-10-21. Median of the runs; docs/SIGNAL_AP_Q4_K_XL.md has every run, the slowest and fastest request:

    config runs short answers (tok/s) 4K prompt (tok/s) 16K prompt (tok/s) agent decode (tok/s)
    AP-Q4_K_XL, config setup writes 3 71.3 1636 3080 86.1
    AP-IQ4_XS, config setup writes 3 91.0 2123 3802 108.0
    AP-Q4_K_XL, the document's hand-built config 4 64.1 1710 2769 76.5

    The hand-built config differs from setup's in six settings at once, so the rows do not say which of them matters. Also
    measured (tools/ab_engine.py, 4 rounds): the engine's default beat --adapt-every 1 --adapt-swaps 80 --adapt-decay 0.97 in 15 of 16 pairs at 100 tokens (60.8 against 49.8 tok/s) and 16 of 16 at up to 512 (65.7 against 59.7); and
    --kv int8 against --kv q4_0, two runs each alternating, was 60.5 against 64.5 for short answers, 74.9 against 72.1
    in the agent session and 2741 against 2693 for the 16K prompt.

  • strata launch --plan --model ap-q4_k_xl with no --family, on this branch: it resolves the size itself (Signal
    3.8 Flash Next AP-Q4_K_XL, 101 GB, 128K context, pictures on the card, draft layer on) and changes nothing.

  • AP-IQ4_XS answered "What is 17 * 23? Answer with just the number." with 391 on 2026-10-19 through llama-swap after a
    cold load (37 of 40 draft tokens accepted). One short request.

  • AP-Q4_K_XL, 2026-10-11 on the pre-rebase branch (engine 0.1.43): setup's pack, tokenizer and embedding file were byte
    for byte the hand-built ones in the document, and it passed the document's picture checks and the text checks of
    docs/ORCA.md, except one answer (the second-largest number in a list: 100 for 99).

Failed:

  • tools/test_setup_golden.py: 48 sub-test failures, both here and at 7dd5cf18 (run in a worktree). It compares the
    computed configs with the stored tools/test_setup_golden.json; the configs this branch computes are byte for byte
    what main computes, as shown under Passed.
  • tools/test_setup_dsv41.py::test_no_engine_stops_before_the_download (4) and
    tools/test_setup_download.py::Resume::test_a_killed_download_continues (1): 5 failed, 108 passed at 7dd5cf18 in a
    worktree, the same 5 here. Nothing here touches the download path.
  • apps/host/tests/timeskip-real.test.mjs:98, "the revision command (a grandchild of the job) was ended too": fails at
    7dd5cf18 with the same assertion (true !== false).
  • tests/terminal: the same 31 in two runs of the same 12 files in the same checkout (31 both times, identical test
    names, no drift). 28 of them also fail at 7dd5cf18. The other three
    (test_discovery.py::GuiLayout::test_list_and_the_wizard_agree_on_the_install and twice in
    test_shared_models_folder.py) are install-layout tests: they fail in this checkout, which is a registered Strata
    install with a data directory, they failed here before any commit of mine, and they pass in a clean worktree at both
    7dd5cf18 and this tip. They are this machine's layout, not this branch. They were 34 before the last five commits,
    which is where the two fixed failures above come from.
  • No CI has run on this pull request. All four workflows (Title area, Metal build, Minimal serving runtime, Portable
    monitor client) sit in action_required on every head, waiting for a maintainer to allow them.

Not run:

  • Any AMD card (including a Signal model on one), Windows, Mac, several GPUs, other memory settings or RAM sizes, the
    picture encoder on the CPU, and pictures with AP-IQ4_XS. Kernel-level AMD checks are in the commit message of the
    fourth commit; they are not a model run.
  • metal/setup_mac.py was changed and has never been executed: no Apple hardware here. It is Python, and no file under
    src/, sycl/, metal/, cuda/ or include/ changed, so no backend was rebuilt for this pull request.
  • --model Q8_0 for Signal (setup should refuse it; I have not seen it do so); embd_bf16_pack.py --model end to end
    (no safetensors checkpoint here); setup's download of AP-Q4_K_XL (the file was already there).
  • The draft standard benchmark (strata bench run): its only profile is the original Qwen3.8-Flash-Next and it says
    fine-tunes need a profile of their own, which does not exist. The speeds above are the community guide's quick check
    and are not standard results.
  • Output quality against the base model, and the draft head's acceptance beyond the single request above.
  • The recommended four sizes: Signal is not among them, on purpose, and nothing here changes what a person is offered by
    default.

Limits

  • Neither Signal file has run on AMD. The docs say so.
  • Speeds move from run to run, less for AP-IQ4_XS (short answers 90.4, 91.0 and 92.1 tok/s in its three runs) than for
    setup's AP-Q4_K_XL config (71.3, 71.5 and 64.5). They were measured with the firmware at its defaults (DDR5-3600 on
    four modules) and depend on it. They predate the rebase and the engine has moved since.
  • With every expert in RAM (what setup writes from ~80 and ~70 GiB of RAM), setup's AP-Q4_K_XL config left 12.8 to 15.7
    GiB of this 93.5 GiB PC available while it ran, with a desktop session open. In two of its three runs the kernel logged
    a page-allocation failure in the engine while the server loaded, followed by the NVIDIA driver failing to create a DMA
    mapping (Assertion failed: status == NV_OK @ mem_desc.c:4326). The engine carried on and both runs finished without a
    failed request, but they hold the only slow requests of the session (a 4K prompt at 718 tok/s, one agent turn that took
    11.1 s to its first token). The cause is not established. A PC with less memory to spare may behave worse; I did not
    measure one.
  • The family text repeats the authors' "26% fewer reasoning tokens on MATH-500". I did not measure it.
  • The budget_model() change reads any one-file name ending in -<model>.GGUF, not only Signal's. I did not check
    whether another family's file reaches it.
  • The two fingerprint rows are measured, the rest of that file is untouched. tools/make_gguf_fingerprints.py --write
    was not run against the whole table, so a later regeneration by someone else may reorder or reformat entries; I did
    not check what it would do.
  • The lists in item 10 are text a person or an agent reads. They are not code paths, and no test reads the translated
    READMEs for their model lists.
  • A Signal model on a Mac is refused with a clear message rather than installed (no Mac model installer for family 'signal'), because the Mac install path has no Signal entry. That is the state of things today, not a claim that it
    cannot work.

🔄 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/2041 **Author:** [@clothespin](https://github.com/clothespin) **Created:** 10/12/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `signal-installer` --- ### 📝 Commits (10+) - [`6143044`](https://github.com/Niko1221/Strata/commit/6143044d7df00a98553570dc8b41c2d169162727) tools/embd_bf16_pack.py: --gguf reads split models, takes --tensor and prints its rounding error (Signal AP-Q4_K_XL's Q6_K table: worst 0.00036), and has a test; --model's header unchanged byte for byte - [`d5e9f53`](https://github.com/Niko1221/Strata/commit/d5e9f53e63ce9a42ca7dff3e61d7e24daa51c531) docs/SIGNAL_AP_Q4_K_XL.md: manual setup for agentionai's Signal AP-Q4_K_XL (Q4_K/IQ4_NL experts, Q6_K dense: a --compat-bf16 pack plus a BF16 embedding) - [`9ba6d16`](https://github.com/Niko1221/Strata/commit/9ba6d1693c13681b057de72f0ae26c57928286c6) setup: agentionai's Signal 3.8 Flash Next as --family signal (AP-Q4_K_XL, AP-IQ4_XS), images with its own encoder - [`3abe46b`](https://github.com/Niko1221/Strata/commit/3abe46b679949cec0b1632658775b66aa54c03af) setup: Signal's two sizes are not NVIDIA-only - main has AMD kernels for every format they use; the flag asked for a reason 23250b5d took back - [`ce2d915`](https://github.com/Niko1221/Strata/commit/ce2d915ade811a120f46ca61cd51920ef78edaae) docs: Unsloth's UD-Q4_K_XL is neither experimental nor NVIDIA-only since 23250b5d, and setup keeps every expert in RAM where they fit - [`c347144`](https://github.com/Niko1221/Strata/commit/c347144d9c908f3bc9f454789717c2d5942cf3d3) setup: Signal's menu text gives the RAM sizes the rule uses - every expert in RAM from ~80 GB (AP-Q4_K_XL) and ~70 GB (AP-IQ4_XS), not ~90 and ~80 - [`96b1a26`](https://github.com/Niko1221/Strata/commit/96b1a26e72a51ad0984164b22abb7d41fca9cc34) Signal was not first class outside setup.py: the app looks for its picture reader under the name setup writes it, and launch counts its parts - [`d639a39`](https://github.com/Niko1221/Strata/commit/d639a390ac03e15fca3272c94365762253980c8d) The app's version list had no group for Signal, so its two sizes were listed under "Qwen3.6 models" - [`412f149`](https://github.com/Niko1221/Strata/commit/412f149cb004e4c497caccf742514b78df1ab73f) The app gave a Signal version no edition of its own, so its name was the only thing beside it - [`f65cde3`](https://github.com/Niko1221/Strata/commit/f65cde3308a088065801517d6bf4e3b914af92be) Signal was missing from the table of files Strata runs, and from the tool that writes it ### 📊 Changes **33 files changed** (+909 additions, -106 deletions) <details> <summary>View changed files</summary> 📝 `README.de.md` (+1 -0) 📝 `README.es.md` (+1 -0) 📝 `README.fr.md` (+1 -0) 📝 `README.ja.md` (+1 -0) 📝 `README.md` (+1 -0) 📝 `README.pt-BR.md` (+1 -0) 📝 `README.zh-CN.md` (+1 -0) 📝 `apps/host/src/lib/native-catalog.ts` (+2 -2) 📝 `apps/host/src/lib/native-fit.ts` (+1 -0) 📝 `apps/host/src/lib/native-names.ts` (+1 -1) 📝 `apps/host/tests/languages-and-catalog.test.mjs` (+8 -0) 📝 `apps/host/tests/native-fit.test.mjs` (+8 -2) 📝 `data/gguf_fingerprints.json` (+34 -2) 📝 `docs/AI_SETUP.md` (+1 -0) 📝 `docs/DETAILS.md` (+2 -1) 📝 `docs/MCP_SERVER.md` (+1 -1) 📝 `docs/MODELS.md` (+23 -0) ➕ `docs/SIGNAL_AP_Q4_K_XL.md` (+309 -0) 📝 `docs/TERMINAL_LAUNCH.md` (+4 -3) 📝 `metal/setup_mac.py` (+2 -2) _...and 13 more files_ </details> ### 📄 Description ## Problem and result agentionai's [Signal 3.8 Flash Next](https://huggingface.co/agentionai/Signal-3.8-Flash-Next-GGUF) is a fine-tune of Qwen3.8-Flash-Next in two ~4-bit sizes, AP-Q4_K_XL (101 GB) and AP-IQ4_XS (90.45 GB). The engine runs the files as they are, but nothing above setup knew them: - the files were not pinned, so setup would not download or trust them; - the dense weights are Q6_K and need a `--compat-bf16` pack; - the token embedding is Q6_K, which the stock engine has no GPU dequantizer for. It stops at startup with `native embedding: token_embd.weight is absent, of another type without a GPU dequantizer`; - the name checks took an `AP-` file for UD-Q4_K_XL or for a GGUF Strata cannot run; - Signal's picture encoder is `mmproj-F16.gguf` in its own repository, the same file name Qwen3.6 uses for a different file; - the app listed its two sizes under "Qwen3.6 models" with no name of their own, and the Terminal's file table, the packaged Terminal's tools, the adoption path, the unattended settings path and the lists that tell a person or an agent what they can ask for did not have the family at all. Before: a manual recipe only, and even after setup could install it a person had to know the family name by heart. After: `setup.py --family signal --model AP-Q4_K_XL` (or `AP-IQ4_XS`) downloads, packs, writes the BF16 embedding and the config, and starts the server; the size also appears in the app's list with a group and an edition of its own, and `strata launch --plan --model ap-q4_k_xl` resolves it with no `--family` at all. Both sizes ran through setup and the speed check on one RTX 4090 (Validation). No engine source changed, and the configs setup writes for the original model and for Unsloth's file are byte for byte what `main` writes (Validation). ## Related discussion This text replaces the description of #2041, which was closed in the October 19 tracker reset. I searched open and closed issues and pull requests for "Signal", "agentionai", "AP-Q4_K_XL" and "AP-IQ4_XS" (the first results of each); #2041 is the only one that adds Signal to setup. Builds on #290 (`--embd-gguf`). No scope agreement beyond the review on #2041. This adds a family; it changes no default. The measured run and its individual requests are in the results-only pull request #3573, as CONTRIBUTING asks. ## Approach Sixteen commits on `main` at `7dd5cf18` (0.2.4.2). The branch is a rebase of the six that were reviewed on #2041, plus ten that finish the job outside setup.py. The rebase is verified rather than assumed: `git range-diff` says five of the six are byte-identical patches and the sixth differs only in the three conflict hunks (a `--compat-bf16` pack argument, the `embd_bf16` flag and the picture-encoder name, where upstream added a family in between). 1. `tools/embd_bf16_pack.py`: `--gguf` already existed (for Gyro-S's Q6_K table). It now reads a split model through `iq_pack.py`'s model reader, takes `--tensor`, records the rounding method in the file, and prints the worst rounding error. The `--model` header is unchanged byte for byte. Two new tests are in `tools/test_iq_pack.py`. 2. `docs/SIGNAL_AP_Q4_K_XL.md` (new) and a pointer in `docs/MODELS.md`: the manual workflow, its speeds, and what was and was not checked. 3. `setup.py`: the `signal` family and the two models, pinned at revision `eba565be` with each file's size and SHA-256, and the picture encoder pinned too (saved as `mmproj-Signal-3.8-Flash-Next-F16.gguf`). For this family only, setup writes `<pack>/token-embd-bf16.gguf` and adds `--embd-gguf` to the config. Also `tools/test_setup_signal.py` (11 tests), the README, `docs/AI_SETUP.md`, `docs/DETAILS.md` and `docs/MODELS.md`. `budget_model()` and the `--gguf-dir` name check now read a one-file name with the `AP-` prefix. 4. Neither size is NVIDIA-only: the flag asked for a reason that `23250b5d` took back (Q4_K experts have an AMD path; AP-IQ4_XS uses UD-IQ4_XS's types). Setup only warns on AMD; nothing is blocked. 5. A docs fix that is not about Signal: UD-Q4_K_XL is neither experimental nor NVIDIA-only since `23250b5d`. Reviewers saw it in #2041; I can move it to its own pull request. 6. The menu text for the two sizes said every expert is kept in RAM from ~90 and ~80 GB. The rule in `unsloth_budget()` gives 80 and 70 GiB (arena + 16 GiB); the text, the fallback table and `docs/AI_SETUP.md` now say so. The rule is not changed. 7. `strata_cli/launch/modelstate.py`: the family in the table of files Strata runs, so a Signal install is recognised, listed and adopted instead of looking like somebody's loose download. `tools/gguf_fingerprints.json` gains the two rows for the sizes, measured on the files the pins point at (not made up), and `tools/make_gguf_fingerprints.py` learned the family so a later `--write` keeps them. 8. The picture encoder's own name is now resolved on every install path. Two paths kept writing `mmproj-F16.gguf`, which on a PC that also has Qwen3.6-35B-A3B is a different 4.7 MB smaller file: `setup.py`'s unattended path and `metal/setup_mac.py`. The Mac Terminal's installer now renames it and checks the pin the PC paths check. 9. The app: a group of its own in the version list (it had none, so its sizes were listed under "Qwen3.6 models"), an edition ("Signal"), the full name in the model list, and the picture reader looked up under the name setup writes. 10. The lists that say what one can ask for: the MCP `family` description, `docs/MCP_SERVER.md` and `docs/TERMINAL_LAUNCH.md`, and the six translated READMEs, which listed the other models without Signal. 11. `strata_cli/launch/adopt.py` and the unattended settings path: a Signal file already on disk can be adopted and given settings, including the BF16 embedding copy beside the pack, which is reported as a problem when it is missing. Not unsloth or nvfp4, which are still absent from that path: out of scope here. ## Validation Tested at `e208ba89` on `main` `7dd5cf18`. Linux 7.2.11, RTX 4090 (24 GB, driver 615.78.08, CUDA 13.4), Ryzen 9 7950X3D, 93.5 GiB RAM at the firmware's defaults (DDR5-3600). The Python suites ran on CPython 3.14 with the repository's `requirements.txt` plus `textual`, `numpy` and `pyyaml`. The setup runs and the speed rows below were measured before the rebase, at the earlier tip `04443aeb` on `main` `9de04cd4`, with engine 0.1.46.3 built from those sources; they have not been repeated on the rebased branch. **Passed:** - The default path is byte-identical, measured today on this branch: the 25 configs `tools/test_setup_golden.py`'s `record()` builds (5 PCs x 5 choices) were written out with `--write` in a worktree at `7dd5cf18` and at this tip, and the two files `cmp` clean. - `.venv` equivalent: `tools/test_setup_*.py` and `tools/test_iq_pack.py` - 865 passed, 1 skipped, 237 subtests passed, 53 failed. All 53 are under Failed, and each one also fails at `7dd5cf18`. - `tests/desktop`: 32 passed, 6 skipped, 8 subtests passed. - `apps/host` (`npm test`): 974 passed, 104 skipped, 1 failed (under Failed). - `tests/terminal` in full: 1637 passed, 47 skipped, 332 subtests passed, 31 failed (21 min 39 s). The 31 are under Failed, with the proof that none of them comes from this branch. - Two failures the first-class work introduced were fixed on this branch and pass: `tests/terminal/test_own_files.py::Table::test_every_size_setup_installs_is_in_the_table` (the file table had no Signal rows) and `tests/terminal/test_bundle_tools_paths.py::ByPathToolsAreBundled::test_every_file_run_by_path_is_in_the_bundle` (`tools/embd_bf16_pack.py` is run by path and was not bundled). - Setup end to end, each into an empty data folder with its own settings file, the engine already built: AP-Q4_K_XL on 2026-10-21 (the file already downloaded, `--gguf-dir`): the SHA-256 check, the pack and the 5 GB draft-layer download; AP-IQ4_XS on 2026-10-19 with the 90 GB download (engine 0.1.45.3), and again on 2026-10-21 on the files of that run, where setup wrote the same arguments. - Speed, `tools/strata_bench.py` (3 runs per test, thinking off, temperature 0), one server start per run, nothing else on the GPU, 2026-10-21. Median of the runs; `docs/SIGNAL_AP_Q4_K_XL.md` has every run, the slowest and fastest request: | config | runs | short answers (tok/s) | 4K prompt (tok/s) | 16K prompt (tok/s) | agent decode (tok/s) | | --- | ---: | ---: | ---: | ---: | ---: | | AP-Q4_K_XL, config setup writes | 3 | 71.3 | 1636 | 3080 | 86.1 | | AP-IQ4_XS, config setup writes | 3 | 91.0 | 2123 | 3802 | 108.0 | | AP-Q4_K_XL, the document's hand-built config | 4 | 64.1 | 1710 | 2769 | 76.5 | The hand-built config differs from setup's in six settings at once, so the rows do not say which of them matters. Also measured (`tools/ab_engine.py`, 4 rounds): the engine's default beat `--adapt-every 1 --adapt-swaps 80 --adapt-decay 0.97` in 15 of 16 pairs at 100 tokens (60.8 against 49.8 tok/s) and 16 of 16 at up to 512 (65.7 against 59.7); and `--kv int8` against `--kv q4_0`, two runs each alternating, was 60.5 against 64.5 for short answers, 74.9 against 72.1 in the agent session and 2741 against 2693 for the 16K prompt. - `strata launch --plan --model ap-q4_k_xl` with no `--family`, on this branch: it resolves the size itself (Signal 3.8 Flash Next AP-Q4_K_XL, 101 GB, 128K context, pictures on the card, draft layer on) and changes nothing. - AP-IQ4_XS answered "What is 17 * 23? Answer with just the number." with `391` on 2026-10-19 through llama-swap after a cold load (37 of 40 draft tokens accepted). One short request. - AP-Q4_K_XL, 2026-10-11 on the pre-rebase branch (engine 0.1.43): setup's pack, tokenizer and embedding file were byte for byte the hand-built ones in the document, and it passed the document's picture checks and the text checks of `docs/ORCA.md`, except one answer (the second-largest number in a list: 100 for 99). **Failed:** - `tools/test_setup_golden.py`: 48 sub-test failures, both here and at `7dd5cf18` (run in a worktree). It compares the computed configs with the stored `tools/test_setup_golden.json`; the configs this branch computes are byte for byte what `main` computes, as shown under Passed. - `tools/test_setup_dsv41.py::test_no_engine_stops_before_the_download` (4) and `tools/test_setup_download.py::Resume::test_a_killed_download_continues` (1): 5 failed, 108 passed at `7dd5cf18` in a worktree, the same 5 here. Nothing here touches the download path. - `apps/host/tests/timeskip-real.test.mjs:98`, "the revision command (a grandchild of the job) was ended too": fails at `7dd5cf18` with the same assertion (`true !== false`). - `tests/terminal`: the same 31 in two runs of the same 12 files in the same checkout (31 both times, identical test names, no drift). 28 of them also fail at `7dd5cf18`. The other three (`test_discovery.py::GuiLayout::test_list_and_the_wizard_agree_on_the_install` and twice in `test_shared_models_folder.py`) are install-layout tests: they fail in this checkout, which is a registered Strata install with a data directory, they failed here before any commit of mine, and they pass in a clean worktree at both `7dd5cf18` and this tip. They are this machine's layout, not this branch. They were 34 before the last five commits, which is where the two fixed failures above come from. - No CI has run on this pull request. All four workflows (Title area, Metal build, Minimal serving runtime, Portable monitor client) sit in `action_required` on every head, waiting for a maintainer to allow them. **Not run:** - Any AMD card (including a Signal model on one), Windows, Mac, several GPUs, other memory settings or RAM sizes, the picture encoder on the CPU, and pictures with AP-IQ4_XS. Kernel-level AMD checks are in the commit message of the fourth commit; they are not a model run. - `metal/setup_mac.py` was changed and has never been executed: no Apple hardware here. It is Python, and no file under `src/`, `sycl/`, `metal/`, `cuda/` or `include/` changed, so no backend was rebuilt for this pull request. - `--model Q8_0` for Signal (setup should refuse it; I have not seen it do so); `embd_bf16_pack.py --model` end to end (no safetensors checkpoint here); setup's download of AP-Q4_K_XL (the file was already there). - The draft standard benchmark (`strata bench run`): its only profile is the original Qwen3.8-Flash-Next and it says fine-tunes need a profile of their own, which does not exist. The speeds above are the community guide's quick check and are not standard results. - Output quality against the base model, and the draft head's acceptance beyond the single request above. - The recommended four sizes: Signal is not among them, on purpose, and nothing here changes what a person is offered by default. ## Limits - Neither Signal file has run on AMD. The docs say so. - Speeds move from run to run, less for AP-IQ4_XS (short answers 90.4, 91.0 and 92.1 tok/s in its three runs) than for setup's AP-Q4_K_XL config (71.3, 71.5 and 64.5). They were measured with the firmware at its defaults (DDR5-3600 on four modules) and depend on it. They predate the rebase and the engine has moved since. - With every expert in RAM (what setup writes from ~80 and ~70 GiB of RAM), setup's AP-Q4_K_XL config left 12.8 to 15.7 GiB of this 93.5 GiB PC available while it ran, with a desktop session open. In two of its three runs the kernel logged a page-allocation failure in the engine while the server loaded, followed by the NVIDIA driver failing to create a DMA mapping (`Assertion failed: status == NV_OK @ mem_desc.c:4326`). The engine carried on and both runs finished without a failed request, but they hold the only slow requests of the session (a 4K prompt at 718 tok/s, one agent turn that took 11.1 s to its first token). The cause is not established. A PC with less memory to spare may behave worse; I did not measure one. - The family text repeats the authors' "26% fewer reasoning tokens on MATH-500". I did not measure it. - The `budget_model()` change reads any one-file name ending in `-<model>.GGUF`, not only Signal's. I did not check whether another family's file reaches it. - The two fingerprint rows are measured, the rest of that file is untouched. `tools/make_gguf_fingerprints.py --write` was not run against the whole table, so a later regeneration by someone else may reorder or reformat entries; I did not check what it would do. - The lists in item 10 are text a person or an agent reads. They are not code paths, and no test reads the translated READMEs for their model lists. - A Signal model on a Mac is refused with a clear message rather than installed (`no Mac model installer for family 'signal'`), because the Mac install path has no Signal entry. That is the state of things today, not a claim that it cannot work. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 15:31:00 +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#3821
No description provided.