-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
VRAM USAGE WHEN LOADING THE MODEL #4733
Labels
Comments
We pre-allocate memory for the KV cache management. So your model is using 40GB and all the rest of the memory is used to store KV caches |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Anything you want to discuss about vllm.
Hi guys, I have some question regarding. I have 256 GB VRAM of Tesla V100 32GB. I deploy model from TheBloke/Llama-2-70B-Chat-GPTQ. I set the dtype = float16. And then when i monitor the gpu usage, I can see that each of the layer take around 17GB per layer. My question is, it is supposed that when i load the model, it will take around 40GB total (model size) out of 256GB, but when I load it, the GPU usage is more than that. Why this is happened?
The text was updated successfully, but these errors were encountered: