Skip to content

Commit 57081d2

Browse files
author
weijinqian
committed
handle clean code
Signed-off-by: weijinqian_v1 <weijinqian@huawei.com>
1 parent 567228e commit 57081d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ut/test_distributed_tensor_parallel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def test_gather_along_first_dim_unequal_split(self, test_tensor,
7272
output_split_sizes = [5, 10, 15, 2]
7373
result = _gather_along_first_dim(test_tensor, mock_group,
7474
output_split_sizes)
75-
self.assertEqual(result.shape, (32, 16)) # 5+10+15+2=32
75+
self.assertEqual(result.shape, (32, 16)) # 5+10+15+2=32
7676

7777
@pytest.mark.parametrize("world_size", [1, 4])
7878
def test_gather_along_last_dim(self, test_tensor_last_dim, mock_group,

0 commit comments

Comments
 (0)