Skip to content

revert sha commit pointing to main for transformers_amd_ci_ workflows#45495

Merged
paulinebm merged 1 commit intomainfrom
fix-workflows
Apr 17, 2026
Merged

revert sha commit pointing to main for transformers_amd_ci_ workflows#45495
paulinebm merged 1 commit intomainfrom
fix-workflows

Conversation

@paulinebm
Copy link
Copy Markdown
Contributor

What does this PR do?

Fixes # (issue)

Code Agent Policy

The Transformers repo is currently being overwhelmed by a large number of PRs and issue comments written by
code agents. We are currently bottlenecked by our ability to review and respond to them. As a result,
we ask that new users do not submit pure code agent PRs at this time.
You may use code agents in drafting or to help you diagnose issues. We'd also ask autonomous "OpenClaw"-like agents
not to open any PRs or issues for the moment.

PRs that appear to be fully agent-written will probably be closed without review, and we may block users who do this
repeatedly or maliciously.

This is a rapidly-evolving situation that's causing significant shockwaves in the open-source community. As a result,
this policy is likely to be updated regularly in the near future. For more information, please read CONTRIBUTING.md.

  • I confirm that this is not a pure code agent PR.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?
  • Was this discussed/approved via a Github issue or the forum? Please add a link
    to it if that's the case.
  • Did you make sure to update the documentation with your changes? Here are the
    documentation guidelines, and
    here are tips on formatting docstrings.
  • Did you write any new necessary tests?

Who can review?

Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

@paulinebm paulinebm merged commit a29df2d into main Apr 17, 2026
15 of 18 checks passed
@paulinebm paulinebm deleted the fix-workflows branch April 17, 2026 14:20
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the AMD scheduled CI caller workflows to reference the reusable workflows in huggingface/hf-workflows via the main branch instead of a pinned commit SHA, so those scheduled runs track the latest upstream workflow definitions.

Changes:

  • Switch uses: huggingface/hf-workflows/...@<sha> to ...@main for AMD MI250 scheduled CI callers.
  • Switch uses: huggingface/hf-workflows/...@<sha> to ...@main for AMD MI325 (ARC scale set) scheduled CI callers.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 8 comments.

File Description
.github/workflows/self-scheduled-amd-mi325-caller.yml Updates MI325 scheduled CI reusable-workflow references from a pinned SHA to @main.
.github/workflows/self-scheduled-amd-mi250-caller.yml Updates MI250 scheduled CI reusable-workflow references from a pinned SHA to @main.

torch-pipeline:
name: Torch pipeline CI
uses: huggingface/hf-workflows/.github/workflows/transformers_amd_ci_scheduled_arc_scale_set.yaml@63657f571a92cc9759159442936061c51d6d9ae4 # main
uses: huggingface/hf-workflows/.github/workflows/transformers_amd_ci_scheduled_arc_scale_set.yaml@main
Copy link

Copilot AI Apr 17, 2026

Choose a reason for hiding this comment

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

Using a mutable ref (@main) for a reusable workflow means this scheduled CI can change behavior without any change in this repo, which hurts reproducibility and can unexpectedly break scheduled runs. Since this workflow also inherits secrets on self-hosted runners, pinning to a specific commit SHA (or a version tag) is safer and makes changes auditable.

Copilot uses AI. Check for mistakes.
example-ci:
name: Example CI
uses: huggingface/hf-workflows/.github/workflows/transformers_amd_ci_scheduled_arc_scale_set.yaml@63657f571a92cc9759159442936061c51d6d9ae4 # main
uses: huggingface/hf-workflows/.github/workflows/transformers_amd_ci_scheduled_arc_scale_set.yaml@main
Copy link

Copilot AI Apr 17, 2026

Choose a reason for hiding this comment

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

Using a mutable ref (@main) for a reusable workflow means this scheduled CI can change behavior without any change in this repo, which hurts reproducibility and can unexpectedly break scheduled runs. Since this workflow also inherits secrets on self-hosted runners, pinning to a specific commit SHA (or a version tag) is safer and makes changes auditable.

Copilot uses AI. Check for mistakes.
deepspeed-ci:
name: DeepSpeed CI
uses: huggingface/hf-workflows/.github/workflows/transformers_amd_ci_scheduled_arc_scale_set.yaml@63657f571a92cc9759159442936061c51d6d9ae4 # main
uses: huggingface/hf-workflows/.github/workflows/transformers_amd_ci_scheduled_arc_scale_set.yaml@main
Copy link

