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
996a9364
Unverified
Commit
996a9364
authored
Mar 06, 2024
by
Andrei Ivanov
Committed by
GitHub
Mar 07, 2024
Browse files
[DistDGL] Fixing bug in `test_dist_objects` (#7179)
parent
3fd6a5d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
tests/dist/python/run_dist_objects.py
tests/dist/python/run_dist_objects.py
+0
-3
No files found.
tests/dist/python/run_dist_objects.py
View file @
996a9364
...
...
@@ -44,7 +44,6 @@ def run_server(
server_count
,
num_clients
,
shared_mem
,
keep_alive
=
False
,
):
# server_count = num_servers_per_machine
g
=
dgl
.
distributed
.
DistGraphServer
(
...
...
@@ -55,7 +54,6 @@ def run_server(
graph_path
+
"/{}.json"
.
format
(
graph_name
),
disable_shared_mem
=
not
shared_mem
,
graph_format
=
[
"csc"
,
"coo"
],
keep_alive
=
keep_alive
,
)
print
(
"start server"
,
server_id
)
g
.
start
()
...
...
@@ -774,7 +772,6 @@ if mode == "server":
server_count
=
num_servers_per_machine
,
num_clients
=
num_part
*
num_client_per_machine
,
shared_mem
=
shared_mem
,
keep_alive
=
False
,
)
elif
mode
==
"client"
:
os
.
environ
[
"DGL_NUM_SERVER"
]
=
str
(
num_servers_per_machine
)
...
...
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