code: def bytes2human(in_bytes):
      """Convert bytes (int) to a human-readable string."""
      suffixes = ("B", "KB", "MB", "GB", "TB", "PB")
      suffix = 0
      result = int(in_bytes)
      while result > 9999 and suffix < len(suffixes):
          result = result >> 10
          suffix += 1
  
      if suffix >= len(suffixes):
          suffix -= 1
      return "%d%s" % (result, suffixes[suffix])
  
file_path: gpustat/gpustat/util.py
imports: import collections
  import os.path
  import sys
  import traceback
  from typing import Callable, Tuple, Type, TypeVar, Union
label_desc: Use image node_id 1 for calling a global function with example usage: bytes2human(in_bytes) and returns: unknown