mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[GH-ISSUE #3263] [Other] 0.2.0-beta prebuilt hip-rx7900 engine on a real RX 7900 XTX (gfx1100, Linux): runs, same speed as 0.1.44.1; GPU picture reader works; two packaging notes #1321
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#1321
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 @faf-net on GitHub (Oct 19, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/3263
Problem and result
The 0.2.0-beta notes say the RX 7000 builds compile but no RX 7000 card ran them. Here is one: the prebuilt engine package
strata-engine-0.1.45.3-linux-x86_64-hip-rx7900.tar.gz(SHA-256 checked againstSHA256SUMS.txt) with the control packagestrata-control-0.1.45.3-linux-x86_64, on a single RX 7900 XTX (gfx1100), Linux. Everything else was kept as in my 0.1.44.1 report (#2904) so the numbers compare directly: Qwen3.8-Flash-Next IQ3_XXS native pack, MTP headrt,--max-context 262144 --kv int8 --spec 4 --spec-min-p 0.5 --vram-reserve-mib 832 --pool-workers 9 --pcie-frac 0, conversation cache 4,608 MiB, hipBLASLt tablegfx1100-hipblaslt-100200(the engine reported "hipBLASLt tuning enabled (26 rows, gfx1100, version 100200)").It runs. Load 17.7 s from the page cache;
strata doctorexit 0; no errors in the engine log.tools/strata_bench.py --long(median, n=3/9/15)296b59d, #2904)hip-rx7900needle_bench.py(depths 10/50/90 %): 3/3 at 32K, 3/3 at 128K, 3/3 at 250K (251,626 prompt tokens, 217–229 s each).Our own task set (
bench.py: code, logic, refusals, tool calls; automatic checks, one run): 27 of 29 (code 7/8, logic 9/9, tools 3/3, refusals 8/9), against 26 (0.1.44.1) and 27 (0.1.45) on this box on 2026-10-17. Short / long answer 59.7 / 64.0 tok/s, agent session (6 turns) 40.6–48.0 s.Fresh engines with MTP (the R9700 note in Known limits): 24 fresh starts of this engine, each with a warm-up and then two fresh 4K prompts. 23 read at 662–684 tok/s; one read both prompts at 420 and 427 tok/s, about 38 % slower. Its start-up lines (memory guard, read probes, load speed, expert slots, hipBLASLt) matched the others within noise. The same test on 0.1.44.1: 0 of 24 slow (646–682 tok/s). So the effect shows up on gfx1100 too, but here in about 1 of 24 starts, not half.
Picture reader (new in 0.2.0): the package carries
strata-vision(CPU) andstrata-vision-hip(GPU). Both read all four test pictures correctly (a red square, the number 4728, three coloured squares, the number 8274 drawn large).gpu: false, 8 threads, max 300 tokens)gpu: true, max 1024 tokens)So on a 24 GB card the GPU reader costs 776 expert slots (1.28 GiB); the engine sizes the cache around it, and free VRAM stays the same. Decode speed with the smaller cache was not measured.
Two packaging notes
--versionprintsstrata 0.1.45, while itsBUILD.jsonandengine-component.jsonand the control package'sVERSIONsay 0.1.45.3.strata.<n>.hipv4-amdgcn-amd-amdhsa--gfx1100/1101/1102,strata.<n>.host-x86_64-unknown-linux-gnu-, and the same forstrata-vision-hipandlibrocblas.so.5.*. They look like unbundled code objects. They are not listed inengine-component.json(579 entries, none of them). I did not test whether the engine runs without them.Validation
Passed: everything above, on 2026-10-19, prebuilt engine 0.1.45.3
hip-rx7900(build_id f6d65cb58+rocm), kernel 6.18.15, container Ubuntu 24.04 with/dev/kfdand/dev/dri; server started with the control package's own Python (python/bin/python3 serve/server.py --engine strata --config ...),STRATA_ENGINEset to the package.Failed: one 250K needle run was cut off by my own setup (the model manager in front of the server unloaded the idle model while
needle_bench.pytalked to the backend directly), not by Strata; repeated, see above.Not run: the AppImage and the installer (
install.sh),strata launch, the app; Windows; gfx1101/1102; the identity gate.Machine: UGREEN iDX6011 Pro NAS, Core Ultra 7 255H, 64 GB, RX 7900 XTX over OCuLink PCIe 4.0 x4, UGOS Pro 1.19 (Debian 12 base). Raw data: #2904, folder
followup-2026-10-19/strata-0.2.0-beta/. The hybrid-CPU worker count is a separate issue: #3262.@faf-net commented on GitHub (Oct 20, 2026):
Retest on 0.2.1, same box (single RX 7900 XTX, gfx1100, Linux 6.18.15, Core Ultra 7 255H, 64 GB). Two runs: the prebuilt engine package 0.1.46
hip-rx7900with control 0.1.46.2 and my own run config, and the new Docker imageghcr.io/niko1221/strata:0.2.1-rocm-gfx110x, which the notes list as built but not run on a card.Both packaging notes are fixed.
strata --versionprintsstrata 0.1.46, matchingBUILD.json. The engine tarball has 31 entries, and the 1,080 unbundled code objects are gone.The engine package with my config (IQ3_XXS native pack, MTP
rt,--max-context 262144 --kv int8 --spec 4 --vram-reserve-mib 832 --pool-workers 9, hipBLASLt tablegfx1100-hipblaslt-100200viaSTRATA_HIPBLASLT_TUNING) is as fast as 0.2.0 and 0.1.44.1:tools/strata_bench.py --long(median)Needles 6/6 at 32K and 128K. Our task set had 28 of 29 checks right (27 on 0.2.0). Expert cache 8,832 slots, the same as on 0.2.0, so counting the draft layer in the fit check does not shrink it here. Fresh engines with MTP: 8 of 8 read the 4K prompt at normal speed (665-699 tok/s). On 0.2.0, 1 of 24 was about 38 % slower. Eight starts are too few to call that fixed. The worker count is in #3262.
The Docker image runs on gfx1100.
docker runas indocs/DOCKER.mdwithMODEL=IQ3_XXSandAPI_KEYonly. The model files were already in the volume, and setup downloaded only the picture reader (0.9 GB). The engine check passed, setup finished all 7 steps, the model loaded in 15 s and served. Setup chose--max-context 131072 --kv int8 --vision(GPU reader)--vram-reserve-mib 700 --pool-workers 10, 3 slots, and no hipBLASLt table.strata bench run --suite standard-v1inside the container, each on a freshly started container:--track default)PARALLEL=1PARALLEL=1 STRATA_HIPBLASLT_TABLE=onMedians of 3, tok/s. The default-track result is, as far as I know, the first complete standard run on a release engine. All four result folders are in PR #2904:
bench/results/2026-10-21-standard-rx-7900-xtx-2c7f637a/(the complete default-track run) andbench/results/2026-10-17-community-rx-7900-xtx-oculink-nas/followup-2026-10-21/(the other three, worker pairs, start-up logs).Four observations from this:
WARNING: only 461 MiB of VRAM free at the start of this request (below 512 MiB) ... Add --vram-reserve-mib 768(427 MiB / 832 in the third run). Decode stayed normal, so no harm seen, but setup and the engine's own warning disagree.COMMITfile, sostrata bench runfrom them reports "the Strata commit is unknown (not a git checkout and no COMMIT file)". The terminal inside the Docker image has one (c093ac263f81…), which is why that run is complete.AMD Radeon, not the model (RX 7900 XTX), and drivers/runtime as "not measured".@faf-net commented on GitHub (Oct 21, 2026):
Retest on 0.2.2, same box (RX 7900 XTX, gfx1100, Linux 6.18.15, Core Ultra 7 255H). Engine package 0.1.47
hip-rx7900with control 0.1.47, compared with 0.2.1 in interleaved runs, same run config, only engine and control swapped (IQ3_XXS native pack, MTPrt,--max-context 262144 --kv int8 --spec 4 --vram-reserve-mib 832, default pool workers, hipBLASLt table viaSTRATA_HIPBLASLT_TUNING).The commit is in the control archive now.
strata bench run --suite standard-v1from the release package reports complete (21 of 21, 12/12 sanity checks), where 0.2.1 gavenonconforming. Thanks, that closes my observation 3.tools/strata_bench.py --long: chat / agent decodestandard-v1package, short decode / 4K / 16K promptSame plan as 0.2.1 (10 workers on CPUs 1-10, expert cache 8,832 slots, 728 MiB free), needles 6/6 at 32K and 128K, 8 of 8 fresh engines read the 4K prompt at normal speed (659-701 tok/s). Decode is ahead in 3 of 3 pairs, but by little, so I count it as equal. This NAS serves with 0.2.2 since tonight.
The
0.2.2-rocm-gfx110ximage runs withMODEL=IQ3_XXSandAPI_KEYonly:--track defaultis complete, 12/12, short decode 62.0, 4K / 16K prompt 667.1 / 780.8 tok/s. Setup chose the same as 0.2.1 (--max-context 131072 --vram-reserve-mib 700 --pool-workers 10, no table), and the engine still warnsonly 459 MiB of VRAM free at the start of this request (below 512 MiB), so observations 1 and 2 still stand. The engine log names the card correctly (AMD Radeon RX 7900 XTX (gfx1100)), the bench report still saysAMD Radeon.@Niko1221 commented on GitHub (Oct 22, 2026):
Thanks — I'll add the 0.2.0-beta hip-rx7900 result on the real RX 7900 XTX to docs/COMMUNITY_BENCHMARKS.md, and keep the two packaging notes out of the benchmark table (they're tracker items, not measurements).
@faf-net commented on GitHub (Oct 23, 2026):
Retest on 0.2.3.1, same box (RX 7900 XTX, gfx1100, Linux 6.18.15, Core Ultra 7 255H). The notes list RX 7000 as not run on real hardware, so here it is: engine package 0.1.48
hip-rx7900with control 0.1.48.1, compared with 0.2.2 in interleaved runs, same run config, only engine and control swapped (IQ3_XXS native pack, MTPrt,--max-context 262144 --kv int8 --kv-resident 32768 --spec 4 --vram-reserve-mib 832, default pool workers).The engine finds its hipBLASLt table on its own now, also on gfx1100. With
STRATA_HIPBLASLT_TUNINGremoved from my run config, the log still sayshipBLASLt tuning enabled (26 rows, gfx1100, version 100200). The biggest gain is in the unchanged image (below): that closes my observation 1.tools/strata_bench.py --long: chat / agent decodestandard-v1package, short decode / 4K / 16K prompt* from my 0.2.2 run on 21.10., before I added
--kv-resident 32768and a 9 GiB conversation cache. Only the pairs ran on 23 Oct with both versions on the identical config.standard-v1is complete (21 of 21, 12/12 sanity checks), needles 6/6 at 32K and 128K and 3/3 at 250K (224-237 s to the first token), 8 of 8 fresh engines read the 4K prompt at normal speed (706-749 tok/s, was 659-701). Prompt reading at 4K is about 7% faster in every test, decode is equal within the noise. This NAS serves with 0.2.3.1 since 23 Oct. Charts and raw data: https://github.com/faf-net/ugreen-idx6011-egpu-llm (follow-up 23 Oct 2026).The
0.2.3-rocm-gfx110ximage runs withMODEL=IQ3_XXSandAPI_KEYonly:--track defaultis complete, 12/12, short decode 67.2, 4K / 16K prompt 748.6 / 1,220.4 tok/s, where the 0.2.2 image gave 667.1 / 780.8. Time to first token at 16K fell from 21.0 s to 13.5 s. Setup chose the same as before (--max-context 131072 --vram-reserve-mib 700 --pool-workers 10), and the engine warned once thatonly 427 MiB of VRAM free at the start of this request(594 MiB free after loading), so observation 2 still stands, but it did not cost speed in this run.One thing from #3177 is still open in 0.2.3.1:
docker/entrypoint.shadds no flag whenTUNE=skip, so a preset that was saved withtune: quickkeeps tuning on every start.@faf-net commented on GitHub (Oct 31, 2026):
Retest on 0.2.8, same box (RX 7900 XTX, gfx1100, Linux 6.18.15, Core Ultra 7 255H): engine package 0.1.54
hip-rx7900with control 0.1.54, compared with 0.2.3.1 in interleaved runs, same run config, only engine and control swapped. For this session I stopped every NAS service that was not needed, so the absolute numbers are a little better than in my earlier retests; the pairs are the like-for-like comparison.standard-v1package, short decode / 4K / 16K promptstandard-v1unchanged image, short decode / 4K / 16K prompt* from my 0.2.3.1 run on 23 Oct, with the NAS services running.
Both
standard-v1runs are complete (21 of 21, 12/12 sanity checks). Needles 6/6 at 32K and 128K and 3/3 at 250K, 8 of 8 fresh engines read a 4K prompt at normal speed (694-749 tok/s). Decode and prompt reading from 4K up are unchanged. The one difference: the short 63-token prompt read about 8 % slower on 0.2.8 in the pairs (ranges 90.7-119.2 against 113.3-126.2, they overlap). Small, and in the case where a request's fixed cost dominates; I report it without claiming a cause.Observation 2 from this issue looks resolved in 0.2.8: the unchanged
0.2.8-rocm-gfx110ximage leaves 854 MiB of VRAM free after loading (0.2.3: 594 MiB) and did not print the "only N MiB of VRAM free" warning during the run. Setup still chooses--max-context 131072 --vram-reserve-mib 700 --pool-workers 10.The full report with raw data is in #4851. This NAS serves with 0.2.8 since 31 Oct. Charts and data: https://github.com/faf-net/ugreen-idx6011-egpu-llm (follow-up 31 Oct 2026).
@faf-net commented on GitHub (Nov 5, 2026):
Retest on 0.2.11, same box (RX 7900 XTX, gfx1100, Linux 6.18.15, Core Ultra 7 255H). The 0.2.11 notes say the
hip-rx7900package had not been run with a model yet, so for the record: engine 0.1.57hip-rx7900with control 0.1.57 loads and serves on real hardware. Against 0.2.10 in interleaved pairs with the identical run config, decode is equal (60.9 vs 59.8 tok/s),standard-v1is complete with 12/12 on the package and on the unchanged0.2.11-rocm-gfx110ximage, needles 7/7 up to 250K, no failed requests.Full report: #5321. This NAS serves with 0.2.11 since today.