Skip to content

Commit

Permalink
Fix bug preventing model_kwargs being injected (#1262)
Browse files Browse the repository at this point in the history
  • Loading branch information
zacbrannelly authored Feb 7, 2024
1 parent 1c7ed26 commit 73f1bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/axolotl/utils/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ def load_model(
model_kwargs: Dict[str, Any] = {}

if cfg.model_kwargs:
for key, val in model_kwargs.items():
for key, val in cfg.model_kwargs.items():
model_kwargs[key] = val

max_memory = cfg.max_memory
Expand Down

0 comments on commit 73f1bda

Please sign in to comment.