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

Added blobs support for Static LLM pipeline #811

Merged

Conversation

AsyaPronina
Copy link
Contributor

Added support of importing blobs for StaticLLMPipeline

@AsyaPronina AsyaPronina force-pushed the support_blobs_for_llm_pipeline branch 3 times, most recently from c885b82 to be7066f Compare September 1, 2024 23:20
@AsyaPronina AsyaPronina force-pushed the support_blobs_for_llm_pipeline branch from be7066f to bf253f7 Compare September 1, 2024 23:24
src/cpp/src/llm_pipeline_static.cpp Outdated Show resolved Hide resolved
src/cpp/src/llm_pipeline_static.cpp Outdated Show resolved Hide resolved
src/cpp/src/llm_pipeline_static.cpp Outdated Show resolved Hide resolved
src/cpp/src/llm_pipeline_static.cpp Outdated Show resolved Hide resolved
src/cpp/src/llm_pipeline_static.cpp Outdated Show resolved Hide resolved
src/cpp/src/llm_pipeline_static.cpp Show resolved Hide resolved
src/cpp/src/llm_pipeline_static.cpp Outdated Show resolved Hide resolved
@ilya-lavrenov ilya-lavrenov self-assigned this Sep 3, 2024
@AsyaPronina AsyaPronina force-pushed the support_blobs_for_llm_pipeline branch 2 times, most recently from cf30b0e to 980eebf Compare September 3, 2024 23:36
src/cpp/src/llm_pipeline_static.cpp Outdated Show resolved Hide resolved
src/cpp/src/llm_pipeline_static.cpp Outdated Show resolved Hide resolved
src/cpp/src/llm_pipeline_static.cpp Outdated Show resolved Hide resolved
@TolyaTalamanov
Copy link
Collaborator

@ilya-lavrenov @Wovchena Could you have a look, please?

// (1) Check that neither MAX_PROMPT_LEN nor MIN_RESPONSE_LEN is
// exposed in the config
if (pipeline_config.count("MAX_PROMPT_LEN") ||
pipeline_config.count("MIN_RESPONSE_LEN")) {
Copy link
Contributor

Choose a reason for hiding this comment

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

so many hardcoded strings.. how users would know that such strings should be passed?
will it be mentioned in NPU specific docs?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Yes, I believe these parameters can be reflected in "Additional configuration options": https://docs.openvino.ai/2024/learn-openvino/llm_inference_guide/genai-guide-npu.html

Copy link
Collaborator

Choose a reason for hiding this comment

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

You refused to do that 2 weeks ago: #795 (review). In personal messages you stated that you don't want to advertise them. What changed?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Didn't refuse to be honest, these parameters will be documented for 2024.4

Copy link
Collaborator

Choose a reason for hiding this comment

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

ok

@ilya-lavrenov ilya-lavrenov added this to the 2024.5 milestone Sep 6, 2024
@AsyaPronina AsyaPronina force-pushed the support_blobs_for_llm_pipeline branch from 980eebf to bae4b46 Compare September 12, 2024 17:31
Copy link
Collaborator

@TolyaTalamanov TolyaTalamanov left a comment

Choose a reason for hiding this comment

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

Great! Thank you @AsyaPronina, LGTM 👍

@TolyaTalamanov TolyaTalamanov added this pull request to the merge queue Sep 17, 2024
github-merge-queue bot pushed a commit that referenced this pull request Sep 17, 2024
Added support of importing blobs for `StaticLLMPipeline`
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Sep 17, 2024
@AsyaPronina AsyaPronina added this pull request to the merge queue Sep 17, 2024
Merged via the queue into openvinotoolkit:master with commit 15d0bd5 Sep 17, 2024
43 checks passed
@ilya-lavrenov ilya-lavrenov added the category: LLM LLM pipeline (stateful, static) label Oct 15, 2024
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)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants