mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #4115] [GUI] DeepSeek-V4.1: the conversation context chosen in the app never reaches setup (always --context 8192) #1798
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#1798
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 @beastrobin on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/4115
Area
[GUI] (the desktop app)
Desktop app, Terminal or source?
Desktop app (Windows)
What happened
On the Models screen I set Conversation context to 256K for DeepSeek-V4.1-Flash
IST-DAS-2.25bpwand pressed Apply settings and load. The engine came up with an 8192 window anyway, so the first message fails with400 … prompt (11885 tokens) leaves no room to answer in the context (8192). I retried with 32K: this time the app answeredThis model is not installed. Download and prepare it first.and never started the engine.Every
setup.pycall in that session was pinned to--context 8192, including the runs made right after selecting 256K and 32K. The model itself is fine: the same pack started by hand with--max-context 524288reachesREADY 524288in about 45 s on this machine.Smallest steps or command that reproduce it
IST-DAS-2.25bpwprepared (setup answered[ok] test question answered sensibly).%LOCALAPPDATA%\Strata\install\.strata-mcp\setup.logandinstall.json: the setup command says--context 8192.Retried with 32K — same, and this time the app reported the model as not installed.
Reproduction status
Reproduced locally (twice: 256K, then 32K).
Strata version
Strata 0.2.6 · control 0.1.51 · engine 0.1.51 (
strata-dsv41,build_id 562a0c2ed716+dsv41+cuda13.0)Graphics card, memory and system
NVIDIA RTX PRO 6000 Blackwell Workstation Edition, 96 GB VRAM · 253 GB RAM · Windows 11 (10.0.26200) · Intel Core Ultra 9 285K
Model, size and settings
DeepSeek-V4.1-Flash
IST-DAS-2.25bpw(274 GB on disk) · context 256K, also tried 32K · pictures off · data dirD:\Strata-data· GPU placement automaticLogs
1. Every setup call was 8192
Seven
deepseek41setups in the session, all with the same value (line numbers insetup.log):install.jsonof the 23:47 run:2. The run config that the 8192 produced
3. The 400 on the first message
4. Install finished, then reported as not installed
setup.logfor that run ends with[ok] test question answered sensibly,[ok] start script: run-deepseek-v4.1-flash-ist-das-2.25bpw.bat,strata-mcp: setup ended with exit code 0, and the config exists atinstall\strata-deepseek-v4.1-flash-ist-das-2.25bpw.json. No engine process is started. A plain load (no settings change, so no install) does work at 23:42 (runtime.start → state: ready, port 18500).5. Registry keeps a config from the previous Control version
strata.py models list --json:The config the 0.1.51 install just wrote is
...\Strata\install\strata-deepseek-v4.1-flash-ist-das-2.25bpw.json(8192). The same model id is therefore registered twice, with different contexts and differentinstall_dirs, and the 0.1.49.2 one is the one reported.Suspected path (unconfirmed static analysis, not observed)
tools/strata_mcp.py:2190—if context is None and md.get("multi_file"): context = getattr(s.setup_module(), "DSV41_CONTEXT", 8192)setup.py:734—DSV41_CONTEXT = 8192 # the context the engine was checked at (4096 and 8192; 64K is not tried yet)Both apply only when the request arrives without a context, which matches the observed
--context 8192— so the value the picker holds is not reaching Control. The picker itself looks right:catalog.contextsis the full[8192, 32768, 65536, 131072, 204800, 262144, 393216, 524288]list and the models panel submits{family, model, context, …}with{kind: "install", args}.For the second symptom,
host/server/native-control.mjs:146(recordFile()) is what raisesThis model is not installedwhen the lookup insnapshot.installed.modelsmisses — the miss is plausible with the duplicate registration in §5, since that function also requires the config to live underinstallRoot().What I ruled out
.done+ sha256; setup step 5 says "already downloaded", step 6 "test question answered sensibly".strata-dsv41.exe --serve --pack … --max-context 524288→READY 524288, 9299/15360 experts in VRAM (90.62 GB), ~21 tok/s. 512K works here, so the 8K is not an engine limit.Suggested direction
multi_filefamilies, either honour the requested context or reject it with a visible message — and then do not offer 32K–512K in the picker for that family.install_diris not the active one, so a leftover from a previous Control version cannot shadow the config a fresh install just wrote.installedonce an install job returnsexit_code: 0before concluding the model is missing.The logs quoted above are still on disk if you want the whole files.
@github-actions[bot] commented on GitHub (Oct 25, 2026):
Thanks for the issue. To keep the tracker readable, every item needs an area prefix in the title and the parts of the issue form filled in. This one is missing:
Edit the issue (title and description) and this note goes away on its own. If it is still missing parts in 5 days it will be closed, which is not a rejection: fix it and comment
/reopen.Details: CONTRIBUTING.md
@github-actions[bot] commented on GitHub (Oct 25, 2026):
Thanks, this follows the format now.
@Niko1221 commented on GitHub (Nov 5, 2026):
Thanks for taking the time to report this.
Strata has changed a lot since this was opened, and 0.2.11 is out now, so many older reports no longer apply. We're closing issues older than a week that have had no new reports in the last week. Closed here does not mean rejected.
To reopen it takes about two minutes:
/reopen. A check runs and either reopens the issue or lists what is still missing.The rules are in CONTRIBUTING.md.