Skip to content

Commit

Permalink
chore(script): remove redundant setting (#1411)
Browse files Browse the repository at this point in the history
  • Loading branch information
NanoCode012 authored Mar 16, 2024
1 parent d2b1d33 commit e407674
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/axolotl/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,6 @@ def train(
total_num_steps,
)

if hasattr(model, "config"):
model.config.use_cache = False

# go ahead and presave, so we have the adapter config available to inspect
if peft_config:
LOG.info(f"Pre-saving adapter config to {cfg.output_dir}")
Expand Down

0 comments on commit e407674

Please sign in to comment.