def METHOD_NAME(self, devices: List[DeviceType]):
    r"""
    Set local devices used by the TensorPipe RPC agent. When processing
    CUDA RPC requests, the TensorPipe RPC agent will properly synchronize
    CUDA streams for all devices in this ``List``.
    Args:
        devices (List of int, str, or torch.device): local devices used by
            the TensorPipe RPC agent.
    """
    self.devices = _to_device_list(devices)