[PR #4139] [Engine] add RX 6000 gfx1031 Docker image flavor #4918

Open
opened 2026-11-07 16:31:20 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Niko1221/Strata/pull/4139
Author: @LawiK974
Created: 10/25/2026
Status: 🔄 Open

Base: main ← Head: feature/docker-gfx1031


📝 Commits (1)

  • 2054731 feat(docker): add RX 6000 gfx1031 image flavor

📊 Changes

7 files changed (+34 additions, -6 deletions)

View changed files

📝 .github/workflows/docker-images.yml (+1 -1)
📝 docker/fetch-engines.py (+1 -0)
📝 docker/publish.sh (+2 -2)
📝 docs/DOCKER.md (+9 -0)
📝 tests/terminal/test_docker_fetch.py (+14 -1)
📝 tests/terminal/test_docker_files.py (+5 -2)
📝 tests/terminal/update_fixture.py (+2 -0)

📄 Description

Problem and result

The existing Linux RX 6000 engine package supports gfx1030 and gfx1031, but the Docker publishing scripts do not expose it as an image flavor. This change adds rocm-gfx1031, allowing the existing signed rx6000 engine package to be selected and published as a Docker image when it is present in the release feed.

None. This change makes an existing engine package available through the Docker image workflow; it does not add a new engine build variant.

Approach

  • Map rocm-gfx1031 to the Linux HIP rx6000 package in docker/fetch-engines.py.
  • Include the flavor in the default list used by docker/publish.sh.
  • Document the image flavor and release-feed mapping in docs/DOCKER.md.
  • Add regression coverage for selecting and verifying the rx6000 package and its gfx1030 / gfx1031 architectures.

The workflow remains manually triggered. Releases without an rx6000 package will not build this image.

Validation

Passed:

  • python -m unittest tests.terminal.test_docker_fetch tests.terminal.test_docker_files — 23 tests passed on Linux, against commit 20547317.
  • git diff --check origin/main...feature/docker-gfx1031 — passed.
  • The GitHub Actions Docker image build was tested from the fork. The image repository had to be overridden because the workflow targeted the upstream GHCR repository; fork-specific image destination handling is in separate commit 1d0ba52f, not in this gfx1031-only change.

Failed:

  • Workflow run failed while building the Docker context because tools/dsv41/tune.py was missing. This is separate from the flavor mapping and fixed in an other branch.

Not run:

  • No new hardware smoke test was run specifically for this flavor-mapping change; it does not modify the engine package or engine build.

Limits

The flavor is available only for releases whose signed feed contains the Linux HIP rx6000 package. The package targets gfx1030 and gfx1031; this PR does not change how that package is built or claim broader hardware validation.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Niko1221/Strata/pull/4139 **Author:** [@LawiK974](https://github.com/LawiK974) **Created:** 10/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feature/docker-gfx1031` --- ### 📝 Commits (1) - [`2054731`](https://github.com/Niko1221/Strata/commit/20547317e5d0124eb032e3670d1303e9954f68f3) feat(docker): add RX 6000 gfx1031 image flavor ### 📊 Changes **7 files changed** (+34 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/docker-images.yml` (+1 -1) 📝 `docker/fetch-engines.py` (+1 -0) 📝 `docker/publish.sh` (+2 -2) 📝 `docs/DOCKER.md` (+9 -0) 📝 `tests/terminal/test_docker_fetch.py` (+14 -1) 📝 `tests/terminal/test_docker_files.py` (+5 -2) 📝 `tests/terminal/update_fixture.py` (+2 -0) </details> ### 📄 Description ## Problem and result The existing Linux RX 6000 engine package supports `gfx1030` and `gfx1031`, but the Docker publishing scripts do not expose it as an image flavor. This change adds `rocm-gfx1031`, allowing the existing signed `rx6000` engine package to be selected and published as a Docker image when it is present in the release feed. ## Related discussion None. This change makes an existing engine package available through the Docker image workflow; it does not add a new engine build variant. ## Approach - Map `rocm-gfx1031` to the Linux HIP `rx6000` package in [`docker/fetch-engines.py`](docker/fetch-engines.py). - Include the flavor in the default list used by [`docker/publish.sh`](docker/publish.sh). - Document the image flavor and release-feed mapping in [`docs/DOCKER.md`](docs/DOCKER.md). - Add regression coverage for selecting and verifying the `rx6000` package and its `gfx1030` / `gfx1031` architectures. The workflow remains manually triggered. Releases without an `rx6000` package will not build this image. ## Validation **Passed:** - `python -m unittest tests.terminal.test_docker_fetch tests.terminal.test_docker_files` — 23 tests passed on Linux, against commit `20547317`. - `git diff --check origin/main...feature/docker-gfx1031` — passed. - The GitHub Actions Docker image build was tested from the fork. The image repository had to be overridden because the workflow targeted the upstream GHCR repository; fork-specific image destination handling is in separate commit `1d0ba52f`, not in this gfx1031-only change. **Failed:** - Workflow run failed while building the Docker context because `tools/dsv41/tune.py` was missing. This is separate from the flavor mapping and fixed in an other branch. **Not run:** - No new hardware smoke test was run specifically for this flavor-mapping change; it does not modify the engine package or engine build. ## Limits The flavor is available only for releases whose signed feed contains the Linux HIP `rx6000` package. The package targets `gfx1030` and `gfx1031`; this PR does not change how that package is built or claim broader hardware validation. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#4918
No description provided.