Consolidate A100 CUDA CI jobs into shared batch runners#19922
Open
Gasoonjia wants to merge 1 commit into
Open
Conversation
Summary: Collapse the four A100 runners (per-model export + e2e for the two A100-only models) into two shared single-runner batch jobs driven by a shared config file. Each model is processed independently with per-model pass/fail reporting; a job is green only if all its models pass, and one model's failure never blocks another. - Add .ci/scripts/cuda_a100_models.txt: shared source of truth for which models need an A100 runner (one line per model). - Add .ci/scripts/export_model_artifact_batch.sh: loops the config, delegates to export_model_artifact.sh per model under set +e, writes per-model _status files + logs, prints a summary section (stdout + GITHUB_STEP_SUMMARY), emits ::error:: annotations, exits non-zero if any model failed. - Add .ci/scripts/test_model_e2e_batch.sh: runs install_requirements.sh once, reads each model's export status (skips with surfaced error if export failed), delegates to test_model_e2e.sh per model, prints the same style of summary, exits non-zero unless every model fully passed. - test_model_e2e.sh: add backward-compatible SKIP_INSTALL_REQUIREMENTS guard so the batch can run runtime setup once. - cuda.yml: remove the two SocialLocalMobile A100 models (and their exclude rows) from the per-cell export/e2e matrices and simplify those runners back to plain A10G; add new export-models-cuda-a100 and test-models-cuda-a100-e2e jobs on linux.aws.a100 (timeout 150). The e2e job uses if: always() so exported models are still tested on a partial export failure. Test Plan: - bash -n on all three scripts; cuda.yml has no editor diagnostics. - Local smoke tests of both batch orchestrators with stubbed per-model scripts: confirmed loop continues past failures, correct _status files, summaries, ::error:: + step-summary output, SKIP_INSTALL_REQUIREMENTS propagation, export-failed->skipped path, and exit codes (0 all-pass, 1 on any failure / empty / missing config).
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/19922
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 Cancelled Job, 3 Unclassified FailuresAs of commit c38e2ba with merge base 4469d84 ( UNCLASSIFIED FAILURES - DrCI could not classify the following jobs because the workflow did not run on the merge base. The failures may be pre-existing on trunk or introduced by this PR:
CANCELLED JOB - The following job was cancelled. Please retry:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
This PR needs a
|
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:
Collapse the four A100 runners (per-model export + e2e for the two A100-only models) into two shared single-runner batch jobs driven by a shared config file. Each model is processed independently with per-model pass/fail reporting; a job is green only if all its models pass, and one model's failure never blocks another.