mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #915] Windows AMD report: RX 6800M (gfx1031, laptop) works with a self-built HIP engine — please add 0x73DF / gfx1031 to the Windows path #398
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#398
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 @Ultmate-hub on GitHub (Oct 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/915
Strata 0.1.39 runs on a laptop RX 6800M (Navi 22, gfx1031) under Windows 11, using an engine I built with
tools\hip\build_windows.batfor gfx1031. Setup needed one change: it doesn't recognise the card's PCI ID. Details below in case you want to add gfx1031 to the Windows build and release zip.PC
VEN_1002&DEV_73DF), plus the Ryzen's integrated Radeon (DEV_1638, correctly listed as not supported)What blocked the normal install
START-HERE.bat --check --backend hipreportedAMD Radeon RX 6800M, 12 GB VRAM - not supported ... unknown (PCI 73DF)._WIN_AMD_DIDinsetup.pyhas no 0x73DF, and the name regex for gfx1030 deliberately excludes6800M.strata-windows-x64-hip.zipis built for gfx1100/1101/1102/1200/1201/1030, so it has no gfx1031 code either.What I did
setup.py: (AMD_ARCHSalready includes gfx1031.)STRATA_HIP_ARCHS=gfx1031. TheRock publishesrocm-sdk-device-gfx103110.2.0a20260930 as awin_amd64wheel, so the pinned ROCm installed fine. The build itself had no errors (warnings only).3cf03257as a zip and passedSTRATA_GGML_DIR.cmake+ninjafrom pip in.rocm-win.START-HERE.bat --yes --backend hip --prebuilt <dist folder> --family qwen --model IQ2_XS.Minor: on the first run,
package_windows.pyfailed while zipping withFileNotFoundErrorfor a stagedrocblas\library\TensileLibrary_..._fallback_gfx1031.dat. Most of the staged rocBLAS files had disappeared from the stage folder. Rerunning only the packaging step worked (142 files, 119 MiB zip). I couldn't find a cause, and I can't reproduce it.engine\strata-device.exe --list-devicesengine\strata-device.exe --selftest(run while the server was up)End of
strata-iq2_xs.log(startup)Speed (first answers,
reasoning_effort: none)The answers were correct: a factual question, and a short Python
is_primefunction that is right.Side note on the driver
The PC first had a May 2023 driver (31.0.14057.5006).
strata-device --list-devicesfound the card once on it. Later in the session the RX 6800M dropped into Device Manager code 31 (CM_PROB_FAILED_ADD), even after a reboot. I can't say whether Strata had anything to do with it. Updating to 32.0.21045.5002 fixed it, and everything above ran on the new driver.Request
Could you add gfx1031 to the Windows HIP release zip (
STRATA_HIP_ARCHS) and0x73DFto_WIN_AMD_DID? Other Navi 22 IDs may be worth adding too. Then RX 6700 XT / 6750 XT / 6800M owners on Windows wouldn't need to build it themselves. I'm happy to test a build.@Niko1221 commented on GitHub (Oct 7, 2026):
Thanks. The default arch list that tools\hip\build_windows.bat builds the Windows HIP zip from now includes gfx1031 in 0.1.40.2, and setup already knew 0x73DF. STRATA_HIP_ARCHS=gfx1031 builds it on its own, as you did. The package_windows.py folder copy you hit is already handled in 0.1.40.
@tmdrud0 commented on GitHub (Oct 9, 2026):
Thanks for adding gfx1031 to the default Windows arch list. It looks like it did not make it into the published zips, though.
strata-windows-x64-hip.zipfrom v0.1.41 (sha256e8701d1d183f0f84742f6b9dcde7c5589cfd86271cdec70646f88cf441ee6716),BUILD.json:On an RX 6750 XT (12 GB, Windows 11, Adrenalin 32.0.21045.5002):
HSA_OVERRIDE_GFX_VERSION=10.3.0does not change this on Windows.The same holds for the v0.1.40.2 zip (
BUILD.json"version": "0.1.40.2"): its archs list is identical and has no gfx1031, so thebuild_windows.batdefault change does not seem to have reached the published zips yet. The release notes for 0.1.40.2 through 0.1.41 do not mention gfx1031 either.Could gfx1031 be included in the next Windows HIP release zip? Happy to test it on this card.
@nfs6car commented on GitHub (Oct 9, 2026):
Strata-0.1.40.3上,成功自编译6700XT引擎,运行成功。配置:WIN11系统 i5 9600KF 48G内存(2666) 6700XT 12G。Strata-0.1.40.3上(先安装Visual Studio 2026 勾选工作负载 "使用 C++ 的桌面开发",以及Windows 的 最新版Git ( 2.56.0(2) x64 ) ),然后
cd /d G:\Strata
set PYTHONUTF8=1
set STRATA_HIP_ARCHS=gfx1031
tools\hip\build_windows.bat
等待编译6700XT引擎,最终得到Done: G:\Strata\dist\strata-windows-x64-hip.zip
编辑修改:START-HERE.bat
run
set PYTHONUTF8=1
".venv\Scripts\python.exe" setup.py --gguf-dir "G:\Strata-Models" --data-dir "G:\Strata-data" --backend hip --prebuilt dist %*
if errorlevel 1 pause
exit /b
最终测试可以跑,我下载的模型是Q2_0 32K 测试速度27token/s
感谢作者的辛勤劳动!希望作者能加入预编译gfx1031。同时也感谢RX 6800M这位显卡仁兄,给我自编译这条路指明方向!
@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.