-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Support prompt hidden states #24202
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
base: main
Are you sure you want to change the base?
Support prompt hidden states #24202
Conversation
|
|
||
| return prompt_logprobs_dict | ||
|
|
||
| def _get_prompt_hidden_states_dict( |
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.
try extact to separate utils.py?
| hidden_states[:num_scheduled_tokens], | ||
| scheduler_output.num_scheduled_tokens, | ||
| ) | ||
| prompt_hidden_states_dict = self._get_prompt_hidden_states_dict( |
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.
let's make this an option by default disabled from vllm serve arguments
Signed-off-by: Xingyu Liu <[email protected]>
|
This pull request has merge conflicts that must be resolved before it can be |
Purpose
Test Plan
Test Result
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.