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.
1 parent 0c4e82d commit a08b7f8Copy full SHA for a08b7f8
torch_xla/torch_xla.py
@@ -217,6 +217,18 @@ def launch(
217
):
218
""" Entry to launch multiprocess.
219
220
+ Args:
221
+ fn: The function to be called for each device which takes part of the
222
+ replication. The function will be called with a first argument being
223
+ the global index of the process within the replication, followed by the
224
+ arguments passed in `args`.
225
+ args: The arguments for `fn`.
226
+ Default: Empty tuple
227
+ start_method: The Python `multiprocessing` process creation method.
228
+ Default: `spawn`
229
+ debug_single_process: debug flag to run only in one process.
230
+ Default: False
231
+
232
Raises:
233
NotImplementedError: SPMD is not supported yet.
234
"""
0 commit comments