Skip to content

Commit 6bdd5f9

Browse files
authored
Merge branch 'main' into add-compiler-left-nav
2 parents 92d17b4 + 1437a21 commit 6bdd5f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

intermediate_source/dist_tuto.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ the following template.
7272
mp.get_context("spawn")
7373
else:
7474
mp.set_start_method("spawn")
75-
for rank in range(size):
75+
for rank in range(world_size):
7676
p = mp.Process(target=init_process, args=(rank, world_size, run))
7777
p.start()
7878
processes.append(p)

0 commit comments

Comments
 (0)