class_docstr: Ray actor. The code here will run in each node allocated by Ray.
code: def find_free_port(self):
      with closing(
          socket.socket(socket.AF_INET, socket.SOCK_STREAM)
      ) as s:
          s.bind(("", 0))
          s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
          return s.getsockname()[1]
  
file_path: ClassyVision/classy_vision/distributed/launch_ray.py
imports: import logging
  import os
  import socket
  import subprocess
  import sys
  import time
  from argparse import ArgumentParser, REMAINDER
  from contextlib import closing
  import ray
label_desc: Use image node_id 3 for calling the NodeLaunchActor obj's underlying member method code with example usage: obj.find_free_port() and returns: s