Skip to content

Commit b64fe6f

Browse files
committed
fix indentation error
Signed-off-by: Bradley Davis <bradleyhd@meta.com>
1 parent 6cbf6c3 commit b64fe6f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

tests/distributed/test_eplb_execute.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,10 @@ def worker_fn_wrapper(fn, env):
5454
device = torch.device(f"cuda:{local_rank}")
5555
torch.cuda.set_device(device)
5656
init_distributed_environment()
57-
58-
# Ensure each worker process has the same random seed
59-
random.seed(42)
60-
torch.manual_seed(42)
61-
fn()
57+
# Ensure each worker process has the same random seed
58+
random.seed(42)
59+
torch.manual_seed(42)
60+
fn()
6261

6362
return worker_fn_wrapper
6463

0 commit comments

Comments
 (0)