Skip to content

CI: upgrade PyTorch images to ROCm 7.14 - #989

Merged
coderfeli merged 6 commits into
mainfrom
ci/upgrade-rocm-7.14
Aug 11, 2026
Merged

CI: upgrade PyTorch images to ROCm 7.14#989
coderfeli merged 6 commits into
mainfrom
ci/upgrade-rocm-7.14

Conversation

@coderfeli

Copy link
Copy Markdown
Collaborator

Use pinned PyTorch 2.12 release images for test and publish workflows, and invalidate the MLIR cache for the new runtime.

Motivation

Technical Details

Test Plan

Test Result

Submission Checklist

Use pinned PyTorch 2.12 release images for test and publish workflows, and invalidate the MLIR cache for the new runtime.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderfeli coderfeli added multi-gpu performance Performance related issues and removed multi-gpu labels Aug 9, 2026
Felix Li and others added 4 commits August 9, 2026 09:02
The PyTorch 2.12 runtime image omits HIP headers and CMake metadata, so initialize the matching ROCm devel package and expose its toolchain paths.

Co-authored-by: Cursor <cursoragent@cursor.com>
Avoid replacing the PyTorch 2.12 image's matched Triton build with a ROCm 7.2 binary that segfaults when loaded after PyTorch.

Co-authored-by: Cursor <cursoragent@cursor.com>
Build an AMD-only MLIR toolchain once, then package current and
baseline FlyDSL wheels with the required tools for reuse across GPU
jobs.

This avoids repeated 2 GB MLIR downloads, preserves benchmark and
FileCheck coverage, and lets trusted PR runs cache cold LLVM builds.
@Phil-amd
Phil-amd force-pushed the ci/upgrade-rocm-7.14 branch from 197f7f9 to 30ff7ca Compare August 11, 2026 01:35
Make baseline artifacts optional, prune stale worktrees, and validate
ROCDL code generation and transported tools before GPU tests.

Keep the cold LLVM checkout a plain shallow fetch. A blob-filtered sparse
checkout made the server build an uncached pack for an arbitrary SHA and
then lazily re-fetched the tree during checkout: measured on CI, `--depth 1`
alone takes ~100s while `--depth 1 --filter=blob:none` did not finish within
100 minutes. Discard a leftover promisor clone instead of unsetting its
config, which would leave the missing blobs unrecoverable. Cap the LLVM
build step at 45 minutes so a stall releases the GPU runner early.

Centralize build profiles, ROCm paths, and Python version discovery.
Compress artifacts and keep multi-GPU jobs tied to their producer.
@Phil-amd
Phil-amd force-pushed the ci/upgrade-rocm-7.14 branch from 30ff7ca to 4e1a69d Compare August 11, 2026 02:32
@coderfeli
coderfeli merged commit b8ed73f into main Aug 11, 2026
19 of 22 checks passed
@coderfeli
coderfeli deleted the ci/upgrade-rocm-7.14 branch August 11, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

multi-gpu performance Performance related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants