You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I read the documentation and found that vLLM supports tensor parallelism and pipeline parallelism. However, I’ve encountered a scenario where my model can fully fit into the VRAM of a single GPU, and my machine has multiple GPUs available. Is it possible to improve the inference speed for a batch of data by loading the model in parallel across multiple GPUs? I’ve carefully reviewed the documentation but couldn’t find relevant examples. Does vLLM already support this functionality? If not, are there alternative approaches to achieve this? (I’ve tried tensor parallelism, which increases batch throughput but introduces latency overhead, resulting in limited speed improvement.)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I read the documentation and found that vLLM supports tensor parallelism and pipeline parallelism. However, I’ve encountered a scenario where my model can fully fit into the VRAM of a single GPU, and my machine has multiple GPUs available. Is it possible to improve the inference speed for a batch of data by loading the model in parallel across multiple GPUs? I’ve carefully reviewed the documentation but couldn’t find relevant examples. Does vLLM already support this functionality? If not, are there alternative approaches to achieve this? (I’ve tried tensor parallelism, which increases batch throughput but introduces latency overhead, resulting in limited speed improvement.)
Beta Was this translation helpful? Give feedback.
All reactions