Skip to content

Commit

Permalink
Merge pull request #177 from JoongunPark/minor
Browse files Browse the repository at this point in the history
Support newer PyTorch schema
  • Loading branch information
tushar-krishna authored Jan 30, 2025
2 parents 3309b1d + 2c646fb commit 5a5eebb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/converter/pytorch_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class PyTorchNode:
pg_name (str): Process Group name for the inter-GPU communication.
"""

SUPPORTED_VERSIONS = ["1.0.2-chakra.0.0.4", "1.0.3-chakra.0.0.4", "1.1.0-chakra.0.0.4"]
SUPPORTED_VERSIONS = ["1.0.2-chakra.0.0.4", "1.0.3-chakra.0.0.4", "1.1.0-chakra.0.0.4", "1.1.1-chakra.0.0.4"]

def __init__(self, schema: str, node_data: Dict[str, Any]) -> None:
"""
Expand Down Expand Up @@ -86,7 +86,7 @@ def parse_data(self, node_data: Dict[str, Any]) -> None:
node_data (Dict[str, Any]): The node data to be parsed.
"""
if self.schema in self.SUPPORTED_VERSIONS:
if self.schema in ["1.0.2-chakra.0.0.4", "1.0.3-chakra.0.0.4", "1.1.0-chakra.0.0.4"]:
if self.schema in ["1.0.2-chakra.0.0.4", "1.0.3-chakra.0.0.4", "1.1.0-chakra.0.0.4", "1.1.1-chakra.0.0.4"]:
self._parse_data_1_0_3_chakra_0_0_4(node_data)
else:
raise ValueError(
Expand Down

0 comments on commit 5a5eebb

Please sign in to comment.