Skip to content

Commit c7f5a9d

Browse files
authored
Update intermediate_source/dist_tuto.rst
1 parent 8314642 commit c7f5a9d

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
@@ -73,7 +73,7 @@ the following template.
7373
else:
7474
mp.set_start_method("spawn")
7575
for rank in range(size):
76-
p = mp.Process(target=init_process, args=(rank, size, run))
76+
p = mp.Process(target=init_process, args=(rank, world_size, run))
7777
p.start()
7878
processes.append(p)
7979

0 commit comments

Comments
 (0)