Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiang Song committed Nov 30, 2023
1 parent fe8271c commit c1c6425
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/graphstorm/gconstruct/remap_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,8 @@ def _remove_inputs(with_shared_fs, files_to_remove,
os.remove(file)
else:
# Tell rank 0, rank n has finished its work.
open(os.path.join(work_dir, f"SUCC_pred_{rank}"), 'a').close()
with open(os.path.join(work_dir, f"SUCC_pred_{rank}"), 'a', encoding='utf-8'):
pass

def remap_node_emb(emb_ntypes, node_emb_dir,
output_dir, out_chunk_size,
Expand Down

0 comments on commit c1c6425

Please sign in to comment.