code: def load_gguf_model(fpath: str, dtype: torch.dtype = torch.float):
      from .gguf import GGUFFileLoader
  
      loader = GGUFFileLoader(fpath)
      model_family = loader.config["general.architecture"]
      print("model_family:" + model_family)
      qtype = loader.config["general.file_type"]
  
      invalidInputError(
          qtype in qtype_map, f"Unsupported gguf quantize type: {qtype}"
      )
      low_bit = qtype_map.get(qtype, "sym_int4")
  
      with torch.no_grad():
          if model_family == "llama":
              general_name = loader.config["general.name"].lower()
              if "mixtral" in general_name:
                  # mixtral, which also enjoys a general architecture of llama
                  from .models.mixtral import load_gguf_mixtral
  
                  model, tokenizer = load_gguf_mixtral(loader, dtype)
              elif "mistral" in general_name:
                  from .models.mistral import load_gguf_mistral
  
                  model, tokenizer = load_gguf_mistral(loader, dtype)
              else:
                  from .models.llama import load_gguf_llama
  
                  model, tokenizer = load_gguf_llama(loader, dtype)
          elif model_family == "baichuan":
              from .models.baichuan import load_gguf_baichuan
  
              model, tokenizer = load_gguf_baichuan(loader, dtype)
          elif model_family == "bloom":
              from .models.bloom import load_gguf_bloom
  
              model, tokenizer = load_gguf_bloom(loader, dtype)
          elif model_family == "falcon":
              from .models.falcon import load_gguf_falcon
  
              model, tokenizer = load_gguf_falcon(loader, dtype)
          elif model_family == "mpt":
              from .models.mpt import load_gguf_mpt
  
              model, tokenizer = load_gguf_mpt(loader, dtype)
          else:
              invalidInputError(
                  False, f"Unsupported model family: {model_family}"
              )
  
          return model, tokenizer, low_bit
  
label_desc: Use image node_id 1 for calling a global function with example usage: load_gguf_model(fpath, dtype) and returns: model,  tokenizer,  low_bit