Skip to content

Commit 15855ee

Browse files
abhilash1910jingxu10
authored andcommitted
Add line space
1 parent 05ab21a commit 15855ee

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

src/lightning/fabric/utilities/seed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def pl_worker_init_function(worker_id: int, rank: Optional[int] = None) -> None:
109109
random.seed(stdlib_seed)
110110

111111

112-
def _collect_rng_states(include_cuda: bool = True,include_xpu: bool = True) -> Dict[str, Any]:
112+
def _collect_rng_states(include_cuda: bool = True, include_xpu: bool = True) -> Dict[str, Any]:
113113
"""Collect the global random state of :mod:`torch`, :mod:`torch.cuda`, :mod:`numpy` and Python."""
114114
states = {
115115
"torch": torch.get_rng_state(),

0 commit comments

Comments
 (0)