Skip to content

Commit 614dad0

Browse files
committed
Remove unused import
1 parent a717fd7 commit 614dad0

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

modules/LoRA.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def add_lora_to_model(lora_name):
1010

1111
# Is there a more efficient way of returning to the base model?
1212
if lora_name == "None":
13-
print(f"Reloading the model to remove the LoRA...")
13+
print("Reloading the model to remove the LoRA...")
1414
shared.model, shared.tokenizer = load_model(shared.model_name)
1515
else:
1616
print(f"Adding the LoRA {lora_name} to the model...")

modules/models.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import torch
99
import transformers
1010
from accelerate import infer_auto_device_map, init_empty_weights
11-
from peft import PeftModel
1211
from transformers import (AutoConfig, AutoModelForCausalLM, AutoTokenizer,
1312
BitsAndBytesConfig)
1413

0 commit comments

Comments
 (0)