Skip to content

Allow single LLM step to generate multiple tokens#2120

Closed
LiuXiaoxuanPKU wants to merge 60 commits intovllm-project:mainfrom
LiuXiaoxuanPKU:multi-token
Closed

Allow single LLM step to generate multiple tokens#2120
LiuXiaoxuanPKU wants to merge 60 commits intovllm-project:mainfrom
LiuXiaoxuanPKU:multi-token

Conversation

@LiuXiaoxuanPKU
Copy link
Copy Markdown
Collaborator

This PR is a subset of #1797, it provides the API to generate multiple tokens in a single LLM step.

results.append((next_token_ids, parent_ids))
sample_idx += num_parent_seqs
assert sample_idx == logprobs.size(0)
# assert sample_idx == logprobs.size(0)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Remove this comment?

@github-actions
Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity within 90 days. It will be automatically closed if no further activity occurs within 30 days. Leave a comment if you feel this pull request should remain open. Thank you!

@github-actions github-actions bot added the stale Over 90 days of inactivity label Oct 30, 2024
@mergify
Copy link
Copy Markdown

mergify bot commented Oct 30, 2024

This pull request has merge conflicts that must be resolved before it can be
merged. @LiuXiaoxuanPKU please rebase it. https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork

@mergify mergify bot added the needs-rebase label Oct 30, 2024
@github-actions github-actions bot added unstale Recieved activity after being labelled stale and removed stale Over 90 days of inactivity labels Nov 3, 2024
@hmellor hmellor closed this Feb 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-rebase unstale Recieved activity after being labelled stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants