mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[GH-ISSUE #40] Intermittent hang on the first prompt after a start (Windows, RTX 4000 Ada): 'reading the prompt' stalls forever, GPU idle, last line is the mma.sync prompt attention #18
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mw00/project-maya#18
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 @pietroMastro92 on GitHub (Oct 9, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/40
## What happens
On Windows (native, not WSL2), the engine sometimes hangs on the first real prompt after a start: the server keeps logging
for 20+ minutes, the GPU sits at 1-4% utilization (
nvidia-smi), and the request never returns (the client eventually gets a connection reset when the engine is killed). Restarting the server fixes it every time, and the very same configuration completes the same request fine on other runs.It reproduced 3 times out of ~10 engine starts, on two different quants and with vision both on and off, so it does not look tied to one configuration.
Where it stops
The last line the engine writes before going quiet is always the same:
so it looks like the prompt-attention kernel (or the handoff around it) never completes. Full engine-log tail of a hung start:
Runs (same machine, same build)
--benchruns)The hang is not related to
STRATA_GLM_PROMOTE_MIN/STRATA_GLM_RAM_RESIDENT/STRATA_GLM_PCIE_SHARE: run 10 was a stock config, never tuned.Possibly related:
--calibratecrashed--calibrate(v1.0.16) on the same machine:An illegal memory access in the same area (prompt path / pool tail), which makes me think the two reports may share a cause.
PCIE_SHARE=0.25alone (set by hand) then ran a clean--bench, so it is intermittent here too.This machine
MAYA-BUILD.json:"archs": [89])Maya-S-v2-IQ2_XXS, sha256 verified) and Maya-MConfig used in run 10 (the stock one that hung)
How to reproduce (best guess)
Start the server, then send one chat completion with a ~1,200-token prompt, on Windows + Ada. It happens on maybe one start in three; repeating the start/send cycle a few times should hit it. Nothing in the logs marks it as an error — the engine simply stops after printing the prompt-attention line.
Attached
maya-report.txtfromSTART-MAYA.bat --report(hardware, setup, engine speed lines) is below.maya-report.txt
@mw00 commented on GitHub (Oct 9, 2026):
Thank you for the detailed report. v1.0.27 has two changes for it:
The races behind your
--calibratecrash are fixed (#39). The illegal memory access you saw there came from the expert tiers' prompt lending, and so did #50 and #53. A hang in that same handoff may have shared the cause.A stuck prompt can no longer wait forever. The engine's watchdog now covers the GLM engine too. When a request finishes no prompt layer and no token for 3 minutes, the engine stops with an error, and the next request starts it again. It writes two things:
no progress for 180 s during a request (<stage>)line in its log, which names the stage it was stuck in;strata-stall-<pid>.dmpfile in the engine's folder, with every thread's stack.The server's own stall check had not fired because it treats a spinning CPU thread as work.
Please update (About > Update, or
git pullandSTART-MAYA.bat). If a start still hangs, please attach that log line and the.dmphere. Keeping this open until we hear back.@mw00 commented on GitHub (Oct 12, 2026):
Closing: since then the engine's watchdog stops a prompt that makes no progress for 3 minutes, names the stage it was stuck in, and on Windows writes a
.dmpof every thread. If a first prompt hangs again on v1.1.3, please attach that log line and the.dmphere and we'll reopen.