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#3033
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/1109
Author: @YamineRL
Created: 10/6/2026
Status: ❌ Closed
Base:
main← Head:docs/gfx1030-pinned-xfer-v2📝 Commits (1)
57c1406docs(hip): GPU_PINNED_MIN_XFER_SIZE=1048576 for gfx1030 --mmap-experts stalls (#267, #649)📊 Changes
2 files changed (+24 additions, -0 deletions)
View changed files
📝
docs/AMD_HIP.md(+19 -0)📝
docs/TROUBLESHOOTING.md(+5 -0)📄 Description
Re-opens #920. The 2026-10-06 history cleanup closed that PR automatically, so this is the same docs commit cherry-picked onto the new
main. One conflict was resolved: the new #835 FP16 bullet indocs/AMD_HIP.mdstays, and the #267/#649 bullet sits after it.New: an A/B run on release v0.1.40.1
I removed the variable and ran the same box again (RX 6800 16 GB, gfx1030, ROCm 7.2.4, 31 GiB RAM, IQ3_XXS,
--mmap-experts, unit withMemoryMax=28G, release v0.1.40.1 at82f46a8; its engine reports 0.1.40 because v0.1.40.1 changed only the Python server). It used random prompts of 2k, 8k and 16k words, 400 tokens out each.prompt 7983 tokens ... 209.7 tok/s, 400 generated ... 12.7 tok/s).GPU use was 0% and VRAM was full during the stall. The engine did not restart by itself after 818 s. I stopped the unit. With the variable set, this box has had zero stalls since 2026-10-04.
The engine already has the cure, for one mode only
src/program/generate.cpp:1515setsGPU_PINNED_MIN_XFER_SIZE=1000000(MiB) whenSTRATA_ARENA_MMAP=1. The comment there names the same mechanism my first post guessed at: ROCclr locks pageable sources of 1 MiB or more in place as a GPU userptr.--mmap-expertsdoes not setSTRATA_ARENA_MMAP, so it does not get that default. My 1048576 has the same effect as your 1000000: both are far above any copy, so ROCclr always stages.A one-line code follow-up is possible: also apply that default when
--mmap-expertsis on. I have not done it in this PR. It stays docs only unless you want the code change.Related: #267, #649.
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.