[GH-ISSUE #79] GPU memory usage issue #65

Closed
opened 2026-10-26 21:11:16 +00:00 by bsakaguchi · 4 comments
Owner

Originally created by @rodney-he on GitHub (Feb 13, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-VL2/issues/79

Hi thanks for your excellent work. I'm facing a strange problem, I can use deepseek-vl-7b on my RTX 3090 GPU wtih 24GB vRAM, but can't load deepseek-vl2-small model which only has 2.8b parameters, the parameter number of deepseek-vl2 is smaller than deepseek-vl, why can't I use it in same GPU?

Originally created by @rodney-he on GitHub (Feb 13, 2025). Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-VL2/issues/79 Hi thanks for your excellent work. I'm facing a strange problem, I can use deepseek-vl-7b on my RTX 3090 GPU wtih 24GB vRAM, but can't load deepseek-vl2-small model which only has 2.8b parameters, the parameter number of deepseek-vl2 is smaller than deepseek-vl, why can't I use it in same GPU?
Author
Owner

@HubHop commented on GitHub (Feb 13, 2025):

Hi @RodneyHe, please note that DeepSeek-VL2-Small is a MoE model, which has 16B parameters in total, with 2.8B activated parameters during inference.

<!-- gh-comment-id:2656044331 --> @HubHop commented on GitHub (Feb 13, 2025): Hi @RodneyHe, please note that DeepSeek-VL2-Small is a MoE model, which has 16B parameters in total, with **2.8B activated parameters** during inference.
Author
Owner

@rodney-he commented on GitHub (Feb 13, 2025):

OK, 2.8B is the activated parameters, that makes sense, thanks for your explanation.

<!-- gh-comment-id:2656058306 --> @rodney-he commented on GitHub (Feb 13, 2025): OK, 2.8B is the activated parameters, that makes sense, thanks for your explanation.
Author
Owner

@trongldwork commented on GitHub (Mar 3, 2025):

Hi @RodneyHe, please note that DeepSeek-VL2-Small is a MoE model, which has 16B parameters in total, with 2.8B activated parameters during inference.

if i only want to inference, Do I need 16GB Vram?

<!-- gh-comment-id:2693125429 --> @trongldwork commented on GitHub (Mar 3, 2025): > Hi [@RodneyHe](https://github.com/RodneyHe), please note that DeepSeek-VL2-Small is a MoE model, which has 16B parameters in total, with **2.8B activated parameters** during inference. if i only want to inference, Do I need 16GB Vram?
Author
Owner

@rodney-he commented on GitHub (Mar 3, 2025):

For inference, 1B parameter require 4G+ VRAM(FP32) or 2G+ VRAM(FP16), and MoE model loads all 16B parameters, so I think 16G vRAM is not enough. At least requiring 32G vRAM.

<!-- gh-comment-id:2693573978 --> @rodney-he commented on GitHub (Mar 3, 2025): For inference, 1B parameter require 4G+ VRAM(FP32) or 2G+ VRAM(FP16), and MoE model loads all 16B parameters, so I think 16G vRAM is not enough. At least requiring 32G vRAM.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepSeek-VL2#65
No description provided.