code: def pretty_bytes(num, suffix="B"):
      for unit in ["", "K", "M", "G", "T", "P", "E", "Z", "Y"]:
          if abs(num) < 1024 or unit == "Y":
              return f"{num:.0f}{unit}{suffix}"
          num /= 1024
  
file_path: stable-diffusion-webui/modules/sysinfo.py
imports: import json
  import os
  import sys
  import platform
  import hashlib
  import pkg_resources
  import psutil
  import re
  import launch
  from modules import paths_internal, timer, shared, extensions, errors
label_desc: Use image node_id 1 for calling a global function with example usage: pretty_bytes(num, suffix) and returns: num, unit, suffix