Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
adefossez committed Oct 5, 2023
1 parent 1d6be76 commit 8e5d905
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion dora/shep.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ def register_preemption_callaback(callback: PreemptionCallback):
class _SubmitItTarget:
def __call__(self, main: DecoratedMain, argv: tp.Sequence[str], requeue: bool = True):
from .distrib import get_distrib_spec # this will import torch which can be quite slow.
xp = main.get_xp(argv)
self.requeue = requeue
spec = get_distrib_spec()
# We export the RANK as it can be used to customize logging early on
Expand Down

0 comments on commit 8e5d905

Please sign in to comment.