Skip to content

ci: dispatch full PyTorch tests for dev releases#6449

Draft
ethanwee1 wants to merge 1 commit into
mainfrom
users/ethanwee1/full-test-dispatch-dev
Draft

ci: dispatch full PyTorch tests for dev releases#6449
ethanwee1 wants to merge 1 commit into
mainfrom
users/ethanwee1/full-test-dispatch-dev

Conversation

@ethanwee1

Copy link
Copy Markdown
Contributor

Summary

Lets dev releases dispatch the full PyTorch test suite (in addition to
nightly) from the per-ref build workflow (multi_arch_build_portable_linux_pytorch_wheels.yml).

Closes #5781.

Context

This replaces #5815, which was stacked on the now-closed #5813 branch and edited
the pre-#5780 dispatch location in multi_arch_release_linux_pytorch_wheels.yml.
After #5780 the full-test dispatch lives in the build workflow's
dispatch_pytorch_wheels_full_test job, so the change is now a small, focused
edit there.

Of #5781's two asks:

  • Un-hardcode the index URL — already done on main: the dispatch passes
    package_index_url: ${{ needs.build_pytorch_wheels.outputs.package_index_url }},
    which is derived from the publish step (MULTI_ARCH_INDEX_URLS[release_type]).
    For dev that resolves to https://rocm.devreleases.amd.com/whl-multi-arch/.
  • Support dev releases — this PR: add dev to the dispatch gate.

What changed

  • dispatch_pytorch_wheels_full_test gate now accepts
    release_type == 'nightly' || release_type == 'dev'.
  • The cadence step treats dev as on-demand: dev builds only reach this job when
    run_full_pytorch_tests is set, so they dispatch whenever requested rather than
    being subject to the nightly weekly (Sunday) cadence.

Cadence / safety

Safe no-op for dev until a scheduled/dispatched build passes
run_full_pytorch_tests=true for a dev release — the dispatch only fires when
that flag is set, so routine on-demand dev builds do not trigger a full-test
storm.

Let release_type == dev dispatch the full PyTorch test suite in addition to
nightly. The package index URL is already derived from the build/publish step
output (MULTI_ARCH_INDEX_URLS[release_type]), so dev runs test against the dev
index (rocm.devreleases.amd.com) automatically.

Dev builds are on-demand and only reach the dispatch job when
run_full_pytorch_tests is set, so they bypass the nightly weekly-cadence gate
and dispatch whenever requested.

Closes #5781
@therock-pr-bot

therock-pr-bot Bot commented Jul 9, 2026

Copy link
Copy Markdown

✅ All Checks Passed — Ready for Review

Check Status Details
🌿 Branch Name ✅ Pass
📝 PR Title/Description ✅ Pass
Forbidden Files ✅ Pass
🧪 Unit Test ✅ Pass PR does not contain code files — Unit Test auto-passed
🔎 pre-commit ✅ Pass
🚫 Draft PR 🔜 To Be Enabled
🚩 Feature Flag 🔜 To Be Enabled
📊 Code Coverage 🔜 To Be Enabled
🤖 therock-pr-bot ✅ Pass

🎉 All checks passed! This PR is ready for review.

📖 Need help? See the Policy FAQ for details on every check and how to fix failures.

@therock-pr-bot

therock-pr-bot Bot commented Jul 9, 2026

Copy link
Copy Markdown

🎉 All checks passed! This PR is ready for review.

@ethanwee1 ethanwee1 self-assigned this Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: TODO

Development

Successfully merging this pull request may close these issues.

[CI] Support dev releases and un-hardcode package index URL in full PyTorch test dispatch

1 participant