mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
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#2953
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?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/998
Author: @ischencheng
Created: 10/5/2026
Status: ❌ Closed
Base:
main← Head:fix/batch-exit-reason📝 Commits (10+)
fa16567setup: an earlier config that does not parse is skipped, not a crash; configs are written atomically (#459)749d957setup (--backend hip): a system ROCm without the HIP development files falls back to the wheels (#446)5a30024calibrate: the engine's arguments come from the server's engine_args; a failed tuning says why (#447)9f60d13serve, setup: name the small split card that caps the prompt chunk; setup recommends the big card alone (#448)eb8da1d/metrics: each request's speculative draft counts, and their sums in the totals (#457)6a09387setup (--gguf-dir): GGUFs Strata cannot run are named as such, with the --family/--model to use (#444)d6a91e2docs: the Coder is weaker outside code, Chinese/CJK text included; the unpruned sizes for that (#438)d8d4ad3Merge branch 'f-135-eng' into rel-0.1.357b600d5Merge branch 'f-135-small' into rel-0.1.35d9ab843Engine 0.1.35: Windows AMD uses its bundled HIP runtime (#468 #461), the low-RAM resident mode on Windows 32 GB PCs (#467), fixes #460 #459 #446 #447 #457 #448 #444; setup requires it📊 Changes
2 files changed (+38 additions, -1 deletions)
View changed files
📝
serve/server.py(+8 -0)📝
serve/test_parallel.py(+30 -1)📄 Description
With
"parallel": N, a batch window that fails prints why as anERRline on stdout and the engine exits with code 1 (batch_step/ the pipelinedpumpin generate.cpp, thenreturn 1in the serve loop). At that point every request is reading its own slot's queue, so nobody reads that line. The server's note then falls back to the log's laststrataline, which in #997 is theexpert tiersstats line, and without a log it says "the usual cause is running out of RAM"._pumpnow keeps anERRline that was the engine's last stdout line, anddeath_noteuses it before the log-tail guess. With the test below the server window says:This doesn't fix whatever fails in the #997 / #890 windows. It only makes the next report name the error. If the engine dies some other way (a kernel wrapper's
std::exitwith only a stderr line, a signal), the note is the same as before.Test:
test_parallel's fake engine gets--fail-window(its first window over two slots prints an ERR line and exits 1).test_a_failed_window_names_its_errorfails on main (the note blames RAM) and passes here.serve/test_parallel.py,test_server.py,test_lifecycle.py,test_monitor.py,test_responses.pyandtest_vram.pypass on macOS, Python 3.12. No engine change, so nothing was run on a GPU.Related to #997 and #890.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.