mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #659] [CLOSED] Fix WDDM host pinning for gfx1031 native inference #2747
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#2747
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/659
Author: @AxeSl
Created: 10/3/2026
Status: ❌ Closed
Base:
main← Head:axesl-fix-strata-gfx1031📝 Commits (1)
e9630cdlocal: gfx1031 unvalidated-whitelist + Q5_1 PLE support (AD-4.27 run)📊 Changes
6 files changed (+47 additions, -14 deletions)
View changed files
📝
cmake/hip_backend.cmake(+1 -1)📝
docs/AMD_HIP.md(+8 -0)📝
include/strata/artifact/dequant.hpp(+18 -0)📝
include/strata/core/pinned.hpp(+3 -3)📝
src/core/pinned.cu(+7 -5)📝
src/kernels/ngram.cpp(+10 -5)📄 Description
Summary
e9630cdwith gfx1031 support and Q5_1 PLE handling.cudaHostRegisteron native Windows using the GPU's WDDM shared-memory budget whenSTRATA_ARENA_PIN_GIBis unset.auto, and0as the uncapped legacy override.Root cause
When whole-arena registration failed on Windows, the fallback registered layer-sized slices until the driver refused them. On the reported RX 6700M run this produced 46 registered slices / approximately 44 GiB while WDDM reported 9426 MiB of 10224 MiB budget in use. That consumed the shared-memory budget needed by later VRAM allocations and verify work, causing paging and stalls. The remaining arena is still kept resident through the working-set lock, but only the budget-safe prefix is CUDA-registered.
Validation
git diff --checkpassed and the worktree is clean.CMAKE_HIP_ARCHITECTURES=gfx1031reaches the gfx1031 architecture warning and HIP compiler detection..rocm-winis absent and the Visual Studio generator does not support HIP.gguf-pydependency is not present.C:\\test12\\Strata.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.