class_docstr: RPC configuration
  
  Parameters
  ----------
  tracker_host: str
      Host of the RPC Tracker
  tracker_port: int
      Port of the RPC Tracker
  tracker_key: str
      Key of the Tracker
  session_timeout_sec: float
      Timeout of the RPC session
  session_priority: int
      Priority of the RPC session
docstr: Connect to the tracker
  
  Returns
  -------
  tracker : TrackerSession
      The connected tracker session
docstr_tok: ["Connect","to","the","tracker","Returns","--","--","--","-","tracker",":","TrackerSession","The","connected","tracker","session"]
code: def connect_tracker(self) -> rpc.TrackerSession:
      """Connect to the tracker
  
      Returns
      -------
      tracker : TrackerSession
          The connected tracker session
      """
      tracker: Optional[rpc.TrackerSession] = None
  
      def _connect():
          nonlocal tracker
          tracker = rpc.connect_tracker(
              self.tracker_host, self.tracker_port
          )
  
      t = Thread(target=_connect)
      t.start()
      t.join(self.session_timeout_sec)
      if t.is_alive() or tracker is None:
          raise ValueError(
              "Unable to connect to the tracker using the following configuration:\n"
              f"    tracker host: {self.tracker_host}\n"
              f"    tracker port: {self.tracker_port}\n"
              f"    timeout (sec): {self.session_timeout_sec}\n"
              "Please check the tracker status via the following command:\n"
              "     python3 -m tvm.exec.query_rpc_tracker "
              f"--host {self.tracker_host} --port {self.tracker_port}"
          )
      return tracker
  
file_path: tvm/python/tvm/meta_schedule/runner/config.py
imports: import os
  from threading import Thread
  from typing import NamedTuple, Optional, Union
  from tvm import rpc
label_desc: Use image node_id 3 for calling the RPCConfig obj's underlying member method code with example usage: obj.connect_tracker() and returns: tracker