Copilot AI Apr 17, 2026

Choose a reason for hiding this comment

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

Using a mutable ref (@main) for a reusable workflow means this scheduled CI can change behavior without any change in this repo, which hurts reproducibility and can unexpectedly break scheduled runs. Since this workflow also inherits secrets on self-hosted runners, pinning to a specific commit SHA (or a version tag) is safer and makes changes auditable.

Copilot uses AI. Check for mistakes.
model-ci:
name: Model CI
uses: huggingface/hf-workflows/.github/workflows/transformers_amd_ci_scheduled.yaml@a88e7fa2eaee28de5a4d6142381b1fb792349b67 # main
uses: huggingface/hf-workflows/.github/workflows/transformers_amd_ci_scheduled.yaml@main
Copy link

Copilot AI Apr 17, 2026

Choose a reason for hiding this comment

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

Using a mutable ref (@main) for a reusable workflow means this scheduled CI can change behavior without any change in this repo, which hurts reproducibility and can unexpectedly break scheduled runs. Since this workflow also inherits secrets on self-hosted runners, pinning to a specific commit SHA (or a version tag) is safer and makes changes auditable.

Copilot uses AI. Check for mistakes.
torch-pipeline:
name: Torch pipeline CI
uses: huggingface/hf-workflows/.github/workflows/transformers_amd_ci_scheduled.yaml@a88e7fa2eaee28de5a4d6142381b1fb792349b67 # main
uses: huggingface/hf-workflows/.github/workflows/transformers_amd_ci_scheduled.yaml@main
Copy link

Copilot AI Apr 17, 2026

Choose a reason for hiding this comment

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

Using a mutable ref (@main) for a reusable workflow means this scheduled CI can change behavior without any change in this repo, which hurts reproducibility and can unexpectedly break scheduled runs. Since this workflow also inherits secrets on self-hosted runners, pinning to a specific commit SHA (or a version tag) is safer and makes changes auditable.

Copilot uses AI. Check for mistakes.
example-ci:
name: Example CI
uses: huggingface/hf-workflows/.github/workflows/transformers_amd_ci_scheduled.yaml@a88e7fa2eaee28de5a4d6142381b1fb792349b67 # main
uses: huggingface/hf-workflows/.github/workflows/transformers_amd_ci_scheduled.yaml@main
Copy link

Copilot AI Apr 17, 2026

Choose a reason for hiding this comment

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

Using a mutable ref (@main) for a reusable workflow means this scheduled CI can change behavior without any change in this repo, which hurts reproducibility and can unexpectedly break scheduled runs. Since this workflow also inherits secrets on self-hosted runners, pinning to a specific commit SHA (or a version tag) is safer and makes changes auditable.

Copilot uses AI. Check for mistakes.
deepspeed-ci:
name: DeepSpeed CI
uses: huggingface/hf-workflows/.github/workflows/transformers_amd_ci_scheduled.yaml@a88e7fa2eaee28de5a4d6142381b1fb792349b67 # main
uses: huggingface/hf-workflows/.github/workflows/transformers_amd_ci_scheduled.yaml@main
Copy link

Copilot AI Apr 17, 2026

Choose a reason for hiding this comment

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

Using a mutable ref (@main) for a reusable workflow means this scheduled CI can change behavior without any change in this repo, which hurts reproducibility and can unexpectedly break scheduled runs. Since this workflow also inherits secrets on self-hosted runners, pinning to a specific commit SHA (or a version tag) is safer and makes changes auditable.

Copilot uses AI. Check for mistakes.
model-ci:
name: Model CI
uses: huggingface/hf-workflows/.github/workflows/transformers_amd_ci_scheduled_arc_scale_set.yaml@63657f571a92cc9759159442936061c51d6d9ae4 # main
uses: huggingface/hf-workflows/.github/workflows/transformers_amd_ci_scheduled_arc_scale_set.yaml@main
Copy link

Copilot AI Apr 17, 2026

Choose a reason for hiding this comment

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

Using a mutable ref (@main) for a reusable workflow means this scheduled CI can change behavior without any change in this repo, which hurts reproducibility and can unexpectedly break scheduled runs. Since this workflow also inherits secrets on self-hosted runners, pinning to a specific commit SHA (or a version tag) is safer and makes changes auditable.

Copilot uses AI. Check for mistakes.
@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

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.

3 participants