Skip to content

Commit

Permalink
Fix typo (#1231) [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
xhedit authored Jan 31, 2024
1 parent 4cb7900 commit 8608d80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/axolotl/utils/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ def load_llama_adapter(model, cfg):
)

if cfg.lora_model_dir:
LOG.debug("Loading pretained PEFT - llama_adapter")
LOG.debug("Loading pretrained PEFT - llama_adapter")
model = PeftModel.from_pretrained(
model,
cfg.lora_model_dir,
Expand Down Expand Up @@ -825,7 +825,7 @@ def load_lora(model, cfg, inference=False, config_only=False):
return None, lora_config

if cfg.lora_model_dir:
LOG.debug("Loading pretained PEFT - LoRA")
LOG.debug("Loading pretrained PEFT - LoRA")
model_kwargs: Any = {}
if cfg.lora_on_cpu:
model_kwargs["max_memory"] = {"cpu": "256GiB"}
Expand Down

0 comments on commit 8608d80

Please sign in to comment.