Skip to content

[ROCm][CI] Re-enable ROCm CI & make CI changes as per new CI design - #4361

Draft
akashveramd wants to merge 5 commits into
pytorch:mainfrom
akashveramd:av_reenable_rocm_ci_new_design
Draft

[ROCm][CI] Re-enable ROCm CI & make CI changes as per new CI design#4361
akashveramd wants to merge 5 commits into
pytorch:mainfrom
akashveramd:av_reenable_rocm_ci_new_design

Conversation

@akashveramd

Copy link
Copy Markdown
Collaborator

This PR covers most of the features that were part of this PR (unmerged & closed) #4039.

This PR also makes following CI changes-

  • Re-enable ROCm CI.
  • Separate badging on README.md to indicate ROCm/CUDA workflow status separately.
  • Remove ciflow/8gpu label as a trigger for the CUDA-specific workflows.
  • Add ciflow/rocm label as a trigger for the ROCm-specific workflows.
    -- This label can be added manually by PR developers wanting to test on ROCm.
    -- This label will also be automatically added by the pytorch bot for any PRs that mention ROCm in the title/description.

akashveramd and others added 3 commits August 27, 2026 22:52
Renames integration_test_features_rocm.yaml to integration_test_rocm.yaml
and re-enables the ROCm matrix in set-matrix.yaml, which was temporarily
disabled while ROCm jobs were red.

Key changes:
- Adds ciflow/rocm/* tag trigger to integration_test_rocm.yaml so ROCm
  jobs can be triggered on demand from PRs via tag, in addition to the
  existing push-to-main trigger.
- Restores the ROCm matrix entry in set-matrix.yaml (runner:
  linux.rocm.gpu.ecosystem.mi350.8, ROCm 10.0, rocm10.0 nightly index).
- Fixes the matrix selection logic so that when gpu-arch=rocm is
  explicitly requested (e.g. from a ciflow/rocm tag run via workflow_call),
  FULL_MATRIX is used rather than falling through to CUDA-only. Previously
  IS_MAIN_PUSH/IS_SCHEDULE were the only conditions that included ROCm,
  which meant tag-triggered workflow_call runs produced an empty matrix.

Test Plan:
Push a ciflow/rocm/* tag to trigger the ROCm workflow and verify jobs
land on linux.rocm.gpu.ecosystem.mi350.8 with ROCm 10.0.

Co-authored-by: AI assistant
Co-authored-by: Cursor <cursoragent@cursor.com>
Adds an AMD GPU (ROCm) row to the Test status table pointing to the
integration_test_rocm.yaml workflow.

Co-authored-by: AI assistant
Co-authored-by: Cursor <cursoragent@cursor.com>
Registers ciflow/rocm with pytorch-probot so it can push the ciflow/rocm
tag to trigger ROCm CI jobs on demand.

Co-authored-by: AI assistant
Co-authored-by: Cursor <cursoragent@cursor.com>
@akashveramd akashveramd self-assigned this Aug 27, 2026
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Aug 27, 2026
@pytorch-bot

pytorch-bot Bot commented Aug 27, 2026

Copy link
Copy Markdown

Warning: Unknown label ciflow/rocm.
Currently recognized labels are

  • ciflow/h100.8
  • ciflow/rl

Please add the new label to .github/pytorch-probot.yml

Renames the workflow from "Integration Tests - Features (ROCm)" to
"Integration Tests (ROCm)" and the job from "features" to "rocm", since
the workflow runs both features and models test suites. This fixes the
confusing "features / 8 GPU Integration ..." prefix shown for both jobs
in the PR checks UI.

Co-authored-by: AI assistant
Co-authored-by: Cursor <cursoragent@cursor.com>
@akashveramd
akashveramd marked this pull request as draft August 27, 2026 23:22
@akashveramd
akashveramd marked this pull request as ready for review August 28, 2026 19:25
@akashveramd
akashveramd marked this pull request as draft August 28, 2026 19:36
@wwwjn

wwwjn commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Seems the bot have an error: #4361 (comment)

@akashveramd

Copy link
Copy Markdown
Collaborator Author

Seems the bot have an error: #4361 (comment)

@wwwjn: The bot warning was triggered before commit 232d3f1 added ciflow/rocm to .github/pytorch-probot.yml. That commit is now included in this PR, so the label is properly registered, and the warning won't recur once this is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ciflow/rocm CLA Signed This label is managed by the Meta Open Source bot. module: rocm

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants