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

NPUW: Support generation & prefill configs extension for npuw::LLMCompiledModel #28413

Conversation

TolyaTalamanov
Copy link
Contributor

No description provided.

@TolyaTalamanov TolyaTalamanov requested review from a team as code owners January 13, 2025 13:54
@github-actions github-actions bot added category: NPU OpenVINO NPU plugin category: NPUW NPUW plugin labels Jan 13, 2025
Comment on lines 504 to 505
merge_config_with(prefill_config, prefill_config_addition_value);
merge_config_with(generate_config, generate_config_addition_value);
Copy link
Contributor

Choose a reason for hiding this comment

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

Are you sure about the order? Should other_props be taken in first?

Copy link
Contributor

Choose a reason for hiding this comment

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

Right argument has prevalence on the left, I think no issues are here

Copy link
Contributor

Choose a reason for hiding this comment

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

However, you are right, might be common options should be merged first and them more specific options should be updated

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Well, there is no ++ for common options, it's only applicable for PREFILL_CONFIG and GENERATE_CONFIG

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think I've got your point now...

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Contributor

@AsyaPronina AsyaPronina left a comment

Choose a reason for hiding this comment

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

Please fix Dmitry's comment

@dmatveev dmatveev added this to the 2025.0 milestone Jan 15, 2025
@dmatveev dmatveev self-assigned this Jan 15, 2025
@dmatveev dmatveev enabled auto-merge January 15, 2025 11:34
@dmatveev dmatveev added this pull request to the merge queue Jan 15, 2025
Merged via the queue into openvinotoolkit:master with commit 5c55539 Jan 15, 2025
161 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: NPU OpenVINO NPU plugin category: NPUW NPUW plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants