Skip to content

ci: default PyTorch release wheels to sccache - #83

Open
subodh-dubey-amd wants to merge 3 commits into
mainfrom
users/subodh-dubey-amd/pytorch-release-sccache-default
Open

ci: default PyTorch release wheels to sccache#83
subodh-dubey-amd wants to merge 3 commits into
mainfrom
users/subodh-dubey-amd/pytorch-release-sccache-default

Conversation

@subodh-dubey-amd

@subodh-dubey-amd subodh-dubey-amd commented Aug 5, 2026

Copy link
Copy Markdown

Summary

  • Default cache_type to sccache (from none) in the Linux and Windows PyTorch release-wheel workflows, matching TheRock's release-wheel default.

Why

Already provisioned (no infra changes needed)

  • Roles therock-{dev,nightly,prerelease} (acct 324352301041) trust ROCm/rockrel; buckets therock-pytorch-sccache-<release_type> exist; both wrappers already grant id-token: write.

Notes

  • The bucket starts cold and warms over the first few release runs.
  • workflow_dispatch-only: applies to runs dispatched without an explicit cache_type.

subodh-dubey-amd and others added 3 commits August 5, 2026 16:22
Align rockrel's Linux/Windows release-wheel wrappers with TheRock, which
defaults these builds to sccache since ROCm/TheRock#5471. The wrappers had
drifted and still defaulted to none, so release wheels built cold.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@subodh-dubey-amd
subodh-dubey-amd requested a review from marbre August 5, 2026 17:05

@marbre marbre left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before merging this, can we make sure to remove access to therock-pytorch-sccache-${release_type} from ROCm/TheRock for every release type not dev or at least remove prerelease?

@subodh-dubey-amd

Copy link
Copy Markdown
Author

Before merging this, can we make sure to remove access to therock-pytorch-sccache-${release_type} from ROCm/TheRock for every release type not dev or at least remove prerelease?

Current trust on the PyTorch sccache roles:

  • therock-ci → TheRock (CI cache)
  • therock-dev → TheRock + rockrel (shared dev)
  • therock-nightly → TheRock + rockrel
  • therock-prerelease → rockrel only already

@subodh-dubey-amd
subodh-dubey-amd requested a review from marbre August 6, 2026 12:45
@marbre

marbre commented Aug 6, 2026

Copy link
Copy Markdown
Member

Before merging this, can we make sure to remove access to therock-pytorch-sccache-${release_type} from ROCm/TheRock for every release type not dev or at least remove prerelease?

Current trust on the PyTorch sccache roles:

  • therock-ci → TheRock (CI cache)
  • therock-dev → TheRock + rockrel (shared dev)
  • therock-nightly → TheRock + rockrel
  • therock-prerelease → rockrel only already

@ScottTodd should we remove access to therock-nighly from TheRock first?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants