mirror of
https://github.com/kvcache-ai/ktransformers.git
synced 2026-11-05 01:07:28 +00:00
[GH-ISSUE #312] 讨论: Ktransformer目前对DeepSeek R1的多GPU适配 (Disscussion: Current Multi-GPU Support for Ktransformer with DeepSeek R1 Q4) #201
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
kvcache-ai/ktransformers#201
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 @kissint8 on GitHub (Feb 15, 2025).
Original GitHub issue: https://github.com/kvcache-ai/ktransformers/issues/312
python3 -m ktransformers.local_chat --model_path <local_model_dir> --gguf_path <gguf_dir> --max_new_tokens 4096 --force_think true --web true --port <port>Description:
I have deployed the DeepSeek R1 model with Q4_KM quantization using Ktransformer on an H100 (80GB) GPU. However, I obversed the following resource utilization:
GPU Memory Usage: 17%
Compute Utilization: 15%
CPU Load: 6.8% (since CPU acceleration is not enabled)
Memory Usage: 85GB
Questions:
In the previous optimization rules for DeepSeekV3, I found there was a multi-GPU optimization rule. Do I need to specify anything else when running the R1 model?
My Command is:
python3 -m ktransformers.local_chat --model_path <local_model_dir> --gguf_path <gguf_dir> --max_new_tokens 4096 --force_think true --web true --port <port>@Atream commented on GitHub (Feb 15, 2025):
多GPU的支持正在进行中,需要自行修改yaml将更多experts放到GPU上,不过现在有些bug,我们再优化下
@Remondor commented on GitHub (Feb 16, 2025):
您好,我想问一下。
如果单卡没有16g。
用双卡组20g能否使用kt框架跑r1呢?
还有就是,q4以下量化的r1,比如q2 是不是就不用14g左右的显存了。仅需7g左右就能跑起来?
@zenwan commented on GitHub (Feb 16, 2025):
期待,希望能简化多GPU的配置
@ErvinXie commented on GitHub (Dec 11, 2025):
This issue has been automatically closed due to inactivity for 60 days.
If you believe this issue is still relevant, please feel free to reopen it with additional information or context.
Thank you for your contribution to KTransformers!
此 issue 因超过 60 天无活动而被自动关闭。
如果您认为此问题仍然存在,请随时重新打开并提供更多信息或上下文。
感谢您对 KTransformers 的贡献!