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

Mixed style of chunked prefill #1013

Merged
merged 23 commits into from
Aug 16, 2024
Merged

Mixed style of chunked prefill #1013

merged 23 commits into from
Aug 16, 2024

Conversation

hnyls2002
Copy link
Collaborator

Thank you for your contribution, we really appreciate it. The following instructions will help improve your pull request and make it easier to receive feedback. If there are any items you don't understand, don't worry. Just submit the pull request and ask the maintainers for help.

Motivation

This is to reduce the first token latency.

Modification

When mixed style is turned on, try to fill some prefill tokens into the running batch.

Checklist

  1. Ensure pre-commit pre-commit run --all-files or other linting tools are used to fix potential lint issues.
  2. Confirm that modifications are covered by complete unit tests. If not, please add more unit tests for correctness.
  3. Modify documentation as needed, such as docstrings or example tutorials.

@merrymercy merrymercy marked this pull request as ready for review August 13, 2024 09:31
@zhyncs zhyncs added enhancement New feature or request high priority labels Aug 13, 2024
@merrymercy
Copy link
Contributor

Can you resolve the conflicts?

@merrymercy
Copy link
Contributor

@merrymercy merrymercy enabled auto-merge (squash) August 16, 2024 08:53
@merrymercy merrymercy merged commit 3694f8f into main Aug 16, 2024
6 checks passed
@merrymercy merrymercy deleted the mix-chunk branch August 16, 2024 09:13
hnyls2002 added a commit to yichuan520030910320/sglang that referenced this pull request Aug 16, 2024
@merrymercy merrymercy mentioned this pull request Aug 27, 2024
29 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request high priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants