Skip to content

Commit

Permalink
Update trainer_builder.py
Browse files Browse the repository at this point in the history
  • Loading branch information
NanoCode012 authored Mar 16, 2024
1 parent c7a9e76 commit 34211ff
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/axolotl/core/trainer_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -837,10 +837,6 @@ def build(self, total_num_steps):
training_arguments_kwargs[
"gradient_checkpointing_kwargs"
] = self.cfg.gradient_checkpointing_kwargs
else:
training_arguments_kwargs["gradient_checkpointing_kwargs"] = {
"use_reentrant": False
}
if self.cfg.fsdp:
training_arguments_kwargs["fsdp"] = self.cfg.fsdp
if self.cfg.fsdp_config:
Expand Down

0 comments on commit 34211ff

Please sign in to comment.