Skip to content

Commit e2b3225

Browse files
Apply suggestions from code review
Co-authored-by: Deependu <[email protected]>
1 parent 0418a82 commit e2b3225

File tree

1 file changed

+2
-2
lines changed
  • src/lightning/fabric/utilities

1 file changed

+2
-2
lines changed

src/lightning/fabric/utilities/seed.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ def seed_everything(seed: Optional[int] = None, workers: bool = False, verbose:
2727
Args:
2828
seed: the integer value seed for global random state in Lightning.
2929
If ``None``, it will read the seed from ``PL_GLOBAL_SEED`` env variable. If ``None`` and the
30-
``PL_GLOBAL_SEED`` env variable is not set, then the seed defaults to 0. If the seed is provided
31-
but is not in bounds or cannot be cast to int, a ValueError is raised.
30+
``PL_GLOBAL_SEED`` env variable is not set, then the seed defaults to 0. If seed is
31+
not in bounds or cannot be cast to int, a ValueError is raised.
3232
workers: if set to ``True``, will properly configure all dataloaders passed to the
3333
Trainer with a ``worker_init_fn``. If the user already provides such a function
3434
for their dataloaders, setting this argument will have no influence. See also:

0 commit comments

Comments
 (0)