Repository navigation
Allow explicit BakeLab runners in reusable Linux CI - #6
Merged
Merged
Conversation
The reusable Linux jobs reject BakeLab because they only admit the pytorch organization, and the test job always uses upstream matrix runner labels. Allow BakeLab/pytorch when the caller explicitly supplies runner-labels and use those labels for scheduling. Preserve existing upstream defaults. Authored with an AI assistant at the repository maintainer's request. Test Plan ```sh git diff --check lintrunner -a ``` The whitespace check passed. lintrunner could not run because it is not installed; spin and a local virtual environment are also absent. No live GitHub/Gitea workflow or GPU task was executed.
Keep this PR focused on the two reusable Linux workflow changes. Authored with an AI assistant. Test Plan ```sh git diff --check lintrunner -a ``` Whitespace validation passed. lintrunner remains unavailable in this checkout.
cyyever
marked this pull request as ready for review
October 29, 2026 11:44
cyyever
added a commit
that referenced
this pull request
Oct 31, 2026
* Allow explicit BakeLab runners in reusable Linux CI The reusable Linux jobs reject BakeLab because they only admit the pytorch organization, and the test job always uses upstream matrix runner labels. Allow BakeLab/pytorch when the caller explicitly supplies runner-labels and use those labels for scheduling. Preserve existing upstream defaults. Authored with an AI assistant at the repository maintainer's request. Test Plan ```sh git diff --check lintrunner -a ``` The whitespace check passed. lintrunner could not run because it is not installed; spin and a local virtual environment are also absent. No live GitHub/Gitea workflow or GPU task was executed. * Remove BakeLab CI documentation at maintainer request Keep this PR focused on the two reusable Linux workflow changes. Authored with an AI assistant. Test Plan ```sh git diff --check lintrunner -a ``` Whitespace validation passed. lintrunner remains unavailable in this checkout.
cyyever
added a commit
that referenced
this pull request
Oct 31, 2026
* Allow explicit BakeLab runners in reusable Linux CI The reusable Linux jobs reject BakeLab because they only admit the pytorch organization, and the test job always uses upstream matrix runner labels. Allow BakeLab/pytorch when the caller explicitly supplies runner-labels and use those labels for scheduling. Preserve existing upstream defaults. Authored with an AI assistant at the repository maintainer's request. Test Plan ```sh git diff --check lintrunner -a ``` The whitespace check passed. lintrunner could not run because it is not installed; spin and a local virtual environment are also absent. No live GitHub/Gitea workflow or GPU task was executed. * Remove BakeLab CI documentation at maintainer request Keep this PR focused on the two reusable Linux workflow changes. Authored with an AI assistant. Test Plan ```sh git diff --check lintrunner -a ``` Whitespace validation passed. lintrunner remains unavailable in this checkout.
cyyever
added a commit
that referenced
this pull request
Oct 31, 2026
Allow explicit BakeLab runners in reusable Linux CI (#6) * Allow explicit BakeLab runners in reusable Linux CI The reusable Linux jobs reject BakeLab because they only admit the pytorch organization, and the test job always uses upstream matrix runner labels. Allow BakeLab/pytorch when the caller explicitly supplies runner-labels and use those labels for scheduling. Preserve existing upstream defaults. Authored with an AI assistant at the repository maintainer's request. Test Plan ```sh git diff --check lintrunner -a ``` The whitespace check passed. lintrunner could not run because it is not installed; spin and a local virtual environment are also absent. No live GitHub/Gitea workflow or GPU task was executed. * Remove BakeLab CI documentation at maintainer request Keep this PR focused on the two reusable Linux workflow changes. Authored with an AI assistant. Test Plan ```sh git diff --check lintrunner -a ``` Whitespace validation passed. lintrunner remains unavailable in this checkout. Run trim CUDA CI in the repository build image [CI] Test triggering trim commit through shared CUDA infrastructure (#9) Assisted-by: Codex Signed-off-by: cyy <[email protected]> [CI] Use the repository CUDA image instead of shared build infrastructure (#10) Assisted-by: Codex Signed-off-by: cyy <[email protected]>
cyyever
added a commit
that referenced
this pull request
Oct 31, 2026
Allow explicit BakeLab runners in reusable Linux CI (#6) * Allow explicit BakeLab runners in reusable Linux CI The reusable Linux jobs reject BakeLab because they only admit the pytorch organization, and the test job always uses upstream matrix runner labels. Allow BakeLab/pytorch when the caller explicitly supplies runner-labels and use those labels for scheduling. Preserve existing upstream defaults. Authored with an AI assistant at the repository maintainer's request. Test Plan ```sh git diff --check lintrunner -a ``` The whitespace check passed. lintrunner could not run because it is not installed; spin and a local virtual environment are also absent. No live GitHub/Gitea workflow or GPU task was executed. * Remove BakeLab CI documentation at maintainer request Keep this PR focused on the two reusable Linux workflow changes. Authored with an AI assistant. Test Plan ```sh git diff --check lintrunner -a ``` Whitespace validation passed. lintrunner remains unavailable in this checkout. Run trim CUDA CI in the repository build image [CI] Test triggering trim commit through shared CUDA infrastructure (#9) Assisted-by: Codex Signed-off-by: cyy <[email protected]> [CI] Use the repository CUDA image instead of shared build infrastructure (#10) Assisted-by: Codex Signed-off-by: cyy <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary (human written only)
Agent details (AI-generated)
The reusable Linux build/test jobs currently skip BakeLab/pytorch, and their default runner selection follows upstream infrastructure. Add an optional
runner-labelsJSON array (for example["bb", "cuda"]) that explicitly enables these jobs for BakeLab/pytorch and overrides build prefix/runner or test matrix routing. Existing upstream defaults and the exclusion of other forks are preserved.The PR targets
trimand changes only the two reusable workflow files. A central workflow can pass the runner labels. Use a separate invocation for each hardware class: the override applies to every test shard.Validation:
git diff --checkpassed.lintrunner -awas attempted but unavailable; this checkout has no spin, lintrunner, or virtual environment. No live workflow or CUDA workload was run.Scope: this does not enable the existing pull/trunk entry points, register runners, or resolve hard-coded GitHub APIs, upstream container/artifact dependencies, mirror triggers, or CUDA architecture selection. It only removes the two reusable-job admission/routing blockers. No PyTorch runtime API changes.