Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support newer PyTorch schema #177

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading