Update loader.py
This commit is contained in:
parent
b314837622
commit
afbb140a79
1 changed files with 1 additions and 1 deletions
|
|
@ -192,7 +192,7 @@ class FastLanguageModel(FastLlamaModel):
|
|||
pass
|
||||
|
||||
# Cannot be both!
|
||||
if is_model and is_peft:
|
||||
if (is_model and is_peft) and not SUPPORTS_LLAMA32:
|
||||
raise RuntimeError(
|
||||
"Unsloth: Your repo has a LoRA adapter and a base model.\n"\
|
||||
"You have 2 files `config.json` and `adapter_config.json`.\n"\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue