Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion trl/extras/vllm_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,8 @@ def init_communicator(self, device: Union[torch.device, str, int] = 0):
else:
client_device_uuid = str(torch.cuda.get_device_properties(device).uuid)

# In the server side, the host is set to 0.0.0.0
# Set the weight update group's host to "0.0.0.0" so that
# clients from different IPs can send updated weights
response = self.session.post(
url,
json={
Expand Down
Loading