We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 92d17b4 + 1437a21 commit 6bdd5f9Copy full SHA for 6bdd5f9
intermediate_source/dist_tuto.rst
@@ -72,7 +72,7 @@ the following template.
72
mp.get_context("spawn")
73
else:
74
mp.set_start_method("spawn")
75
- for rank in range(size):
+ for rank in range(world_size):
76
p = mp.Process(target=init_process, args=(rank, world_size, run))
77
p.start()
78
processes.append(p)
0 commit comments