You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
is giving me the following error, can someone help me fix this?
`UnboundLocalError Traceback (most recent call last)
in <cell line: 11>()
9 # Save to q4_k_m GGUF
10 if False: model.save_pretrained_gguf("model", tokenizer, quantization_method = "q4_k_m")
---> 11 if True: model.push_to_hub_gguf("pyrotank41/llama_8b_lora_escrow_merged", tokenizer, quantization_method = "q4_k_m", token = hf_tokens)
1 frames
/usr/local/lib/python3.10/dist-packages/unsloth/save.py in save_to_gguf(model_type, model_directory, quantization_method, first_conversion, _run_installer)
845 _run_installer = None, # Non blocking install of llama.cpp
846 ):
--> 847 logger.warning(
848 "WARNING: llama.cpp GGUF conversion is currently unstable, since llama.cpp is\n"
849 "undergoing some major bug fixes as at 5th of May 2024. This is not an Unsloth issue.\n"\
UnboundLocalError: local variable 'logger' referenced before assignment`
The text was updated successfully, but these errors were encountered:
running the following code
model.push_to_hub_gguf("pyrotank41/llama_8b_lora_escrow_merged", tokenizer, quantization_method = "q4_k_m", token = hf_tokens)
in alpaca-llama-8b finetuing notebook
is giving me the following error, can someone help me fix this?
`UnboundLocalError Traceback (most recent call last)
in <cell line: 11>()
9 # Save to q4_k_m GGUF
10 if False: model.save_pretrained_gguf("model", tokenizer, quantization_method = "q4_k_m")
---> 11 if True: model.push_to_hub_gguf("pyrotank41/llama_8b_lora_escrow_merged", tokenizer, quantization_method = "q4_k_m", token = hf_tokens)
1 frames
/usr/local/lib/python3.10/dist-packages/unsloth/save.py in save_to_gguf(model_type, model_directory, quantization_method, first_conversion, _run_installer)
845 _run_installer = None, # Non blocking install of llama.cpp
846 ):
--> 847 logger.warning(
848 "WARNING: llama.cpp GGUF conversion is currently unstable, since llama.cpp is\n"
849 "undergoing some major bug fixes as at 5th of May 2024. This is not an Unsloth issue.\n"\
UnboundLocalError: local variable 'logger' referenced before assignment`
The text was updated successfully, but these errors were encountered: