mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #5323] [Engine] test_hip_ordinal fails on a Linux host whose KFD node 0 is an integrated Radeon #3175
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#3175
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 @KTKR-DSK on GitHub (Nov 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/5323
Area
[Engine] (speed, kernels, models, the server and API)
Desktop app, Terminal or source?
Source (START-HERE.bat, setup.sh or a build)
What happened
serve.test_server.GpuChoice.test_hip_ordinalfails on a Linux computer whose KFD node 0 is an integrated Radeon:For that case
hip_visible()returnsordered_gpus(cfg), which calls the realhip_gpu_archs()when no scores are injected. Here it returns{0: 'gfx1151'}, so the iGPU-first rule inordered_gpus()moves card 0 to the front and the result is0,1. The server behaves as designed; the test reads the host's KFD topology.Patching only
hip_gpu_archsto returnNonemakes the test pass; patching onlygpu_speed_scoresdoes not. Expected: the test gives the same result on any computer, for example by patchinghip_gpu_archsin the test or by using"gpu_order": "as_given"for the layer-split case.The same failure appeared on 0.2.9, 0.2.10 and 0.2.11 on this computer. All other tests in the run passed or were skipped (0.2.11: 633 run, 630 passed, 2 skipped, this 1 failed).
Smallest steps or command that reproduce it
on a Linux computer where
/sys/class/kfd/kfd/topology/nodeslists an integrated Radeon as node 0.Reproduction status
Reproduced locally
Strata version
Strata 0.2.11 · engine 0.1.57 (source tree at commit
c3b3f50)Graphics card, memory and system
AMD Ryzen AI MAX+ 395 with Radeon 8060S (gfx1151), 128 GB RAM, plus 2 x NVIDIA GeForce RTX 5060 Ti 16 GB · Ubuntu 26.04.1 LTS, kernel 7.0 · Python 3.12
Model, size and settings
Not relevant (unit test, no model).
Logs
The assertion above is the complete failure output.