Repository navigation
Conversation
kapilsh
marked this pull request as ready for review
November 22, 2026 14:30
kapilsh
force-pushed
the
symmem/group-name
branch
from
November 26, 2026 11:32
e193b19 to
db12243
Compare
kapilsh
requested review from
brandondfeng,
d4l3k,
dolpm and
tushar00jain
as code owners
November 26, 2026 11:32
CI ran pytest with no time limit for each test. A test that hung blocked the GPU job until the 60-minute job timeout, and the log did not show which test hung. The dev dependency group now includes pytest-timeout, and [tool.pytest.ini_options] sets timeout = 120. A test that runs for more than 120 seconds fails, and pytest shows its stack. This applies to the CI jobs and to local runs. Test plan: - pytest shows "timeout: 120.0s" without the --timeout option. test_ipc_fd.py: 9 passed. - uv 0.13.9: uv lock --check passes. - lintrunner: no issues.
Mirrors PyTorch #199972 (hdl.group_name). SymmMemHandle gains group_name, a weakref to the process group and the group's timeout. _resolve_timeout reads the timeout from the handle and returns 0 (unbounded) once the group is gone, replacing the _group_timeout_ms map keyed by communicator pointer. Tests cover the world group, subgroups (by object, by name, single-rank) and the timeout lapsing when its group is destroyed.
kapilsh
force-pushed
the
symmem/group-name
branch
from
November 27, 2026 11:10
db12243 to
99cf029
Compare
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
Test plan