Repository navigation
Conversation
✅ All Policy Checks Passed
📖 Need help? See the Policy FAQ for details on every check and how to fix failures. |
Member
Author
|
@argus review |
Member
Author
|
@argus review |
Member
Author
|
@argus re-review |
aduforest
force-pushed
the
users/aduforest/aicomrccl-2825-core-host-microtests
branch
from
October 13, 2026 18:00
33576d9 to
bb3814c
Compare
Member
Author
|
@argus review |
Contributor
There was a problem hiding this comment.
ARGUS
Findings
1 finding(s) that could not be posted as inline comments
projects/rccl/test/host/MICROTEST_README.md:802(Low) The README's two standalone-build binary lists still omit the new target The standalone-build binary list at MICROTEST_README.md:798-802 and the run block at MICROTEST_README.md:826-845 still omitrccl-UnitTestsMicroNcclDeviceCore, though CMakeLists.txt:1023 builds it on that path and both lists already carryrccl-UnitTestsMicroCe.
Bottom line: Looks approval ready; the remaining notes are all Low.
Comment @argus review to re-run, or @argus re-review after pushing.
aduforest
force-pushed
the
users/aduforest/aicomrccl-2825-core-host-microtests
branch
from
October 13, 2026 19:05
bb3814c to
fafd71e
Compare
Member
Author
|
@argus review |
Contributor
|
@aduforest the new head ( |
Member
Author
|
@argus review |
aduforest
marked this pull request as ready for review
October 13, 2026 23:16
- TeamRail_SuccessPath: avoid lsaSize^2 == nRanks so dividing by lsaSize can't be mistaken for reading it back directly. - HierMultimem/HierLsa mode tests: give the other mode's field a distinct non-zero value, so a swapped arm divides by a real (wrong) number instead of silently dividing by zero. - TeamRankToLsa: add a negative-offset case. - Fix header comment: 5 of 7 functions gate on ncclDevrInitOnce, not 6. - Drop the nccl_device EXTRA_INCLUDES entry: verified empirically (binary still builds and all tests pass without it) that core.cc does not need it; the stated reason didn't match core.cc's own include spelling.
rank=10 with lsaSize=4 gives 2 for both 10/4 and 10%4, so core.cc's rank division was unpinned. rank=9 keeps the expected 2 and makes % give 1. Co-Authored-By: Claude <noreply@anthropic.com>
…wnership wording, explicit yaml pattern Co-Authored-By: Claude <noreply@anthropic.com>
aduforest
force-pushed
the
users/aduforest/aicomrccl-2825-core-host-microtests
branch
from
October 14, 2026 18:27
253c0b5 to
854da50
Compare
Member
Author
|
@argus review |
…tests Shorten the MICROTEST_README entry, CMake comments and test-file comments to the length the other host microtests use. Comment and doc changes only. Co-Authored-By: Claude <noreply@anthropic.com>
dhanavikram
approved these changes
Oct 14, 2026
Member
Author
|
@argus review |
Give the binary its own test_categories_micro_<stem>.yaml and register it in ci-precheckin.json and test_executor.py's llvm-cov list, as MICROTEST_README's naming section requires, so the CI test runner and coverage pick it up. Rename to core-test.cc / rccl-UnitTestsMicroCore / CoreMicrotest per the rules. Co-Authored-By: Claude <noreply@anthropic.com>
Member
Author
|
@argus review |
1 similar comment
Member
Author
|
@argus review |
Member
Author
|
Folded into #13312 (one PR per Jira ticket, so AICOMRCCL-2825 runs CI once). Same commits, unchanged. |
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.
JIRA ID: AICOMRCCL-2825
What
Host-only microtests for
src/nccl_device/core.cc: thencclTeam*views and the world/LSA rank-translation helpers. Third PR in the AICOMRCCL-2825 stack.How
New binary
rccl-UnitTestsMicroCore(core-test.cc, suiteCoreMicrotest.*), becauserccl-UnitTestsMicroalready fakes five ofcore.cc's seven functions. It links the hookablencclDevrInitOnceinfakes/dev_runtime_fakes.cc, so both its success and failure paths are tested.Registered like every other microtest binary:
run_host_tests.sh, its owntest_categories_micro_core.yaml,ci-precheckin.json, and the llvm-cov list intest_executor.py.Coverage
7/7 functions, 55/55 lines, 32/32 regions, 16/16 branches.
Mutation Testing
7 mutations on the hipified source, all killed.
Test Plan
CoreMicrotest.*: 16/16, and 16/16 × 20 shuffled.rccl-UnitTestsMicroon develop: 1903/1903.ci-precheckin.jsonandtest_executor.py.🤖 Generated with Claude Code