Repository navigation
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/185265
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ⏳ No Failures, 1 PendingAs of commit 5c5b927 with merge base 9b44968 ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
Remove both entry points that materialize mem-leak-check shards: - `mem_leak_check` in `SUPPORTED_PERIODICAL_MODES`, used by the 29 8 * * * schedule. - The `enable-mem-leak-check` PR label path in `perform_misc_tasks`. Also drop the now-orphaned `is_cuda_or_rocm_job` / `MEM_LEAK_LABEL` and the dead `matrix.mem_leak_check` guards in the `_*-test.yml` workflows. In-tree `PYTORCH_TEST_CUDA_MEM_LEAK_CHECK` plumbing is left alone so local runs and the slow-gradcheck workaround still work. Test Plan: ``` python -m pytest .github/scripts/test_filter_test_configs.py -x -q ``` All 11 tests pass. Authored by Claude.
6fd553c to
5c5b927
Compare
|
@soulitzer Wdyt about this change? @janeyx99 points out to me that you might still need this |
|
@pytorchbot merge -f 'CI only tweak' |
Merge startedYour change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes). Please use Learn more about merging in the wiki. Questions? Feedback? Please reach out to the PyTorch DevX Team |
|
@huydhn this sounds good! I don't remember if this caught anything useful, although I might've just forgotten lol |
## Summary
`mem_leak_check` is not pulling its weight on CI (10h timeout jobs, mostly flaky/noisy results). This PR removes both ways it gets scheduled:
- `mem_leak_check` in `SUPPORTED_PERIODICAL_MODES` (the `29 8 * * *` schedule).
- The `enable-mem-leak-check` PR label path in `perform_misc_tasks`.
Also cleans up the now-dead `matrix.mem_leak_check` guards in `_{linux,mac,win,rocm,xpu}-test.yml` and the orphaned `is_cuda_or_rocm_job` helper / `MEM_LEAK_LABEL` constant.
`PYTORCH_TEST_CUDA_MEM_LEAK_CHECK` plumbing in `torch/testing/_internal/common_utils.py`, `tools/testing/...`, and the slow-gradcheck branch in `.ci/pytorch/test.sh` are intentionally untouched so local runs still work.
## Test plan
- [x] `python -m pytest .github/scripts/test_filter_test_configs.py -x -q` — all 11 pass.
- [ ] Next `29 8 * * *` `periodic` run no longer schedules mem-leak-check shards.
Authored by Claude.
Pull Request resolved: #185265
Approved by: https://github.com/malfet
## Summary
`mem_leak_check` is not pulling its weight on CI (10h timeout jobs, mostly flaky/noisy results). This PR removes both ways it gets scheduled:
- `mem_leak_check` in `SUPPORTED_PERIODICAL_MODES` (the `29 8 * * *` schedule).
- The `enable-mem-leak-check` PR label path in `perform_misc_tasks`.
Also cleans up the now-dead `matrix.mem_leak_check` guards in `_{linux,mac,win,rocm,xpu}-test.yml` and the orphaned `is_cuda_or_rocm_job` helper / `MEM_LEAK_LABEL` constant.
`PYTORCH_TEST_CUDA_MEM_LEAK_CHECK` plumbing in `torch/testing/_internal/common_utils.py`, `tools/testing/...`, and the slow-gradcheck branch in `.ci/pytorch/test.sh` are intentionally untouched so local runs still work.
## Test plan
- [x] `python -m pytest .github/scripts/test_filter_test_configs.py -x -q` — all 11 pass.
- [ ] Next `29 8 * * *` `periodic` run no longer schedules mem-leak-check shards.
Authored by Claude.
Pull Request resolved: pytorch#185265
Approved by: https://github.com/malfet
## Summary
`mem_leak_check` is not pulling its weight on CI (10h timeout jobs, mostly flaky/noisy results). This PR removes both ways it gets scheduled:
- `mem_leak_check` in `SUPPORTED_PERIODICAL_MODES` (the `29 8 * * *` schedule).
- The `enable-mem-leak-check` PR label path in `perform_misc_tasks`.
Also cleans up the now-dead `matrix.mem_leak_check` guards in `_{linux,mac,win,rocm,xpu}-test.yml` and the orphaned `is_cuda_or_rocm_job` helper / `MEM_LEAK_LABEL` constant.
`PYTORCH_TEST_CUDA_MEM_LEAK_CHECK` plumbing in `torch/testing/_internal/common_utils.py`, `tools/testing/...`, and the slow-gradcheck branch in `.ci/pytorch/test.sh` are intentionally untouched so local runs still work.
## Test plan
- [x] `python -m pytest .github/scripts/test_filter_test_configs.py -x -q` — all 11 pass.
- [ ] Next `29 8 * * *` `periodic` run no longer schedules mem-leak-check shards.
Authored by Claude.
Pull Request resolved: pytorch#185265
Approved by: https://github.com/malfet
## Summary
`mem_leak_check` is not pulling its weight on CI (10h timeout jobs, mostly flaky/noisy results). This PR removes both ways it gets scheduled:
- `mem_leak_check` in `SUPPORTED_PERIODICAL_MODES` (the `29 8 * * *` schedule).
- The `enable-mem-leak-check` PR label path in `perform_misc_tasks`.
Also cleans up the now-dead `matrix.mem_leak_check` guards in `_{linux,mac,win,rocm,xpu}-test.yml` and the orphaned `is_cuda_or_rocm_job` helper / `MEM_LEAK_LABEL` constant.
`PYTORCH_TEST_CUDA_MEM_LEAK_CHECK` plumbing in `torch/testing/_internal/common_utils.py`, `tools/testing/...`, and the slow-gradcheck branch in `.ci/pytorch/test.sh` are intentionally untouched so local runs still work.
## Test plan
- [x] `python -m pytest .github/scripts/test_filter_test_configs.py -x -q` — all 11 pass.
- [ ] Next `29 8 * * *` `periodic` run no longer schedules mem-leak-check shards.
Authored by Claude.
Pull Request resolved: pytorch#185265
Approved by: https://github.com/malfet
Summary
mem_leak_checkis not pulling its weight on CI (10h timeout jobs, mostly flaky/noisy results). This PR removes both ways it gets scheduled:mem_leak_checkinSUPPORTED_PERIODICAL_MODES(the29 8 * * *schedule).enable-mem-leak-checkPR label path inperform_misc_tasks.Also cleans up the now-dead
matrix.mem_leak_checkguards in_{linux,mac,win,rocm,xpu}-test.ymland the orphanedis_cuda_or_rocm_jobhelper /MEM_LEAK_LABELconstant.PYTORCH_TEST_CUDA_MEM_LEAK_CHECKplumbing intorch/testing/_internal/common_utils.py,tools/testing/..., and the slow-gradcheck branch in.ci/pytorch/test.share intentionally untouched so local runs still work.Test plan
python -m pytest .github/scripts/test_filter_test_configs.py -x -q— all 11 pass.29 8 * * *periodicrun no longer schedules mem-leak-check shards.Authored by Claude.