Skip to content

Commit

Permalink
Delete duplicate lines (#606)
Browse files Browse the repository at this point in the history
  • Loading branch information
bofenghuang committed Sep 19, 2023
1 parent b53e777 commit aa656e0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/axolotl/utils/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,6 @@ def load_model(
LOG.info("patching _expand_mask")
hijack_expand_mask()

model_config = load_model_config(cfg)

# special handling b/c remote MixFormers code doesn't have _no_split_modules set
if (
"MixFormerSequentialConfig" in model_config.__class__.__name__
Expand Down

0 comments on commit aa656e0

Please sign in to comment.