Skip to content

Commit f0b2645

Browse files
committed
Add a comment
1 parent 7da742e commit f0b2645

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/LoRA.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ def add_lora_to_model(lora_name):
1313
print("Reloading the model to remove the LoRA...")
1414
shared.model, shared.tokenizer = load_model(shared.model_name)
1515
else:
16+
# Why doesn't this work in 16-bit mode?
1617
print(f"Adding the LoRA {lora_name} to the model...")
1718
shared.model = PeftModel.from_pretrained(shared.model, Path(f"loras/{lora_name}"))

0 commit comments

Comments
 (0)