pytorch
40d54cf8 - Apply filter logic to disabled jobs dynamically (#95442)

Commit
1 year ago
Apply filter logic to disabled jobs dynamically (#95442) Apply filter logic to disabled jobs dynamically. The list of disabled jobs is published at https://ossci-metrics.s3.amazonaws.com/disabled-jobs.json. When the workflow (i.e. `pull`) and the platform (i.e. `linux-bionic-py3.8-clang9`) names match, job will be disabled (skipped) if they are in the list. Note that getting the current job name within the GitHub action is fairly hacky. This is a TODO item. ### Testing * Unit testing * This PR. https://github.com/pytorch/pytorch/issues/94861 disables `pull / linux-bionic-py3.8-clang9 / test (dynamo)` in the CI. We have: * No dynamo tests running in `pull / linux-bionic-py3.8-clang9` https://github.com/pytorch/pytorch/actions/runs/4272505289/jobs/7437706181 * Other dynamo tests, i.e. `pull / linux-bionic-py3.11-clang9`, are run normally https://github.com/pytorch/pytorch/actions/runs/4272505289/jobs/7437706054 * This PR. https://github.com/pytorch/pytorch/issues/95642 disables `pull / linux-bionic-cuda11.7-py3.10-gcc7-sm86 / test`. All test jobs for `pull / linux-bionic-cuda11.7-py3.10-gcc7-sm86` are skipped https://github.com/pytorch/pytorch/actions/runs/4287330986/jobs/7468179694 * This PR. https://github.com/pytorch/pytorch/issues/95656 disables `pull / linux-bionic-py3_8-clang8-xla / build`. All build and test jobs for `pull / linux-bionic-py3_8-clang8-xla` are skipped https://github.com/pytorch/pytorch/actions/runs/4287330986/jobs/7470478905 Pull Request resolved: https://github.com/pytorch/pytorch/pull/95442 Approved by: https://github.com/clee2000
Author
Committer
Parents
Loading