code: def get_bytesize(bytes):
      """
      Scale bytes to its proper format ( B / KB / MB / GB / TB / PB )
      """
      factor = 1024
      for unit in ["B", "KB", "MB", "GB", "TB", "PB"]:
          if bytes < factor:
              return str(format(bytes, ".2f")) + unit
          bytes /= factor
  
file_path: BigDL/python/chronos/src/bigdl/chronos/benchmark/utils_env.py
imports: import os
  import subprocess
  import warnings
  from bigdl.nano.utils.common import schedule_workers
  from bigdl.nano.utils.common import _find_library
label_desc: Use image node_id 1 for calling a global function with example usage: get_bytesize(bytes) and returns: unknown