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

Update RopeFusion for qwen, gpt-j models to support new pattern SDPA to PA conversion #28512

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

Conversation

itikhono
Copy link
Contributor

Details:

Update RopeFusion for qwen, gpt-j models

Tickets:

@itikhono itikhono requested a review from a team as a code owner January 17, 2025 10:19
@github-actions github-actions bot added the category: transformations OpenVINO Runtime library - Transformations label Jan 17, 2025
@@ -844,8 +867,8 @@ ov::pass::RoPEFusionQwen::RoPEFusionQwen(int split_output_id) {
auto new_node = std::make_shared<op::internal::RoPE>(new_args, config);
new_node->set_friendly_name(old_node->get_friendly_name());
ov::copy_runtime_info({pattern_map.at(Multiply_567527).get_node_shared_ptr(),
pattern_map.at(ListUnpack_586_Squeeze_0).get_node_shared_ptr(),
pattern_map.at(ListUnpack_586_Squeeze).get_node_shared_ptr(),
// pattern_map.at(ListUnpack_586_Squeeze_0).get_node_shared_ptr(),
Copy link
Contributor Author

Choose a reason for hiding this comment

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

debug? need to double check

@itikhono itikhono changed the title Update RopeFusion for qwen, gpt-j models Update RopeFusion for qwen, gpt-j models to support new pattern SDPA to PA conversion Jan 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: transformations OpenVINO Runtime library - Transformations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant