Open ra-MANUJ-an opened 7 months ago
This issue 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 issue should remain open. Thank you!
Anything you want to discuss about vllm.
Following is a little piece of code to extract embeddings from a certain layer of LLM:
It's pretty standard way, but it's pretty slow. Is there any way to use vllm to make it faster without needing to call generate function everytime? I've tried batching, but it's slow too. Any help is appreciated!
One way to get last hidden state values using vllm is as follows:
but this doesn't get me with all the hidden state embeddings (of all layers). Is there any other way to get such values in a faster manner?