Skip to content

[NPUW] Added possibility to mock ov::npuw::CompiledModel#34737

Open
AsyaPronina wants to merge 2 commits intoopenvinotoolkit:masterfrom
AsyaPronina:mock_npuw_compiled_model
Open

[NPUW] Added possibility to mock ov::npuw::CompiledModel#34737
AsyaPronina wants to merge 2 commits intoopenvinotoolkit:masterfrom
AsyaPronina:mock_npuw_compiled_model

Conversation

@AsyaPronina
Copy link
Contributor

@AsyaPronina AsyaPronina commented Mar 16, 2026

Details:

Tickets:

AI Assistance:

  • AI assistance used: not yet

@AsyaPronina AsyaPronina requested review from a team as code owners March 16, 2026 19:55
@github-actions github-actions bot added category: build OpenVINO cmake script / infra category: NPU OpenVINO NPU plugin category: NPUW NPUW plugin labels Mar 16, 2026
@AsyaPronina AsyaPronina force-pushed the mock_npuw_compiled_model branch from 3ecdfba to 827934b Compare March 18, 2026 02:17
void store_const_offsets(const std::shared_ptr<ov::Model>& model);

void finalize_weights_bank();
std::shared_ptr<weights::Bank> get_weights_bank() const override;
Copy link
Contributor

Choose a reason for hiding this comment

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

are those set/getters part of tests? would be good to separate it by either interface or dependency injector/observer to reduce API changes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They are part of LLMCompiledModel calls, previously weights_bank was accessed directly due to friendships relationship.

@AsyaPronina AsyaPronina force-pushed the mock_npuw_compiled_model branch 11 times, most recently from 9e0d2e2 to 7d17605 Compare March 18, 2026 19:25
@AsyaPronina AsyaPronina force-pushed the mock_npuw_compiled_model branch from 7d17605 to bba601b Compare March 18, 2026 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: build OpenVINO cmake script / infra category: NPU OpenVINO NPU plugin category: NPUW NPUW plugin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants