Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
fairscale
Commits
ccda8bd0
Unverified
Commit
ccda8bd0
authored
Mar 09, 2021
by
Benjamin Lefaudeux
Committed by
GitHub
Mar 09, 2021
Browse files
[docs] OSS/SDP minor, clarifying a confusing line in the docs #477 (#505)
parent
9c4e6d1a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
docs/source/tutorials/oss.rst
docs/source/tutorials/oss.rst
+2
-1
No files found.
docs/source/tutorials/oss.rst
View file @
ccda8bd0
...
@@ -94,7 +94,8 @@ DDP can be used in place of ShardedDDP in the example below, but the memory savi
...
@@ -94,7 +94,8 @@ DDP can be used in place of ShardedDDP in the example below, but the memory savi
optimizer.step()
optimizer.step()
The above `train` function will then need to be run via a `multiprocessing.spawn` function.
The above `train` function can then be run via a `multiprocessing.spawn` call. Note that any launcher can be used,
the only assumption being that each of the ranks lives in its own python process.
.. code-block:: python
.. code-block:: python
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment