Skip to content

Commit

Permalink
Apply isort and black reformatting
Browse files Browse the repository at this point in the history
Signed-off-by: ananthsub <[email protected]>
  • Loading branch information
ananthsub committed Nov 25, 2024
1 parent d9e8296 commit 6a18aec
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion nemo/utils/callbacks/preemption.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@
from nemo.utils.decorators import deprecated


@deprecated(explanation="nemo.utils.callbacks.preemption.PreemptionCallback is deprecated in favor of nemo.lightning.pytorch.callbacks.preemption.PreemptionCallback")
@deprecated(
explanation="nemo.utils.callbacks.preemption.PreemptionCallback is deprecated in favor of nemo.lightning.pytorch.callbacks.preemption.PreemptionCallback"
)
class PreemptionCallback(Callback):
"""
PreemptionCallback class creates a callback that checks for preemption during training at the end of every step.
Expand Down

0 comments on commit 6a18aec

Please sign in to comment.