-
Notifications
You must be signed in to change notification settings - Fork 205
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
[LLM] [NPU] StaticLLMPipeline: support weightless caching #1635
base: master
Are you sure you want to change the base?
[LLM] [NPU] StaticLLMPipeline: support weightless caching #1635
Conversation
src/cpp/src/llm_pipeline_static.cpp
Outdated
std::shared_ptr<ov::CompiledModel> compiled; | ||
// CACHE_DIR + weightless flow support | ||
auto cache_mode = get_option<std::string>(config, "CACHE_MODE"); | ||
if (cache_mode.has_value() && *cache_mode == "OPTIMIZE_SIZE") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please, use enum comparison instead of strings
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
idk lgtm to me, should it be merged only after the openvino-side functionality is merged?
Related to openvinotoolkit/openvino#28469