mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[GH-ISSUE #645] Qwen (CYBER-FROST) on 2 GPUs, Windows: the batched PLE prefill path crashes with "prefill copy_i32: an illegal memory access" on the first long prompt; MAYA_PLE_BATCH=0 avoids it #265
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#265
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 @air-terminal on GitHub (Oct 28, 2026).
Original GitHub issue: https://github.com/mw00/project-maya/issues/645
Summary
On Windows with a 2-GPU layer split, CYBER-FROST-3.8-PS crashes on the first long prompt as soon as the batched PLE block in the prefill is on (the default). With
MAYA_PLE_BATCH=0(the per-token PLE block,src/prefill/prefill.cpp~L1050) everything works. Decode is not affected.Reproduction
./start-maya.bat --benchwith the config below:"MAYA_PLE_BATCH": "0"inenv: the benchmark completes (decode 33.2 tok/s, prefill 382 tok/s at 2K and 438 tok/s at 8K).envempty: the three decode prompts complete (32.6 / 33.7 / 34.2 tok/s), then the engine dies on the first 2048-token prompt:The same engine built with CUDA 12.8 also stopped on long prompts in chat before I set
MAYA_PLE_BATCH=0. I believe it was the same error, but I did not keep that log. The CUDA 13.0 build fails reproducibly as above.Setup
the prompt path allocates its own buffers (too few cache slots to borrow); 450 MiB VRAM free with everything loadedArgs (changed from the setup's:
--max-context 131072,--kv k8v4,--experts-from-gguf off):I have not yet tried the batched path on one GPU or with the setup's original args (
--kv int8, 256K). I can run either if that helps narrow it down.Possibly related: #604 (the Qwen engine is still 0.1.27).