code: def get_chunksize(input_path):
      """
      Calculate the appropriate chunksize for dask_cudf.read_csv
      to get a number of partitions equal to the number of GPUs.
  
      Examples
      --------
      >>> import cugraph.dask as dcg
      >>> chunksize = dcg.get_chunksize(datasets_path / 'netscience.csv')
  
      """
  
      import os
      from glob import glob
      import math
  
      input_files = sorted(glob(str(input_path)))
      if len(input_files) == 1:
          size = os.path.getsize(input_files[0])
          chunksize = math.ceil(size / get_n_workers())
      else:
          size = [os.path.getsize(_file) for _file in input_files]
          chunksize = max(size)
      return chunksize
  
label_desc: Use image node_id 2 for calling a global function with example usage: get_chunksize(input_path) and returns: chunksize