mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 03:15:20 +08:00
[CI] Fix tests/distributed/test_ca_buffer_sharing.py (#22849)
Signed-off-by: ilmarkov <imarkov@redhat.com> Co-authored-by: ilmarkov <imarkov@redhat.com> Co-authored-by: Wentao Ye <44945378+yewentao256@users.noreply.github.com>
This commit is contained in:
parent
b6af24fba7
commit
1d20c34717
@ -297,7 +297,7 @@ class CustomAllreduce:
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def free_shared_buffer(pointers: list[int],
|
def free_shared_buffer(pointers: list[int],
|
||||||
group: Optional[ProcessGroup] = None,
|
group: Optional[ProcessGroup] = None,
|
||||||
rank: Optional[int] = 0) -> None:
|
rank: Optional[int] = None) -> None:
|
||||||
if rank is None:
|
if rank is None:
|
||||||
rank = dist.get_rank(group=group)
|
rank = dist.get_rank(group=group)
|
||||||
if ops is not None:
|
if ops is not None:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user