Repository navigation
[Train] Delete the NCCLRASCallback in favor of the health API implementation - #68612
pseudo-rnd-thoughts wants to merge 1 commit into
Conversation
…mentation Signed-off-by: Mark Towers <[email protected]>
There was a problem hiding this comment.
Code Review
This pull request removes the deprecated NCCLRASCallback and its associated unit tests, updating references to the callback in comments, docstrings, and tests across the repository. A review comment correctly points out a build configuration issue in python/ray/train/v2/BUILD.bazel where the source file path for the renamed end-to-end test target is incorrect and missing the tests/ directory prefix, which would cause Bazel build failures.
| name = "test_nccl_ras_e2e_detection", | ||
| size = "large", | ||
| srcs = ["tests/test_nccl_ras_hang_detection.py"], | ||
| srcs = ["test_nccl_ras_e2e_detection.py"], |
There was a problem hiding this comment.
The source file has been renamed to tests/test_nccl_ras_e2e.py, but the srcs attribute here points to test_nccl_ras_e2e_detection.py without the tests/ directory prefix and with an incorrect filename. This will cause Bazel to fail to find the source file.
| srcs = ["test_nccl_ras_e2e_detection.py"], | |
| srcs = ["tests/test_nccl_ras_e2e.py"], |
Description
The
NCCLRASCallbackwas originally implemented in #64928 as a proof of concept for detecting NCCL hangs from pollingncclras. This implementation was a custom user callback running on the controller.At the same time, @liulehui was developing a more generic health API where user configured probes, evaluators and health checkers could be implemented. More recently, we've worked to merge the ncclras hang detector into the health API in #67916.
With that work now complete, this PR deletes the old callback version and all references such that the repo only has a single implementation.