Skip to content

Commit

Permalink
Get pg_name from record_param_comms for collectives
Browse files Browse the repository at this point in the history
  • Loading branch information
JoongunPark committed Nov 16, 2024
1 parent 65e2c00 commit 396bc6e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/converter/pytorch_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,8 @@ def get_protobuf_node_type_from_json_node(
if parent_node.name == "record_param_comms"
else parent_node.name
)
if parent_node.name == "record_param_comms" and parent_node.pg_name is not "":
json_node.pg_name = parent_node.pg_name
if "send" in keyword:
return COMM_SEND_NODE
if "recv" in keyword:
Expand Down

0 comments on commit 396bc6e

Please sign in to comment.