Skip to content

Commit

Permalink
Revert "[SW-199559] use native checkpointing under compile mode" (#1365)
Browse files Browse the repository at this point in the history
  • Loading branch information
xinyu-intel authored Sep 26, 2024
1 parent a4dbcff commit 29d8604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion optimum/habana/transformers/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -682,7 +682,7 @@ def _inner_training_loop(

import transformers.modeling_utils

if args.deepspeed and args.use_lazy_mode:
if args.deepspeed:
from deepspeed.runtime.activation_checkpointing.checkpointing import (
CheckpointFunction,
non_reentrant_checkpoint,
Expand Down

0 comments on commit 29d8604

Please sign in to comment.