[Fix] Enhance DP Attention for IPv6 Compatibility (#4937)

This commit is contained in:
Lucius
2025-04-21 15:44:11 +08:00
committed by GitHub
parent 57131dd955
commit 3b6d539f63

View File

@@ -942,6 +942,8 @@ def get_zmq_socket(
buf_size = -1
socket = context.socket(socket_type)
if endpoint.find("[") != -1:
socket.setsockopt(zmq.IPV6, 1)
def set_send_opt():
socket.setsockopt(zmq.SNDHWM, 0)