mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #2445] [Bug]: STRATA_DUMP_FIRST_LOGITS writes no files with --pipeline-windows 2 on a 2-GPU layer split, and gives no warning (0.1.42) #991
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#991
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 @talisp on GitHub (Oct 14, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/2445
What happened
With
--serve --pipeline-windows 2on a two-GPU layer split,STRATA_DUMP_FIRST_LOGITS=<path>wrote no<path>.<n>files in 12 server sessions (2 models, contexts 64K to 1M, each session sent at least 60 one-token requests). The same engine binary, machine, config and prompts with--pipeline-windows 0(or with one GPU) write the files as documented in the code comment: 993,280 bytes each, i.e. the full vocabulary (248,320 logits) as float32. There is no message in the engine log or on stderr in the failing case.How to reproduce
--layer-split auto,--pipeline-windows 2,--spec 4 --mtp ..., any model; startstrata --servewithSTRATA_DUMP_FIRST_LOGITS=/tmp/lin the environment.POST /v1/chat/completionswith"max_tokens": 1.ls /tmp/l.*shows nothing.--pipeline-windows 0(everything else identical):/tmp/l.0appears.What we think is going on
Reading
src/program/generate.cpp: the serve-side dump (~line 11605 in v0.1.42, ~12662 onmaintoday) sits right afterver.run(...)in the non-pipelined window loop. The file has only two dump sites (serve, andgenerateat ~13851 on main); the pipelined decode loop (the code that printspipelined decode:andpcie_auto_step"in the pipelined loop too") has none. We did not trace which path the first window takes with--pipeline-windows 2; the evidence is that no file appears, in 12 of 12 sessions.Why it matters
Anyone comparing quantizations or code paths by KL through this dump gets an empty folder and no error. We only noticed after a multi-day battery had run, because the harness collected nothing and nothing complained.
tools/quant_quality.pyusesSTRATA_LOGPOSand is not affected; the variable is not mentioned indocs/DETAILS.md, so this may simply be an undocumented diagnostic with a mode limit.Suggestions (any one would have saved us a day)
DETAILS.mdthat it needs--pipeline-windows 0.We can test a patch on 2x A2 if useful.
Strata version, GPU, OS
v0.1.42 (commit
61b3fb5dd3f1e8ec09cf7e4e05208bc6d3c46406), source build for sm_86 · 2x NVIDIA A2 16 GB, PCIe gen4 x8 each, no NVLink · Ubuntu 24.04.4, driver 570.211.01, CUDA 12.8. Not re-tested on 0.1.43 or later; the dump code is unchanged onmain.Engine log
Nothing to attach: there is no log line for the failing case, which is the problem.
Part of a set of reports from one test battery on an idle lab VM: see the field report / community benchmark #2446. Drafted by an AI assistant (Claude Code) working from our logs; the account owner will read replies here.
@Niko1221 commented on GitHub (Oct 19, 2026):
Thanks for taking the time to report this.
We're resetting the tracker for 0.2.0-beta. There are more than 1,300 open issues and pull requests, too many for us to read properly, so we're closing everything that isn't being worked on right now. 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.