mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #4650] [Engine] HIP: the RX 6600 series (gfx1032) runs on Windows with an engine its owner builds #5128
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#5128
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/4650
Author: @yangweijie
Created: 10/29/2026
Status: 🔄 Open
Base:
main← Head:pr-gfx1032📝 Commits (6)
73b8968[Engine] HIP: the RX 6600 series (gfx1032) takes an engine its owner builds, as an opt-in8518db0[Docs] the RX 6600M: a primary-card Windows report, and the CPU-pool worker sweep6a2c743[Docs] the RX 6600M worker sweep: the raw engine output of all 14 runs789438b[Benchmark] the RX 6600M on the standard suite: 8.1 tok/s chat, 46 tok/s at a fresh 4K promptbf44806Merge remote-tracking branch 'origin/main' into pr-gfx10328e03a89[Engine] HIP: setup reads the gfx1032 engine's archs beside the probe, component installs included📊 Changes
27 files changed (+2014 additions, -19 deletions)
View changed files
➕
bench/results/2026-10-29-community-rx6600m-workers/README.md(+85 -0)➕
bench/results/2026-10-29-community-rx6600m-workers/auto-r1.log.txt(+61 -0)➕
bench/results/2026-10-29-community-rx6600m-workers/auto-r2.log.txt(+59 -0)➕
bench/results/2026-10-29-community-rx6600m-workers/len16.log.txt(+58 -0)➕
bench/results/2026-10-29-community-rx6600m-workers/len32.log.txt(+59 -0)➕
bench/results/2026-10-29-community-rx6600m-workers/timeline.txt(+15 -0)➕
bench/results/2026-10-29-community-rx6600m-workers/w01-r1.log.txt(+60 -0)➕
bench/results/2026-10-29-community-rx6600m-workers/w01-r2.log.txt(+60 -0)➕
bench/results/2026-10-29-community-rx6600m-workers/w03-r1.log.txt(+60 -0)➕
bench/results/2026-10-29-community-rx6600m-workers/w03-r2.log.txt(+60 -0)➕
bench/results/2026-10-29-community-rx6600m-workers/w05-r1.log.txt(+60 -0)➕
bench/results/2026-10-29-community-rx6600m-workers/w05-r2.log.txt(+58 -0)➕
bench/results/2026-10-29-community-rx6600m-workers/w09-r1.log.txt(+60 -0)➕
bench/results/2026-10-29-community-rx6600m-workers/w09-r2.log.txt(+58 -0)➕
bench/results/2026-10-29-community-rx6600m-workers/w13-r1.log.txt(+61 -0)➕
bench/results/2026-10-29-community-rx6600m-workers/w13-r2.log.txt(+59 -0)➕
bench/results/2026-10-30-community-rx-6600m-qwen3-8-flash-next-coder-iq1-m/README.md(+59 -0)➕
bench/results/2026-10-30-community-rx-6600m-qwen3-8-flash-next-coder-iq1-m/engine-log-excerpt.txt(+5 -0)➕
bench/results/2026-10-30-community-rx-6600m-qwen3-8-flash-next-coder-iq1-m/results.json(+440 -0)📝
docs/AMD_HIP.md(+2 -1)...and 7 more files
📄 Description
Problem and result
Strata refuses the Radeon RX 6600 series (
gfx1032, Navi 23) on Windows:setup.pydoes not have the card inits AMD lists, so it stops with
no supported AMD GPU found(or, when the card is probed,not supported - Strata's AMD backend runs on ... only, this is gfx1032), and the Terminal's engine package lookup has no entryfor the card's device ID (
0x73FF), sostrata launchcannot pick an engine either. The RX 6600/6600 XT/6600Mis a common laptop and budget desktop card and the update feed has no engine for it (the Windows RDNA2 package
carries gfx1030 and gfx1031 only).
After this change, the owner of the card can, with an explicit opt-in:
tools\hip\build_windows.bat(STRATA_HIP_ARCHS=gfx1032),setup.pyaccept the card and the engine that was built (nothing is downloaded for it),strata launch,docs/RX6600M.md).Without the opt-in switch (
STRATA_EXPERIMENTAL_GFX1032=1) every other card sees the same behaviour as before.Related discussion
Terminal side of that report. The thread now also carries a report from cdoml121 on an RX 6600 desktop
(self-built engine 0.1.52, decode 5.8-7.2 tok/s, warm prompt 25-28 tok/s, offering the card as a reference
machine). Those numbers are their measurement, not reproduced here; if they hold, this PR is the second
gfx1032 machine, and the opt-in can be lifted once a feed package exists for the arch.
gfx1032to setup's card lists unconditionally. This PR takes the opt-in route therepository already uses for
gfx1103andgfx1150, because the ready-made Windows HIP package contains nogfx1032 code: a card that is "supported" on paper but has nothing to download is worse than a clear opt-in.
If #2784 merges first, the setup part here can shrink to what #2784 does not cover: suppressing the prebuilt
download for this arch on Windows, and accepting an engine the user built themselves.
Approach
setup.pySTRATA_EXPERIMENTAL_GFX1032=1addsgfx1032toAMD_ARCHSandROCM_INDEXES(gfx103X-all), thepattern
gfx1103/gfx1150already use. Off by default: the default card list is unchanged._WIN_AMD_DIDgets0x73FFand_WIN_AMD_NAMEaRX 66[05]0pattern, so Windows names the cardinstead of ignoring it.
get_prebuilt_hip()returns nothing forgfx1032on Windows. The ready-made RDNA2 zip has no code forthis chip, so "download it" would install an engine that stops on the card.
installed_hip_archs()readsengine/BUILD.json, andamd_problem()accepts the card when that filesays a HIP engine for
gfx1032is installed. This is what makes a hand build usable.gfx1032_notes()prints what is left to do: build, or (Linux) use thegfx103X-allwheels.strata_control/engine_component.py:0x73FF: "gfx1032"inWIN_AMD_DEVICE_ARCH. A test keeps this tableequal to setup's
_WIN_AMD_DID. A gfx1032 machine now reaches "no engine package for this card; make one",instead of "unknown device", and
strata launchworks once such a package exists. The feed still has none.tools/hip/build_windows.bat: agfx1032line in the help text, and a ROCm-root lookup that falls back topython -m rocm_sdk path --rootwhen therocm-sdk.execonsole script prints nothing. That script answeredwith no output and exit code 1 in the
rocm[libraries,devel,device-gfx1032]venv used for the report; themodule behind it works, so the batch now reads the root from it instead of failing.
tools/test_setup_amd.py: the new DID/name pair in the table test, and anRx6600OptInclass: off bydefault and the switch names itself, the installed engine makes the card usable, switched on, the note names
the build, and the default engine is not downloaded for the card.
docs/RX6600M.md(build, run, Terminal, limits, the standard suite), thedocs/AMD_HIP.mdcard rows,a measured worker sweep section in
docs/benchmarks/windows-zen2-gfx1030-workers.md, an entry indocs/COMMUNITY_BENCHMARKS.md, and two results folders: the raw engine output of every sweep run underbench/results/2026-10-29-community-rx6600m-workers/(private paths replaced withD:\strata-*), and thestandard-suite run under
bench/results/2026-10-30-community-rx-6600m-qwen3-8-flash-next-coder-iq1-m/(written by
tools/strata_bench.py, which sanitises paths itself).Compatibility: with the switch unset,
AMD_ARCHS,ROCM_INDEXESand the prebuilt decision are byte-identicalfor every card. The two visible changes on a gfx1032 machine are the card being named and the Terminal looking
for a component package; both were dead ends before.
Validation
Environment for the end-to-end runs: RX 6600M 8 GiB (gfx1032), i5-13600 (no AVX-512), 95.7 GB RAM,
Windows 10.0.26100, ROCm 10.2.0a20260930, Visual Studio 2022 Build Tools. Engine 0.1.53 built from commit
46c152a1; this branch is based on870aedd9(0.2.8, engine 0.1.54).Passed:
python tools/test_setup_amd.pyon this branch: 58 tests, OK.python -m pytest tests/terminal/test_engine_component.py tests/terminal/test_launch_install.py tests/terminal/test_launch_engine_first.py tests/terminal/test_launch.pyon this branch: 179 passed, 5 skipped, 4 subtests passed.
tools\hip\build_windows.bat(STRATA_HIP_ARCHS=gfx1032, engine 0.1.53):strata.exe --versionprintsstrata 0.1.53;strata-device.exe --list-devices/--selftestreportgfx1032 wave32 (compiled for gfx1032), 7.984 GiB VRAM (log indocs/RX6600M.mdsection 2).(
The capital of France is Paris.), 10.5 and 17.5 predicted tok/s with the MTP draft; the 1,165-slot cachedecode run measured 5.70 tok/s. Timings, VRAM and cache numbers in
docs/RX6600M.mdsections 4 and 6.strata launch --model-pathwith only the.gguffiles and every saved run config moved aside: setup ran byitself, printed
The model files are on this computer; checking them, downloaded nothing (the--planlinereads
download Nothing to download: your model files are used where they are.), loaded in 30 s, servedfrom the component engine in 46 s (section 5).
rocm-sdkfallback: inD:\git\python\Strata2\.rocm-win,Scripts\rocm-sdk.exe path --rootprintednothing and exited 1;
Scripts\python.exe -m rocm_sdk path --rootprinted...\Lib\site-packages\_rocm_sdk_devel; the patched root block ofbuild_windows.batresolved that pathand exited 0.
tools/strata_bench.py --config <the saved run config> --runs 3, run on 2026-10-30 with this branch's server(0.2.8 code, commit
6a2c7432) and the 0.1.53 engine, 8,192-token context,--spec 4: 0 failed requests,452 s. Short chat: decode 8.10 tok/s (7.50-10.70, n=9), first token 2.51 s (2.26-3.03). Fresh 4K prompts
(4,019 tokens): 46.0 tok/s (45.7-50.2, n=3), first token 87.8 s (80.6-88.3). Folder:
bench/results/2026-10-30-community-rx-6600m-qwen3-8-flash-next-coder-iq1-m/.Failed: none observed.
Not run:
setup.pyflow (build + model + serve) on this base870aedd9/ engine 0.1.54. Every end-to-endnumber above was measured on
46c152a1/ 0.1.53; the code moved to the new base without re-running that flow.What ran on the new base is the unit and Terminal test list above.
those builds.
strata bench runprotocol (BENCHMARK_PROTOCOL.md) was not run; the tool suite above is the one in theresult folder.
Limits
STRATA_EXPERIMENTAL_GFX1032=1until there is a feed package and a second machine'sreport. The opt-in text says so in the GPU summary.
use
--context 8k.tokens. A larger cache needs more than 8 GiB.
benchmark doc for comparison, not a claim about gfx1032 in general.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.