code: def main(args):
      if not os.path.exists(fname_inp):
          raise RuntimeError(f"Input file does not exist ({fname_inp})")
      if os.path.exists(fname_out):
          raise RuntimeError(
              f"Output file already exists ({fname_out})"
          )
      fname_inp = args.fname_inp.encode("utf-8")
      fname_out = args.fname_out.encode("utf-8")
      itype = args.itype
      return_code = llama_cpp.llama_model_quantize(
          fname_inp, fname_out, itype
      )
      if return_code != 0:
          raise RuntimeError("Failed to quantize model")
  
imports: import os
  import argparse
  import llama_cpp
label_desc: Use image node_id 1 for calling a global function with example usage: main(args) without return types