mirror of
https://github.com/deepseek-ai/DeepSeek-V2.git
synced 2026-11-05 00:47:23 +00:00
[GH-ISSUE #49] 模型部署困惑 #47
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepSeek-V2#47
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ylhou on GitHub (May 30, 2024).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-V2/issues/49
在A800 8卡机上按照Chat Completion的示例代码加载模型
设置
max_memory = {i: "75GB" for i in range(8)}
device_map="sequential"
启动后显存占用集中在0卡~6卡,7卡被完全放空,然后测试的上下文稍长一点,就报显存无法分配了
这是什么原因呢,有人遇到过吗
@fw2325 commented on GitHub (Jun 3, 2024):
+1
@jixiang25 commented on GitHub (Jul 9, 2024):
max_memory = {i: "75GB" for i in range(8)}修改为max_memory = {i: "60GB" for i in range(8)}