code: def create_gloo_context(rank, world_size):
      """Create a GLOO context using GLOO APIs.
  
      Args:
          rank: the rank of this process.
          world_size: the number of processes of this collective group.
  
      Returns:
          context (pygloo.Context): a GLOO context.
      """
      context = pygloo.rendezvous.Context(rank, world_size)
      return context
  
imports: import asyncio
  import time
  from typing import List
  import numpy
  import ray
  import ray.experimental.internal_kv
  from ray._raylet import GcsClient
  from ray.util.collective.types import ReduceOp, torch_available
  from ray.util.queue import _QueueActor
label_desc: Use image node_id 1 for calling a global function with example usage: create_gloo_context(rank, world_size) and returns: context