mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #1261] 461 #520
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#520
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 @maraa081 on GitHub (Oct 6, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/1261
Reopening: still reproducible on 0.1.40 with the bundled runtime provably in place (RX 7800 XT / gfx1101)
Same signature as the original report, but now with the 0.1.35 fix present and demonstrably not
taking effect. You asked to be told when the GEMM error is still there with the bundled runtime —
here it is, with the
AMD_LOG_LEVEL=3output.Environment
BUILD.json: prebuilt, hip, windows-x64,rocm 10.2.0a20260930, hipblaslt_version 100500)
--max-context 65536 --kv int8 --resident-experts --expert-cache auto --prefill auto --spec 4 --spec-min-p 0.5START-HERE.bat --yes --family coder --model IQ1_M --no-start(completed cleanly)Symptom
Short prompts answer correctly (best measured 43.9 tok/s). Any sizeable prefill kills the engine:
Deterministic: a ~25-token prompt works, a ~1900-token prompt exits 1 every time. The bundled web
UI dies on its first request (long system prompt).
The bundled runtime is present, correct, and still not the one loaded
Both DLLs next to
strata.exeare byte-identical to therocm\binoriginals, so the 0.1.35 fix isinstalled. The engine still loads the driver's copy:
AMD_LOG_LEVEL=3, fromengine\strata-device.exe --list-devices:What I tried, none of which changes the loaded runtime
python/strataprocesses killed first.lib_dirs: ["D:\\Strata\\engine\\rocm\\bin"](prepends the bundled dir to the engine's PATH).D:\Strata\engine\rocm\binfirst on PATH manually beforestrata-device.exe— same line.STRATA_DENSE_MMQ=1— the switch takes effect (prefill gemm: dense MMQ onis printed) and thecrash is unchanged, so it is not a workaround here.
HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\KnownDLLshas no AMD/HIP entry.strata-device.exe --list-devicesand--selftestboth pass (the selftest only exercises theVRAM arena) and report the same System32 runtime.
Hypothesis
The engine loads
dxgi.dll(src/platform/memory.cpp:70). On an AMD machine that brings thedriver's user-mode graphics components into the process, and the driver package ships its own
amdhip64_7.dllinSystem32. Windows binds modules by base name: once that copy is loaded,the engine's own import of
amdhip64_7.dllresolves to it, and the copy next tostrata.exeisnever considered — which would explain why the app-directory placement and every PATH change are
inert. If so, loading the bundled runtime explicitly by full path
(
LoadLibraryExA(..., LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR)) before DXGI would fix it.Second, separate issue: the low-RAM resident mode never fits
At engine start, available commit is ~3.0-3.5 GiB while the resident complement needs ~15.7 GiB:
The page file is 6.5 GB (system-managed) and the commit limit is 37.6 GB. The documented 32 GB /
--family codertier ("the GPU holds ~45% of the experts, the other ~13 GB stay in RAM") neverhappens: the log shows
files 102912.8 MB readafter only four short requests.strata-coder-iq1_m.log
@Niko1221 commented on GitHub (Oct 7, 2026):
Thanks for the AMD_LOG_LEVEL output. 0.1.40.2 prints a WARNING when the HIP runtime in use is not the bundled amdhip64_7.dll beside the engine, so the log carries it. The import is bound before main, so the engine cannot swap it yet; loading the bundled runtime by full path (or a delayed import) needs a Windows AMD machine to test and is not in 0.1.40.2. Leaving this open.
@Niko1221 commented on GitHub (Oct 13, 2026):
Thanks for the report. To keep the tracker current we are closing issues older than three days: 0.1.44 is out with a long list of fixes, and many older reports are covered by it or by 0.1.43.1.
If this still happens on 0.1.44, please leave a comment here with your engine log (and the version line it prints), and we will reopen it. A new issue that links this one works too.