vllm.distributed.device_communicators.xpu_communicator
¶
Classes:
XpuCommunicator
¶
Bases: DeviceCommunicatorBase
Methods:
-
combine–Combine the hidden states and router logits from the appropriate device.
-
dispatch–Dispatch the hidden states and topk weights/ids to the appropriate device.
-
dispatch_router_logits–Dispatch the hidden states and router logits to the appropriate device.
combine(hidden_states, is_sequence_parallel=False)
¶
Combine the hidden states and router logits from the appropriate device. This is a no-op in the base class.
dispatch(hidden_states, topk_weights, topk_ids, is_sequence_parallel=False, extra_tensors=None)
¶
Dispatch the hidden states and topk weights/ids to the appropriate device. This is a no-op in the base class.
dispatch_router_logits(hidden_states, router_logits, is_sequence_parallel=False, extra_tensors=None)
¶
Dispatch the hidden states and router logits to the appropriate device. This is a no-op in the base class.