Skip to content

Commit

Permalink
chore(script): remove redundant setting
Browse files Browse the repository at this point in the history
  • Loading branch information
NanoCode012 authored Mar 16, 2024
1 parent 8df7b88 commit 28aca18
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 28aca18

Please sign in to comment.