Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
12a193f2
Unverified
Commit
12a193f2
authored
Nov 26, 2020
by
Quan (Andy) Gan
Committed by
GitHub
Nov 26, 2020
Browse files
Update distributed.rst (#2249) (#2368)
Co-authored-by:
Hongyu Cai
<
h.tsai@hotmail.com
>
parent
6897f55a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
docs/source/guide/distributed.rst
docs/source/guide/distributed.rst
+2
-2
No files found.
docs/source/guide/distributed.rst
View file @
12a193f2
...
...
@@ -12,8 +12,8 @@ For the training script, DGL provides distributed APIs that are similar to the o
mini
-
batch
training
.
This
makes
distributed
training
require
only
small
code
modifications
from
mini
-
batch
training
on
a
single
machine
.
Below
shows
an
example
of
training
GraphSage
in
a
distributed
fashion
.
The
only
code
modifications
are
located
on
line
4
-
7
:
1
)
initialize
DGL
's distributed module, 2) create a distributed graph objec
t, and
3) split the training set and calculate the nodes for the local process.
1
)
initialize
DGL
's distributed module, 2) create a distributed graph objec
t, and
3) split the training set and calculate the nodes for the local process.
The rest of the code, including sampler creation, model definition, training loops
are the same as :ref:`mini-batch training <guide-minibatch>`.
...
...
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