[Distributed][HCCL] Harden all_to_all_single split validation and add 2/4/8-card tests#2757
Merged
lvyufeng merged 7 commits intoMar 8, 2026
Conversation
lvyufeng
force-pushed
the
feat/distributed-split-group-parent-seq
branch
from
March 8, 2026 07:05
56a14c5 to
9b24d6e
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
all_to_all_singlesplit validation to use store-synchronized call sequencing and full matrix consistency checks before dispatch.all_to_all_singlemulticard coverage to2/4/8for both async unequal semantics and invalid split validation, with transient init retry handling.Key Changes
src/mindtorch_v2/distributed/__init__.pytests/mindtorch_v2/test_hccl_all_to_all_single_async_unequal_multicard.pytests/mindtorch_v2/test_hccl_all_to_all_single_invalid_splits_multicard.pyTest Plan
PYTHONPATH=/usr/local/Ascend/ascend-toolkit/latest/python/site-packages:src pytest -q tests/mindtorch_v2/test_hccl_all_to_all_single_invalid_splits_multicard.pyPYTHONPATH=/usr/local/Ascend/ascend-toolkit/latest/python/site-packages:src pytest -q tests/mindtorch_v2/test_hccl_all_to_all_single_async_unequal_multicard.pyPYTHONPATH=/usr/local/Ascend/ascend-toolkit/latest/python/site-packages:src python tests/mindtorch_v2/test_hccl_all_to_all_multicard.pyPYTHONPATH=/usr/local/Ascend/ascend-toolkit/latest/python/site-packages:src pytest -q tests/mindtorch_v2/test_hccl_mvp_multicard.pyPYTHONPATH=src pytest -q tests/mindtorch_v2/contract/test_schema_registration_order.py tests/mindtorch_v2/contract/test_schema_coverage.pyNotes