Repository navigation
[FIX] DynamicEmb: test_hier_dist checks no node that is not NCCL's team - #554
Merged
Merged
Conversation
…a node across Eos hosts Across nodes, check_node_size has every rank read a node of all the ranks, which the op's own communicator should refuse (its LSA check). Since NVIDIA#553, node_size refuses such a node first when NVLink does not join its hosts, as on Eos (two hosts over IB), and a sharding on "hierarchical" raises NVLinkCheckError. The check took no exception, so test_hier_dist.py failed on two Eos nodes (main's CI, eos-hier-2nodes). It now counts that refusal too. GB300's trays share an NVLink clique: there the op's LSA check refuses the node, as before. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: aleliu <[email protected]>
Contributor
[Low impact] The PR appears safe to merge. SummaryThe current PR removes the fake-node rejection test and updates its documentation; it does not change the library.
No actionable issues found. Distributed GPU tests were not run. Reviews (3) · Last reviewed commit: "[FIX] DynamicEmb: test_hier_dist checks ..." · Reviewed by Greptile |
…of the team, across nodes too check_node_size had every rank read a node that is not NCCL's team, to see the op's own communicator refuse it (its LSA check): on one node half of the team, across nodes every rank. On two Eos nodes the latter is a node of 16 GPUs across two hosts that only IB joins, which no run can have; since NVIDIA#553 node_size refuses it first (NVLinkCheckError), and the check failed. The previous commit took that refusal; this one drops it and reads half of the team across nodes too, inside the team's NVLink domain, whose nodes then talk over GIN: the op's LSA check refuses it, as the check means, or NCCL refuses its GIN first (the warning then says why). Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: aleliu <[email protected]>
check_node_size had every rank read a node size that NCCL never gives (half of the team on one node, every rank across nodes) and expected the op's own LSA check to refuse that node. No run has such a node: node_size and the op read the same team from NCCL. Across Eos nodes it was a node of 16 GPUs over IB, which since NVIDIA#553 node_size refuses first, and eos-hier-2nodes failed on it. The check goes, with its words in the docstrings and the design doc's section 18. The previous two commits' attempts to keep it are undone. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: aleliu <[email protected]>
This was referenced Nov 14, 2026
shijieliu
added a commit
to shijieliu/recsys-examples
that referenced
this pull request
Nov 16, 2026
Brings in main 4466f9d: NVIDIA#528 (hierarchical dist), NVIDIA#550, NVIDIA#553, NVIDIA#555, NVIDIA#478 (exportable embedding collections with NVE layers), NVIDIA#554 and NVIDIA#556. Conflicts: - corelib/dynamicemb/CMakeLists.txt: main (NVIDIA#478) adds the RPATH, NVE_ROOT and DYNAMICEMB_PYTHON_MODULE_DIR lines above the C++ standard; kept them, with this branch's C++20 (PyTorch 2.14's headers need it). - corelib/dynamicemb/setup.py: main's file. It already has this branch's CUDA_HOME import and sm_103-aware default archs (from NVIDIA#528); the conflict was only main's new `import torch` and `Extension` imports. - corelib/dynamicemb/README.md: main's new inference build section, after this branch's FBGEMM 1.9.0 / TorchRec 1.9.2 lines. docker/Dockerfile merged cleanly: NVIDIA#478's build stage rebuilds the default NVE from the submodule with the same pip command and settings as the devel stage, and builds torch_binding_build through the CMakeLists above. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: aleliu <[email protected]>
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.
Removes one check from
test_hier_dist.pythat #553 broke on two Eos nodes. Main's CI failedeos-hier-2nodeson it (JET job, pipeline #81873480).Why
check_node_sizehad one check, "the op refuses a node that is not the team". It made every rank read a node size that NCCL never gives:It then expected the op's own LSA check to refuse that node.
No run has such a node, because
node_sizeand the op read the same team from NCCL. Across two Eos nodes the fake node was 16 GPUs joined only by InfiniBand. Since #553node_sizerefuses that node first, withNVLinkCheckError, and the check failed on every rank.What changes
test_hier_dist.py's docstrings and the design doc's section 18.The branch's first two commits tried to keep the check, and its last commit undoes them, so the net diff only removes lines.
CI
Pipeline #81925198 ran this branch on the CI branch of distributed-recommender!144 (GB300's two trays as one node only). It ran only the image builds and the JET hier jobs; the computelab and benchmark jobs were cancelled, since they do not run
test_hier_dist.py.All passed:
eos-hier-2nodes: two nodes of 8, NVLink + IB; 400 checks, 0 failed, 21 min;eos-hier: one node, at 2, 4, 6 and 8 GPUs; 1316 checks, 0 failed;eos-hier-fwd-bwdandeos-hier-load-dump.🤖 Generated with Claude Code