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

[PT FE] Support aten::concatenate #28518

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

mvafin
Copy link
Contributor

@mvafin mvafin commented Jan 17, 2025

Details:

  • Support aten::concatenate

Tickets:

@mvafin mvafin requested a review from eaidova January 17, 2025 13:39
@mvafin mvafin requested a review from a team as a code owner January 17, 2025 13:39
@mvafin mvafin requested a review from cavusmustafa January 17, 2025 13:39
@github-actions github-actions bot added the category: PyTorch FE OpenVINO PyTorch Frontend label Jan 17, 2025
@@ -425,6 +425,7 @@ const std::unordered_map<std::string, CreatorFunction> get_supported_ops_ts() {
{"aten::col2im", op::translate_col2im},
// aten::complex - Supported in limited set of patterns
{"aten::concat", op::translate_cat},
{"aten::concatenate", op::translate_cat},
Copy link
Member

Choose a reason for hiding this comment

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

how to reproduce such case in layer tests?

Copy link
Contributor

Choose a reason for hiding this comment

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

this is rare case, when something went wrong with normalization in tracing, I think this is difficult to catch such behaviour in layer test and we can trust to torch aliasing system that torch.concatenate is alias for torch.cat
https://github.com/pytorch/pytorch/blob/dbed747aae223d53ca4e22fe45c24d1d9a8b4432/torch/csrc/jit/passes/normalize_ops.cpp#L131

@eaidova eaidova added this pull request to the merge queue Jan 20, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 20, 2025
@eaidova eaidova added this pull request to the merge queue Jan 20, 2025
Merged via the queue into openvinotoolkit:master with commit d757efd Jan 20, 2025
181 checks passed
@mvafin mvafin deleted the mvafin/pt_fe/concatenate branch January 21, 2025 09:42
MirceaDan99 pushed a commit to MirceaDan99/openvino that referenced this pull request Jan 22, 2025
### Details:
 - *Support `aten::concatenate`*

### Tickets:
 - *CVS-160777*

Signed-off-by: Maxim Vafin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: PyTorch FE OpenVINO PyTorch Frontend
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants