Skip to content

docs: Clarify the --max-local-prefill-length help description #554

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

Merged
merged 5 commits into from
Apr 9, 2025
Merged
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions examples/llm/utils/vllm.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ def parse_vllm_args(service_name, prefix) -> AsyncEngineArgs:
"--max-local-prefill-length",
type=int,
default=1000,
help="Maximum length of local prefill",
help="Maximum length for local prefill. If remote prefill is enabled and the prefill length is greater than this value the request will be sent for remote prefill, otherwise prefill phase will run locally.",
)
parser.add_argument(
"--max-prefill-queue-size",
type=int,
default=3,
help="Do not send remote prefill requests (prefill locally) if the queue size is greater than this value",
help="Maximum queue size for remote prefill. If the queue size is greater than this value a local prefill request will be sent (assumes disaggregation)",
)
parser = AsyncEngineArgs.add_cli_args(parser)
args = parser.parse_args(vllm_args)
Expand Down
Loading