Skip to content

Commit

Permalink
[FIX] Overlong lines
Browse files Browse the repository at this point in the history
  • Loading branch information
f-dangel committed Aug 26, 2024
1 parent 04d987c commit b10167a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wandb_preempt/checkpointer.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ def __init__(
run_id: A unique identifier for this run.
model: The model that is trained and checkpointed.
optimizer: The optimizer that is used for training and checkpointed.
lr_scheduler: The learning rate scheduler that is used for training. If `None`,
no learning rate scheduler is assumed. Default: `None`.
scaler: The gradient scaler that is used when training in mixed precision. If
`None`, no gradient scaler is assumed. Default: `None`.
lr_scheduler: The learning rate scheduler that is used for training. If
`None`, no learning rate scheduler is assumed. Default: `None`.
scaler: The gradient scaler that is used when training in mixed precision.
If `None`, no gradient scaler is assumed. Default: `None`.
savedir: Directory to store checkpoints in. Default: `'checkpoints'`.
verbose: Whether to print messages about saving and loading checkpoints.
Default: `False`
Expand Down

0 comments on commit b10167a

Please sign in to comment.