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
394794b1
Unverified
Commit
394794b1
authored
Dec 07, 2022
by
xiang song(charlie.song)
Committed by
GitHub
Dec 07, 2022
Browse files
Fix bug when feature_tid is empty (#4985)
Co-authored-by:
Xiang Song
<
xiangsx@amazon.com
>
parent
279e2e8f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tools/distpartitioning/data_shuffle.py
tools/distpartitioning/data_shuffle.py
+1
-1
No files found.
tools/distpartitioning/data_shuffle.py
View file @
394794b1
...
@@ -431,7 +431,7 @@ def exchange_features(rank, world_size, num_parts, feature_tids, type_id_map, id
...
@@ -431,7 +431,7 @@ def exchange_features(rank, world_size, num_parts, feature_tids, type_id_map, id
own_global_ids
)
own_global_ids
)
end
=
timer
()
end
=
timer
()
logging
.
info
(
f
'[Rank:
{
rank
}
] Total time for feature exchange
{
feat_key
}
:
{
timedelta
(
seconds
=
end
-
start
)
}
'
)
logging
.
info
(
f
'[Rank:
{
rank
}
] Total time for feature exchange:
{
timedelta
(
seconds
=
end
-
start
)
}
'
)
return
own_features
,
own_global_ids
return
own_features
,
own_global_ids
def
exchange_graph_data
(
rank
,
world_size
,
num_parts
,
node_features
,
edge_features
,
def
exchange_graph_data
(
rank
,
world_size
,
num_parts
,
node_features
,
edge_features
,
...
...
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