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

Replace 'CACHE_DIR' with 'NPUW_CACHE_DIR' in StatefulLLMPipeline #1489

Conversation

AsyaPronina
Copy link
Contributor

Handle CACHE_DIR in StatefulLLMPipeline the same way as in StatelessLLMPipeline

@github-actions github-actions bot added the category: LLM LLM pipeline (stateful, static) label Jan 6, 2025
@@ -739,7 +739,10 @@ std::shared_ptr<ov::CompiledModel> StatefulLLMPipeline::setupAndCompileModel(

rename_key(pipeline_config, "PREFILL_CONFIG", "NPUW_LLM_PREFILL_CONFIG");
rename_key(pipeline_config, "GENERATE_CONFIG", "NPUW_LLM_GENERATE_CONFIG");


// Replace CACHE_DIR option if NPUW is enabled
Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe NPUW is always enabled for Stateful

@TolyaTalamanov TolyaTalamanov added this pull request to the merge queue Jan 7, 2025
@ilya-lavrenov ilya-lavrenov removed this pull request from the merge queue due to a manual request Jan 7, 2025
@ilya-lavrenov ilya-lavrenov merged commit db0fb9a into openvinotoolkit:master Jan 7, 2025
59 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: LLM LLM pipeline (stateful, static) category: NPU
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants