Skip to content

Commit ef3752e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent d114212 commit ef3752e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: scripts/save_batches.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@
1515
```
1616
1717
"""
18-
# This is needed to get multiprocessing/multiple workers to behave
18+
# This is needed to get multiprocessing/multiple workers to behave
1919
try:
2020
import torch.multiprocessing as mp
21-
mp.set_start_method('spawn', force=True)
21+
22+
mp.set_start_method("spawn", force=True)
2223
except RuntimeError:
2324
pass
2425

0 commit comments

Comments
 (0)