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

Torchfx dynamic shapes split slice support #25172

Open
wants to merge 20 commits into
base: master
Choose a base branch
from

Conversation

cavusmustafa
Copy link
Contributor

@cavusmustafa cavusmustafa commented Jun 22, 2024

Details:

  • Split and slice op translations updated for dynamic shape requirements
  • Impacts ChatGLM variants

Tickets:

@github-actions github-actions bot added category: Python API OpenVINO Python bindings category: CPP API OpenVINO CPP API bindings category: PyTorch FE OpenVINO PyTorch Frontend labels Jun 22, 2024
@cavusmustafa cavusmustafa marked this pull request as ready for review June 24, 2024 05:43
@cavusmustafa cavusmustafa requested review from a team as code owners June 24, 2024 05:43
@@ -316,6 +316,9 @@ def _raw_input(self, index):
def num_of_outputs(self):
return len(self.outputs())

def num_of_users(self):
return len(self.pt_module.users)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if each output of split is used more ten once? Will those uses be here too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: CPP API OpenVINO CPP API bindings category: Python API OpenVINO Python bindings category: PyTorch FE OpenVINO PyTorch Frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants