-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Closed as not planned
Labels
feature requestNew feature or requestNew feature or requeststaleOver 90 days of inactivityOver 90 days of inactivity
Description
🚀 The feature, motivation and pitch
Currently, loading models in vLLM
takes such a long time, up to several minutes. 3 steps are needed:
- Downloading model files from
S3
orHuggingFace
or your own repo. - Reading, decoding and loading
Tensor
from disk file into CPU memory. - Copy
Tensor
into GPU memory.
I wonder whether it is a good idea to introduce a new class named RemoteModelLoader
in model_loader.py
. By doing so, we just need to store model tensors and metadata into remote database only once. After that, we could load models from remote database directly, and also faster than traditional way since local disk is not involved.
Besides Redis
, I noticed that some companies and organization are working on RDMA-based KV database, which is much faster theoretically. And step 3 is not necessary if using GDR
. Those databases in the future may also become available by RemoteModelLoader
, similar as how Redis
is used.
Alternatives
No response
Additional context
No response
Before submitting a new issue...
- Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.
markoarnauto
Metadata
Metadata
Assignees
Labels
feature requestNew feature or requestNew feature or requeststaleOver 90 days of inactivityOver 90 days of inactivity