bofenghuang commited on
Commit
aa656e0
1 Parent(s): b53e777

Delete duplicate lines (#606)

Browse files
Files changed (1) hide show
  1. src/axolotl/utils/models.py +0 -2
src/axolotl/utils/models.py CHANGED
@@ -175,8 +175,6 @@ def load_model(
175
  LOG.info("patching _expand_mask")
176
  hijack_expand_mask()
177
 
178
- model_config = load_model_config(cfg)
179
-
180
  # special handling b/c remote MixFormers code doesn't have _no_split_modules set
181
  if (
182
  "MixFormerSequentialConfig" in model_config.__class__.__name__
 
175
  LOG.info("patching _expand_mask")
176
  hijack_expand_mask()
177
 
 
 
178
  # special handling b/c remote MixFormers code doesn't have _no_split_modules set
179
  if (
180
  "MixFormerSequentialConfig" in model_config.__class__.__name__