[GH-ISSUE #942] AMD gfx1102 / RX 7600 XT - successful real model run on Strata 0.1.39 #409

Closed
opened 2026-11-04 01:42:48 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @Lefox-DeMod on GitHub (Oct 5, 2026).
Original GitHub issue: https://github.com/Niko1221/Strata/issues/942

gfx1102 / RX 7600 XT — successful model run on Strata 0.1.39

Measured on 2026-10-05 by me

docs/AMD_HIP.md currently notes that gfx1102 builds but has not yet had a reported model run. I tested it on a Radeon RX 7600 XT and successfully ran a large Qwen3.8-Flash-Next model for four sessions.

This is submitted as an issue rather than a benchmark PR because the measurements below come from normal interactive usage rather than the standardized benchmark procedure.

Hardware

  • GPU: AMD Radeon RX 7600 XT 16 GB, Navi 33, gfx1102, PCI ID 0x7480
  • CPU: Intel Core i7-13700K, 16C/24T, AVX2
  • RAM: 64 GB
  • PCIe: PCIe 4.0, negotiated 16.0 GT/s x8
  • Host OS: Void Linux, kernel 6.18.54_1
  • Driver: kernel amdgpu

Build environment

Strata was built and tested inside a Distrobox container based on a current Arch Linux userspace, running on the Void Linux host.

The container provided the ROCm/HIP toolchain:

  • ROCm 7.2.x
  • ROCm Clang 22.0.0
  • CMake 4.4.3
  • Ninja 1.13.2
  • GNU C/C++ 16.2.1

The host Void Linux installation does not have a system ROCm installation.

Strata:

  • Version: 0.1.39
  • Commit: d63ddbc6a262e39e
  • Backend: HIP
  • llama.cpp: 3cf0325

Build change

The only source change was adding gfx1102 to the architecture gate in setup.py:

- AMD_ARCHS = ("gfx1100", "gfx1101", "gfx1200", "gfx1201", "gfx1030", "gfx1031")
+ AMD_ARCHS = ("gfx1100", "gfx1101", "gfx1102", "gfx1200", "gfx1201", "gfx1030", "gfx1031")

The normal ./setup.sh build was then run with:

-DSTRATA_ENABLE_HIP=ON
-DSTRATA_ENABLE_CUDA=OFF
-DSTRATA_BUILD_TESTS=OFF
-DSTRATA_PREFILL_MMQ=ON
-DCMAKE_HIP_ARCHITECTURES=gfx1102

CMake produced the expected validation warning:

Strata HIP: gfx1102 builds, but it is not validated on a real card yet; please report results

Build result:

130/130 targets
0 errors

No gfx1102-specific compiler or ISA errors were observed.

Model

Swift-Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS

Split GGUF:

  • ...00001-of-00002.gguf — ~39.8 GB
  • ...00002-of-00002.gguf — ~36.2 GB

Strata configuration:

Context:        65536
KV cache:       int8
KV resident:    32768
Expert cache:   auto
Prefill:        auto
MTP:            --spec 4 --spec-min-p 0.5
Reasoning:      none
Temperature:    0.6
top_p:          0.95
top_k:          20

The model used a locally prepared Strata native pack, expert profile, and MTP runtime.

Test method

The model was served through Strata's OpenAI-compatible API on localhost.

Across four engine sessions:

  • 146 requests
  • 38,490 generated tokens
  • prompts up to 51,543 tokens
  • prefix reuse up to approximately 51K tokens

The runs were normal interactive usage rather than controlled benchmark repetitions, so the throughput values below are observed results.

Results

Decode throughput

Workload Runs Median Range
Long outputs (1024–4096 tokens) 6 37.8 tok/s 33.6–38.7
Medium outputs (256–512 tokens) 20 42.7 tok/s 28.0–49.6
Warm follow-up requests 120 43.3 tok/s 27.4–49.6

Fresh prompt processing

Prompt size Runs Median Range
1K–5K tokens 18 252.3 tok/s 194.2–280.3
5K–20K tokens 11 297.4 tok/s 213.4–310.2
20K–40K tokens 5 305.0 tok/s 297.7–309.1

Examples:

21,680 prompt tokens -> 306.8 tok/s
3,825 generated tokens -> 38.2 tok/s

24,443 prompt tokens -> 309.1 tok/s
17,514 prompt tokens -> 301.1 tok/s

Stability and observations

The four sessions completed without failed requests, GPU-side errors, or OOM conditions.

Other observed values:

  • ~624 MiB free VRAM at steady state
  • median expert-cache hit rate: 82.7%
  • overall MTP draft acceptance: 76.8%
  • PCIe host→device transfer measured by the engine: 13.4 GB/s at best

There is currently no gfx1102-specific hipBLASLt tuning table, so the dense prefill path used plain hipBLAS.

Limitations

Not tested:

  • vision
  • contexts beyond ~51K tokens
  • concurrency
  • sustained thermal load
  • gfx1102 hipBLASLt tuning
  • standardized COMMUNITY_BENCHMARKS.md runs
  • formal quality/needle/coding benchmarks

This report covers one GPU, one model quantization, and one configuration.

Suggested follow-up

  • Add gfx1102 to AMD_ARCHS so the local build patch is no longer required.
  • Update docs/AMD_HIP.md to record the successful model run.
  • Consider adding a gfx1102 hipBLASLt tuning table later.

Full build and engine logs can be provided for further investigation.

Originally created by @Lefox-DeMod on GitHub (Oct 5, 2026). Original GitHub issue: https://github.com/Niko1221/Strata/issues/942 # gfx1102 / RX 7600 XT — successful model run on Strata 0.1.39 Measured on 2026-10-05 by me `docs/AMD_HIP.md` currently notes that **gfx1102 builds but has not yet had a reported model run**. I tested it on a Radeon RX 7600 XT and successfully ran a large Qwen3.8-Flash-Next model for four sessions. This is submitted as an issue rather than a benchmark PR because the measurements below come from normal interactive usage rather than the standardized benchmark procedure. ## Hardware * **GPU:** AMD Radeon RX 7600 XT 16 GB, Navi 33, `gfx1102`, PCI ID `0x7480` * **CPU:** Intel Core i7-13700K, 16C/24T, AVX2 * **RAM:** 64 GB * **PCIe:** PCIe 4.0, negotiated `16.0 GT/s x8` * **Host OS:** Void Linux, kernel `6.18.54_1` * **Driver:** kernel `amdgpu` ## Build environment Strata was built and tested inside a **Distrobox container based on a current Arch Linux userspace**, running on the Void Linux host. The container provided the ROCm/HIP toolchain: * ROCm 7.2.x * ROCm Clang 22.0.0 * CMake 4.4.3 * Ninja 1.13.2 * GNU C/C++ 16.2.1 The host Void Linux installation does not have a system ROCm installation. Strata: * **Version:** `0.1.39` * **Commit:** `d63ddbc6a262e39e` * **Backend:** HIP * **llama.cpp:** `3cf0325` ## Build change The only source change was adding `gfx1102` to the architecture gate in `setup.py`: ```diff - AMD_ARCHS = ("gfx1100", "gfx1101", "gfx1200", "gfx1201", "gfx1030", "gfx1031") + AMD_ARCHS = ("gfx1100", "gfx1101", "gfx1102", "gfx1200", "gfx1201", "gfx1030", "gfx1031") ``` The normal `./setup.sh` build was then run with: ```text -DSTRATA_ENABLE_HIP=ON -DSTRATA_ENABLE_CUDA=OFF -DSTRATA_BUILD_TESTS=OFF -DSTRATA_PREFILL_MMQ=ON -DCMAKE_HIP_ARCHITECTURES=gfx1102 ``` CMake produced the expected validation warning: ```text Strata HIP: gfx1102 builds, but it is not validated on a real card yet; please report results ``` Build result: ```text 130/130 targets 0 errors ``` No gfx1102-specific compiler or ISA errors were observed. ## Model **Swift-Qwen3.8-Flash-Next-GSQ-RCO-IQ3_XXS** Split GGUF: * `...00001-of-00002.gguf` — ~39.8 GB * `...00002-of-00002.gguf` — ~36.2 GB Strata configuration: ```text Context: 65536 KV cache: int8 KV resident: 32768 Expert cache: auto Prefill: auto MTP: --spec 4 --spec-min-p 0.5 Reasoning: none Temperature: 0.6 top_p: 0.95 top_k: 20 ``` The model used a locally prepared Strata native pack, expert profile, and MTP runtime. ## Test method The model was served through Strata's OpenAI-compatible API on localhost. Across four engine sessions: * **146 requests** * **38,490 generated tokens** * prompts up to **51,543 tokens** * prefix reuse up to approximately **51K tokens** The runs were normal interactive usage rather than controlled benchmark repetitions, so the throughput values below are observed results. ## Results ### Decode throughput | Workload | Runs | Median | Range | | ------------------------------- | ---: | ---------: | --------: | | Long outputs (1024–4096 tokens) | 6 | 37.8 tok/s | 33.6–38.7 | | Medium outputs (256–512 tokens) | 20 | 42.7 tok/s | 28.0–49.6 | | Warm follow-up requests | 120 | 43.3 tok/s | 27.4–49.6 | ### Fresh prompt processing | Prompt size | Runs | Median | Range | | -------------: | ---: | ----------: | ----------: | | 1K–5K tokens | 18 | 252.3 tok/s | 194.2–280.3 | | 5K–20K tokens | 11 | 297.4 tok/s | 213.4–310.2 | | 20K–40K tokens | 5 | 305.0 tok/s | 297.7–309.1 | Examples: ```text 21,680 prompt tokens -> 306.8 tok/s 3,825 generated tokens -> 38.2 tok/s 24,443 prompt tokens -> 309.1 tok/s 17,514 prompt tokens -> 301.1 tok/s ``` ## Stability and observations The four sessions completed without failed requests, GPU-side errors, or OOM conditions. Other observed values: * ~624 MiB free VRAM at steady state * median expert-cache hit rate: **82.7%** * overall MTP draft acceptance: **76.8%** * PCIe host→device transfer measured by the engine: **13.4 GB/s** at best There is currently no gfx1102-specific hipBLASLt tuning table, so the dense prefill path used plain hipBLAS. ## Limitations Not tested: * vision * contexts beyond ~51K tokens * concurrency * sustained thermal load * gfx1102 hipBLASLt tuning * standardized `COMMUNITY_BENCHMARKS.md` runs * formal quality/needle/coding benchmarks This report covers one GPU, one model quantization, and one configuration. ## Suggested follow-up * Add `gfx1102` to `AMD_ARCHS` so the local build patch is no longer required. * Update `docs/AMD_HIP.md` to record the successful model run. * Consider adding a gfx1102 hipBLASLt tuning table later. Full build and engine logs can be provided for further investigation.
Author
Owner

@Lefox-DeMod commented on GitHub (Oct 7, 2026):

Follow-up: gfx1102 hipBLASLt calibration

I continued the testing described in this issue and calibrated a local hipBLASLt table for the same RX 7600 XT (gfx1102) using hipBLASLt 1.2.2 (100202).

Generated table:

tools/hip/gfx1102-hipblaslt-100202.txt

Header:

STRATA_HIPBLASLT_TUNING_V1 gfx1102 100202

The table contains 26 calibrated GEMM cases.

I then ran a controlled A/B test with deterministic seeded prompts, identical model/runtime settings, greedy decoding, max_tokens=16, and only 2 actually generated tokens per request. Each input size had three measured trials after a warm-up.

Input No tuning With tuning Improvement
~5K tokens 291.0 tok/s 488.7 tok/s +67.9%
~20K tokens 292.7 tok/s 443.6 tok/s +51.6%
~40K tokens 96.0 tok/s 458.1 tok/s +377%*
  • The untuned 40K baseline was unstable (92.9–265.5 tok/s), so I do not consider the +377% figure reliable. The reproducible result is approximately +52–68% prefill throughput at ~5K–20K input sizes.

Decode throughput was essentially unchanged:

  • ~5K: 14.9 → 15.1 tok/s
  • ~20K: 16.5 → 16.9 tok/s
  • ~40K: 15.9 → 16.7 tok/s

With tuning enabled, the engine reported calibrated Lt solutions including:

Lt solution=3205
Lt solution=3204
Lt solution=3202
Lt solution=3810

There was one uncovered shape that fell back during each measured run:

Lt fallback; no calibration for dtype=bf16 T≈3427 N=10240 K=2560

No warnings/errors occurred during the measurement windows.

Without the tuning table, there were no Lt solution= entries.

This confirms that the RX 7600 XT / gfx1102 not only runs the model reliably, but also benefits substantially from an architecture/version-specific hipBLASLt calibration table.

Artifacts

I can provide/attach:

  • bench-A.json
  • bench-A.log
  • bench-B.json
  • bench-B.log
  • bench_tuning_ab.py
  • gfx1102-hipblaslt-100202.txt

I am not planning further 7600 XT-specific tuning at this point; this should provide a useful starting point for anyone who wants to extend the calibration coverage or upstream the table.

<!-- gh-comment-id:6033802768 --> @Lefox-DeMod commented on GitHub (Oct 7, 2026): ### Follow-up: gfx1102 hipBLASLt calibration I continued the testing described in this issue and calibrated a local hipBLASLt table for the same RX 7600 XT (`gfx1102`) using hipBLASLt 1.2.2 (`100202`). Generated table: ```text tools/hip/gfx1102-hipblaslt-100202.txt ``` Header: ```text STRATA_HIPBLASLT_TUNING_V1 gfx1102 100202 ``` The table contains 26 calibrated GEMM cases. I then ran a controlled A/B test with deterministic seeded prompts, identical model/runtime settings, greedy decoding, `max_tokens=16`, and only 2 actually generated tokens per request. Each input size had three measured trials after a warm-up. | Input | No tuning | With tuning | Improvement | | ----------- | ----------: | --------------: | ----------: | | ~5K tokens | 291.0 tok/s | **488.7 tok/s** | **+67.9%** | | ~20K tokens | 292.7 tok/s | **443.6 tok/s** | **+51.6%** | | ~40K tokens | 96.0 tok/s | **458.1 tok/s** | +377%* | * The untuned 40K baseline was unstable (92.9–265.5 tok/s), so I do not consider the +377% figure reliable. The reproducible result is approximately **+52–68% prefill throughput at ~5K–20K input sizes**. Decode throughput was essentially unchanged: * ~5K: 14.9 → 15.1 tok/s * ~20K: 16.5 → 16.9 tok/s * ~40K: 15.9 → 16.7 tok/s With tuning enabled, the engine reported calibrated Lt solutions including: ```text Lt solution=3205 Lt solution=3204 Lt solution=3202 Lt solution=3810 ``` There was one uncovered shape that fell back during each measured run: ```text Lt fallback; no calibration for dtype=bf16 T≈3427 N=10240 K=2560 ``` No warnings/errors occurred during the measurement windows. Without the tuning table, there were no `Lt solution=` entries. This confirms that the RX 7600 XT / `gfx1102` not only runs the model reliably, but also benefits substantially from an architecture/version-specific hipBLASLt calibration table. ### Artifacts I can provide/attach: * `bench-A.json` * `bench-A.log` * `bench-B.json` * `bench-B.log` * `bench_tuning_ab.py` * `gfx1102-hipblaslt-100202.txt` I am not planning further 7600 XT-specific tuning at this point; this should provide a useful starting point for anyone who wants to extend the calibration coverage or upstream the table.
Author
Owner

@Niko1221 commented on GitHub (Oct 7, 2026):

Thanks for the detailed run. It is in docs/AMD_HIP.md as a reported run (RX 7600 XT, about 43 tok/s decode, 250-300 tok/s prompt, 146 requests up to 51K context), and setup accepts gfx1102 in 0.1.40.2 (#938). The card stays listed as unvalidated until a maintainer has run it; a bench PR with your numbers is welcome.

<!-- gh-comment-id:6037896612 --> @Niko1221 commented on GitHub (Oct 7, 2026): Thanks for the detailed run. It is in docs/AMD_HIP.md as a reported run (RX 7600 XT, about 43 tok/s decode, 250-300 tok/s prompt, 146 requests up to 51K context), and setup accepts gfx1102 in 0.1.40.2 (#938). The card stays listed as unvalidated until a maintainer has run it; a bench PR with your numbers is welcome.
Author
Owner

@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.

<!-- gh-comment-id:6155992584 --> @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](https://github.com/Niko1221/Strata/releases/tag/v0.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.
Author
Owner

@thatbuzzguy commented on GitHub (Oct 14, 2026):

I have been able to get ~48 tok/s sustained and spike well above that with MTP. Prefill tends to get ~445 tok/s sustained during long prefill operations (such as auto-compact or reading in old sessions).

My hardware: AMD 5800x (8 core/16 thread) 64GB of DDR4-3600, (1x) AMD 7600XT at ~2238Mhz, (1x) Samsung Pro PCIE x4 NVME drive

My software: Pi Agent, WSL/Ubuntu-24.04 running on Windows 11, qwen3.8-flash-next-iq2_xs - high
I check out the Strata repo and the engine components every couple of days: currently on tag: v0.1.43.1 / 100500

Here is the majority of the settings that I am using:
"--expert-cache", "auto", "--prefill", "auto", "--spec", "4", "--spec-min-p", "0.5", "--mtp", "C:\Strata-data\mtp\rt", "--max-context", "131072", "--kv", "int8", "--kv-resident", "24567", "--conversation-cache-mib", "6144", "--conversation-cache-slots", "4", "--prompt-cache", "5", "--pool-workers", "7", "--pool-tasks", "192", "--aux-cpus", "1"

"STRATA_DENSE_MMQ": "1", "STRATA_Q2_BITPLANE": "1", "STRATA_HOST_CORE": "last", "STRATA_EXCHANGE_ROTATE": "1", "STRATA_HIP_ADAPT_KERNEL_COPY": "0", "STRATA_SH_STREAM": "0", "STRATA_RESIDENT_HEADROOM_GIB": "4", "STRATA_HIPBLASLT_TUNING": "C:\Strata\tools\hip\gfx1100-hipblaslt-100500.txt"

"port": 8080, "backend": "hip", "gpus_asked": true, "draft_vocab": "en", "fit_max_tokens": "true", reasoning_budget_tokens": 32000, "idle_unload": 3600, "stream": true

One of the log entries that caught my eye:
strata serve: prompt 105324 tokens = 104068 reused + 1256 read in 6028 ms (208.4 tok/s), 185 generated in 4372 ms (42.3 tok/s), drafts accepted 126 of 159, 5 checkpoints
strata serve: decode expert cache hit rate: 74.6% (71167 hits / 95446 lookups); 10154 more read by the GPU over PCIe or from another GPU (9.6% of all 105600 routed)
strata serve: KV streaming: 96.38% of 57978168 block reads hit VRAM, 8447.2 MiB read from RAM
strata serve: suffix drafts: 4 windows, 12 of 16 drafts accepted

Wild.

<!-- gh-comment-id:6158712943 --> @thatbuzzguy commented on GitHub (Oct 14, 2026): I have been able to get ~48 tok/s sustained and spike well above that with MTP. Prefill tends to get ~445 tok/s sustained during long prefill operations (such as auto-compact or reading in old sessions). My hardware: AMD 5800x (8 core/16 thread) 64GB of DDR4-3600, (1x) AMD 7600XT at ~2238Mhz, (1x) Samsung Pro PCIE x4 NVME drive My software: Pi Agent, WSL/Ubuntu-24.04 running on Windows 11, qwen3.8-flash-next-iq2_xs - high I check out the Strata repo and the engine components every couple of days: currently on tag: v0.1.43.1 / 100500 Here is the majority of the settings that I am using: "--expert-cache", "auto", "--prefill", "auto", "--spec", "4", "--spec-min-p", "0.5", "--mtp", "C:\Strata-data\mtp\rt", "--max-context", "131072", "--kv", "int8", "--kv-resident", "24567", "--conversation-cache-mib", "6144", "--conversation-cache-slots", "4", "--prompt-cache", "5", "--pool-workers", "7", "--pool-tasks", "192", "--aux-cpus", "1" "STRATA_DENSE_MMQ": "1", "STRATA_Q2_BITPLANE": "1", "STRATA_HOST_CORE": "last", "STRATA_EXCHANGE_ROTATE": "1", "STRATA_HIP_ADAPT_KERNEL_COPY": "0", "STRATA_SH_STREAM": "0", "STRATA_RESIDENT_HEADROOM_GIB": "4", "STRATA_HIPBLASLT_TUNING": "C:\Strata\tools\hip\gfx1100-hipblaslt-100500.txt" "port": 8080, "backend": "hip", "gpus_asked": true, "draft_vocab": "en", "fit_max_tokens": "true", reasoning_budget_tokens": 32000, "idle_unload": 3600, "stream": true One of the log entries that caught my eye: strata serve: prompt 105324 tokens = 104068 reused + 1256 read in 6028 ms (208.4 tok/s), 185 generated in 4372 ms (42.3 tok/s), drafts accepted 126 of 159, 5 checkpoints strata serve: decode expert cache hit rate: 74.6% (71167 hits / 95446 lookups); 10154 more read by the GPU over PCIe or from another GPU (9.6% of all 105600 routed) strata serve: KV streaming: 96.38% of 57978168 block reads hit VRAM, 8447.2 MiB read from RAM strata serve: suffix drafts: 4 windows, 12 of 16 drafts accepted Wild.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Niko1221/Strata#409
No description provided.