chore(script): remove redundant setting (#1411)
Browse files- src/axolotl/train.py +0 -3
src/axolotl/train.py
CHANGED
@@ -110,9 +110,6 @@ def train(
|
|
110 |
total_num_steps,
|
111 |
)
|
112 |
|
113 |
-
if hasattr(model, "config"):
|
114 |
-
model.config.use_cache = False
|
115 |
-
|
116 |
# go ahead and presave, so we have the adapter config available to inspect
|
117 |
if peft_config:
|
118 |
LOG.info(f"Pre-saving adapter config to {cfg.output_dir}")
|
|
|
110 |
total_num_steps,
|
111 |
)
|
112 |
|
|
|
|
|
|
|
113 |
# go ahead and presave, so we have the adapter config available to inspect
|
114 |
if peft_config:
|
115 |
LOG.info(f"Pre-saving adapter config to {cfg.output_dir}")
|