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

[V1] APC + prompt logprobs unsupported (PR 2/N for v1 sample and prompt logprobs support) #11910

Open
wants to merge 345 commits into
base: main
Choose a base branch
from

Conversation

afeldman-nm
Copy link
Contributor

@afeldman-nm afeldman-nm commented Jan 10, 2025

This PR forces the v1 LLMEngine and AsyncLLM to fail in generate() if a request with prompt logprobs enabled arrives and the engine has prefix caching enabled. Note that while it is possible for prompt logprobs and APC to be compatible, this is left to future work.

This is part of a broader vllm v1 + logprobs workstream:

PR no. 1 (#9880 ) is a dependency of this PR; it adds the infrastructure for sample and prompt logprobs support with limited unit tests

PR no. 2 is this PR

PR no. 3 will port test_completion.py logprobs tests to v1, make any adjustments required to make these tests pass, and fix a compatibility issue with Mistral tokenizer

mzusman and others added 30 commits December 2, 2024 11:36
…nAI compatible server (vllm-project#10635)

Signed-off-by: Tomer Asida <[email protected]>
Signed-off-by: Andrew Feldman <[email protected]>
Signed-off-by: youkaichao <[email protected]>
Signed-off-by: Andrew Feldman <[email protected]>
Signed-off-by: Richard Liu <[email protected]>
Signed-off-by: Andrew Feldman <[email protected]>
…project#10561)

Signed-off-by: Isotr0py <[email protected]>
Co-authored-by: Isotr0py <[email protected]>
Co-authored-by: Cyrus Leung <[email protected]>
Signed-off-by: Andrew Feldman <[email protected]>
Signed-off-by: DarkLight1337 <[email protected]>
Signed-off-by: Andrew Feldman <[email protected]>
Signed-off-by: Jee Jee Li <[email protected]>
Signed-off-by: Andrew Feldman <[email protected]>
Signed-off-by: NickLucche <[email protected]>
Signed-off-by: Cyrus Leung <[email protected]>
Co-authored-by: Cyrus Leung <[email protected]>
Signed-off-by: Andrew Feldman <[email protected]>
Signed-off-by: youkaichao <[email protected]>
Co-authored-by: youkaichao <[email protected]>
Signed-off-by: Andrew Feldman <[email protected]>
Signed-off-by: wangxiyuan <[email protected]>
Signed-off-by: Andrew Feldman <[email protected]>
…oject#10804)

Signed-off-by: Roger Wang <[email protected]>
Co-authored-by: Chen Zhang <[email protected]>
Co-authored-by: Isotr0py <[email protected]>
Signed-off-by: Andrew Feldman <[email protected]>
Signed-off-by: Andrew Feldman <[email protected]>
…t#10502)

This PR provides initial support for single-node disaggregated prefill in 1P1D scenario.
Signed-off-by: KuntaiDu <[email protected]>
Co-authored-by: ApostaC <[email protected]>
Co-authored-by: YaoJiayi <[email protected]>
Signed-off-by: Andrew Feldman <[email protected]>
Copy link

👋 Hi! Thank you for contributing to the vLLM project.
Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run fastcheck CI which starts running only a small and essential subset of CI tests to quickly catch errors. You can run other CI tests on top of those by going to your fastcheck build on Buildkite UI (linked in the PR checks section) and unblock them. If you do not have permission to unblock, ping simon-mo or khluu to add you in our Buildkite org.

Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging.

To run CI, PR reviewers can do one of these:

  • Add ready label to the PR
  • Enable auto-merge.

🚀

@afeldman-nm afeldman-nm changed the title [V1] APC + prompt logprobs unsupported (PR 2/3 for v1 sample and prompt logprobs support) [V1] APC + prompt logprobs unsupported (PR 2/N for v1 sample and prompt logprobs support) Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.