code: def find_fit_int_dtype(min_value, max_value):
      if min_value >= 0:
          if max_value <= 255:
              return np.uint8
          elif max_value <= 65535:
              return np.uint16
          elif max_value <= 4294967295:
              return np.uint32
          else:
              return np.uint64
      else:
          if max_value <= 127 and min_value >= -128:
              return np.int8
          elif max_value <= 32767 and min_value >= -32768:
              return np.int16
          elif max_value <= 2147483647 and min_value >= -2147483648:
              return np.int32
          else:
              return np.int64
  
file_path: DeepSpeed/deepspeed/runtime/data_pipeline/data_sampling/utils.py
imports: import math
  import numpy
  from deepspeed.utils import logger
  from .indexed_dataset import MMapIndexedDatasetBuilder
label_desc: Use image node_id 1 for calling a global function with example usage: find_fit_int_dtype(min_value, max_value) and returns: np, np, np, np, np, np, np, np