Conversation
Auto-merge Status✅ Internal CI is finished Description
|
| Relevant files | |||
|---|---|---|---|
| Enhancement |
|
PR Reviewer Guide
Here are some key observations to aid the review process:
| 🧪 PR contains tests |
| ⚡ No major issues detected |
Test failures
-
(High, 46)
NCCL NVLink-SHARP (NVLS) multicast binding failures across multidevice test suites (dlcluster_viking_ci)Test Name H100 (dist.) Source tests.python.multidevice.test_communication.test_allgather ❌ tests.python.multidevice.test_communication.test_allgather_expanded_broadcast ❌ tests.python.multidevice.test_communication.test_allreduce ❌ tests.python.multidevice.test_communication.test_reduce_scatter ❌ tests.python.multidevice.test_communication.test_reduce_scatter_noncontiguous ❌ tests.python.multidevice.test_dtensor.test_column_parallel_linear ❌ tests.python.multidevice.test_dtensor.test_plus_one ❌ tests.python.multidevice.test_dtensor.test_row_parallel_linear ❌ tests.python.multidevice.test_expert_parallel.test_dispatch_and_combine ❌ tests.python.multidevice.test_matmul.test_column_parallel_grouped_mm ❌ ... with 36 more test failures omitted. Check internal logs. -
(High, 1)
NCCL invalid usage error in multidevice overlap test (test_overlap_allgather_matmul_shard_outermost)Test Name H100 (dist.) Source tests.python.multidevice.test_overlap.test_overlap_allgather_matmul_shard_outermost[backend_type=CommunicatorBackend.cuda] ❌
| return "ndim_" + std::to_string(ndims) + "_inner_size_" + | ||
| std::to_string(inner_size); | ||
| }); | ||
| })); |
There was a problem hiding this comment.
The extra pair of parenthesis is the trick to allow structured bindings. I'm not sure about the reason -- it has something to do with C++ templates.
|
!test |
Greptile OverviewGreptile SummaryThis PR performs minor cleanups to test instantiation macros in
These changes improve code consistency and leverage C++20 features (project uses C++20 standard). The structured binding syntax is cleaner and more readable than explicit Confidence Score: 5/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant Dev as Developer
participant Test as Test Framework
participant GTest as GoogleTest
participant Code as Test Code
Note over Dev,Code: PR Changes: Modernize Test Instantiation
Dev->>Code: Remove ::testing:: prefix
Note right of Code: testing::Combine instead<br/>of ::testing::Combine
Dev->>Code: Replace std::get with structured bindings
Note right of Code: auto [ndims, inner_size] = info.param<br/>instead of std::get<0>(info.param)
Dev->>Code: Add lambda parentheses
Note right of Code: ([](const testing::TestParamInfo...) {...})<br/>Required for structured bindings
Test->>GTest: INSTANTIATE_TEST_SUITE_P
GTest->>Code: Call name generator lambda
Code->>Code: Unpack tuple with structured binding
Code->>GTest: Return test name string
GTest->>Test: Register parameterized tests
Note over Test,GTest: Tests run with cleaner,<br/>more readable code
|
No description provided.