"None", return the the id of the current worker. (default
      "None")
Returns:
      "WorkerInfo" instance for the given "worker_name" or
      "WorkerInfo" of the current worker if "worker_name" is "None".
torch.distributed.rpc.shutdown(graceful=True, timeout=0)
Perform a shutdown of the RPC agent, and then destroy the RPC
   agent. This stops the local agent from accepting outstanding
   requests, and shuts down the RPC framework by terminating all RPC
   threads. If "graceful=True", this will block until all local and
   remote RPC processes reach this method and wait for all outstanding
   work to complete. Otherwise, if "graceful=False", this is a local
   shutdown, and it does not wait for other RPC processes to reach
   this method.
Warning:
 For "Future" objects returned by "rpc_async()", "future.wait()"
 should not be called after "shutdown()".

Parameters:
      graceful (bool) -- Whether to do a graceful shutdown or