mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3887] [GUI] a stale --pool-workers is inherited into every new instance record #1657
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#1657
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gitddpsm on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3887
Draft: new issue (form: bug_report.yml)
Submit at: https://github.com/Niko1221/Strata/issues/new?template=bug_report.yml
Title
Area
[GUI] (the desktop app)Desktop app, Terminal or source?
Desktop app (Windows, Linux or Mac)What happened
My model would not load. The app was writing
--pool-workers 9into the engine command line on a6-physical-core CPU (i7-8700K: 6 cores / 12 threads). The engine warns about it on every start, and on
one start it never became ready — the log ends right after
the profile fill asks for 0 pairs aheadand
session is upnever arrives, so the load hit its deadline.The number is not computed by anything in the current app. It is inherited: an instance record created
on 2026-10-21 carries
--pool-workers 9, and every record created afterwards copiesargsforward.native-instances/a5d7bf61-….json(created 2026-10-21, context 204800):… --mmap-experts --pool-workers 9 --vram-reserve-mib 2457native-instances/496fbdda-….json(created 2026-10-23, context 65536): same--pool-workers 9host/server/native-resources.mjs:63→Math.max(1, Math.floor(cores * 0.8))setup.py'srecommend_pool_workers()is a no-op on a non-hybrid CPU, so it did not write it eitherSmallest steps or command that reproduce it
On a 6-core CPU, install once with a config that has
--pool-workers 9(mine came from a 2026-10-21calibration run), or add the flag by hand to a saved instance record.
Load the model in the desktop app and read the engine start line in the log
(
%LOCALAPPDATA%\Strata\install\strata-<model>.log): the command line contains--pool-workers 9,and the engine prints the warning above.
Remove the flag (and the pending entry in
%LOCALAPPDATA%\Strata\tuning\recheck.json), load again— same record, same model, same GPU:
vs. the same record with the flag, on the failed start:
What I could reproduce deterministically: the inherited flag and the warning (every start), and that
removing it gives 5 workers / 2662 slots /
session is up. What I saw once and could not reproduceon demand: the start that stops at
the profile fill asks for 0 pairs ahead.Reproduction status
Reproduced locally(the inheritance and its effect on the start line; the non-ready start was observedonce on 2026-10-23 22:25:05 and not repeated).
Strata version
Strata 0.2.1 · control 0.1.46 · engine 0.1.47-windows-x86_64-cuda-cuda13 · harness 0.2.1-alpha.3Graphics card, memory and system
RTX 3080 Ti 12 GB · 24 GB RAM · Windows 10 19045 (i7-8700K, 6 cores / 12 threads)Model, size and settings
Qwen3.8-Flash-Next-Gyro-S TQ1_0 · 58 GB gguf + 25.8 GB expert pack · 65536 context · pictures on · --mmap-experts · --expert-cache auto · --vram-reserve-mib 2048Logs
Start with the flag (2026-10-23 22:25:05), the one that never became ready:
Without the flag (2026-10-23 23:39:27), same model and settings:
What I would ask for
--pool-workersinto a new instance record unless the person set it explicitly, orre-validate it against the current CPU when the record is reused.
days and is the only breadcrumb that leads to the fix.
%LOCALAPPDATA%\Strata\tuning\recheck.jsonat startup: it still had apendingengine_changedentry for0.1.46 -> 0.1.47from 2026-10-21, and a re-check can rewrite the arguments.Possibly related
[Engine]0.1.47 default CPU expert-pool sizing collapses to 1 worker on an unusual topology(defaults, not inheritance; same
--pool-workerssymptom class)[Engine]NUMA pool split and the socket bound behindplan_pool_workers()[GUI]the "lost host child" dead-end that followed this hung start (comment posted there,not a re-report)
Note on this report
The hung start fed a second failure: the interrupted load left an orphaned control child and every later
load was refused with
lost host child is still present; retry after it exits(see my comment on #3488).I mention it only as the consequence — the two reports are otherwise separate.
Statements above are from this machine's logs; the two candidate causes for the non-ready start
(the stale worker count and the 2457 MiB reserve) were not isolated against each other, so I am not
claiming which one stopped it.
@Niko1221 commented on GitHub (Oct 26, 2026):
Fixed in 0.2.3: the app counts physical cores (80 percent, rounded up) and lowers a saved larger worker count when the model is loaded under the Work preference. 0.2.1 had written 9 from 12 logical threads. Please update; if the stale value is still there after loading once, tell us.