Skip to content

Commit

Permalink
fix: typo
Browse files Browse the repository at this point in the history
  • Loading branch information
NanoCode012 committed Oct 28, 2024
1 parent da80360 commit b9c79f8
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 @@ -1106,7 +1106,7 @@ def load_model(self) -> Tuple[PreTrainedModel, Optional[PeftConfig]]:
if (
self.cfg.ddp
and not self.cfg.load_in_8bit
and not (self.cfg.rl and self.cfg.load_in_8bit)
and not (self.cfg.rl and self.cfg.load_in_4bit)
and not skip_move_to_device
):
# TODO revaldate this conditional
Expand Down

0 comments on commit b9c79f8

Please sign in to comment.