-
Notifications
You must be signed in to change notification settings - Fork 231
Fix max_prompt_length #3732
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
Open
atobiszei
wants to merge
12
commits into
main
Choose a base branch
from
atobisze_max_prompt_len
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Fix max_prompt_length #3732
+425
−259
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e045a0d to
79b6523
Compare
atobiszei
commented
Oct 28, 2025
atobiszei
commented
Oct 28, 2025
| | `--dynamic_split_fuse` | `bool` | Enables dynamic split fuse algorithm. Default: true. | | ||
| | `--max_prompt_len` | `integer` | Sets NPU specific property for maximum number of tokens in the prompt. | | ||
| | `--kv_cache_precision` | `string` | Reduced kv cache precision to `u8` lowers the cache size consumption. Accepted values: `u8` or empty (default). | | ||
| | `--model_distribution_policy` | `string` | TENSOR_PARALLEL distributes tensor to multiple sockets/devices and processes it in parallel. PIPELINE_PARALLEL distributes different tensors to process by each device. Accepted values: `TENSOR_PARALLEL`, `PIPELINE_PARALLEL` or empty (default). | |
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.
Suggested change
| | `--model_distribution_policy` | `string` | TENSOR_PARALLEL distributes tensor to multiple sockets/devices and processes it in parallel. PIPELINE_PARALLEL distributes different tensors to process by each device. Accepted values: `TENSOR_PARALLEL`, `PIPELINE_PARALLEL` or empty (default). | | |
| | `--model_distribution_policy` | `string` | `TENSOR_PARALLEL` distributes tensor to multiple sockets/devices and processes it in parallel. `PIPELINE_PARALLEL` distributes different tensors to process by each device. Accepted values: `TENSOR_PARALLEL`, `PIPELINE_PARALLEL` or empty (default). | |
b39e465 to
2702650
Compare
faac89e to
3047127
Compare
a66d579 to
3032eec
Compare
przepeck
reviewed
Nov 3, 2025
| }; | ||
|
|
||
| struct RerankGraphSettingsImpl { | ||
| RerankGraphSettingsImpl::RerankGraphSettingsImpl() : |
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.
Suggested change
| RerankGraphSettingsImpl::RerankGraphSettingsImpl() : | |
| RerankGraphSettingsImpl() : |
- It fixes building on Linux
rasapala
approved these changes
Nov 3, 2025
48622cc to
ff78cdb
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
--plugin_configShare plugin settings & common export settings accross various models used with Mediapipe graphs
--cache_dirparameter for text_generation models--target_device AUTO:DEV1,DEV2for models used with Mediapipe graphsTicket:CVS-175054