Update llama.py

This commit is contained in:
Daniel Han-Chen 2024-06-16 04:15:11 +10:00
commit 7f864dc8dd

View file

@ -1449,7 +1449,7 @@ class FastLlamaModel:
logger.warning(
"Unsloth: Already have LoRA adapters! We shall skip this step."
)
return
return model
else:
raise TypeError(
"Unsloth: Your model already has LoRA adapters. Your new parameters are different."