Skip to content

Commit

Permalink
fix pyfdanti error
Browse files Browse the repository at this point in the history
  • Loading branch information
samsja committed Oct 6, 2024
1 parent 0f3c413 commit a4317cf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/zeroband/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ def validate_path_and_interval(self):
if self.path is None and self.remote_path is not None:
raise ValueError("remote_path is set but path is not set")

return self


class Config(BaseConfig):
# main config
Expand All @@ -106,7 +104,6 @@ class Config(BaseConfig):
def live_reco_very_check(self):
if self.ckpt.live_recovery and self.diloco is None:
raise ValueError("Diloco must be set to use live recovery")
return self

@model_validator(mode="after")
def ckpt_diloco_step(self):
Expand Down

0 comments on commit a4317cf

Please sign in to comment.