mirror of
https://github.com/deepseek-ai/DeepSeek-R1.git
synced 2026-11-05 00:47:42 +00:00
[GH-ISSUE #440] ollama本地部署671b满血版r1输出乱码 #350
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepSeek-R1#350
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 @Red-Scarff on GitHub (Feb 17, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepSeek-R1/issues/440
我按照这篇博客https://litianc.cn/2025/02/Deepseek-R1-Deploy/的方式,下载gguf在服务器用ollama本地部署了671b满血版r1,具体的gguf仓库为https://modelscope.cn/models/unsloth/DeepSeek-R1-GGUF/files下的DeepSeek-R1-Q4_K_M,下载之后用llama.cpp(https://github.com/ggerganov/llama.cpp.git)对gguf进行了合并,然后使用modelfile进行导入,我为合并后的模型命名为deepSeek-quant-671b,所以我想当我看到这样的输出时我的部署应该已经成功了?
然而实际上当我启动
ollama run deepSeek-quant-671b的时候,我对它的所有提问得到的回答都是一串无意义的乱码有人可以帮我检查出现了什么问题吗?感激不尽
启动
ollama serve后得到的log如下:如果还需要我提供其他信息的话请联系我,我会及时查询并回复
@MeowTsukiko commented on GitHub (Feb 18, 2025):
有人吗,我也遇到了同样的问题,等回复,looking forward to a reply
@Ponkyao commented on GitHub (Feb 18, 2025):
为啥不用vllm部署
@magicgopher commented on GitHub (Feb 18, 2025):
这样需要多大的gpu才可以部署满血版的模型?
@Red-Scarff commented on GitHub (Feb 18, 2025):
实际上,当我部署了DeepSeek-R1-UD-Q2_K_XL这个量化版本,并不会出现输出乱码的问题,一切正常。所以我想可能是llama.cpp和DeepSeek-R1-Q4_K_M有不兼容的地方,或者https://modelscope.cn/models/unsloth/DeepSeek-R1-GGUF/files中的DeepSeek-R1-Q4_K_M有某些损毁之处?
@sxk000 commented on GitHub (Feb 18, 2025):
有个问题:量化版、蒸馏版可以叫满血版吗?DeepSeek-R1是属于什么版?
@deepsicker commented on GitHub (Feb 18, 2025):
量化是降低了模型权重的精度 ,比如 1.232423423 缩小到1.23这样
@Mini-Jelly commented on GitHub (Feb 18, 2025):
本地部署了671b,你看看是不是性能不够
@Red-Scarff commented on GitHub (Feb 19, 2025):
我认为不是,服务器的显存很大并没有占满,启动DeepSeek-R1-Q4_K_M后每张卡基本显存占用了60%(后四张卡显存占用更多是因为我同时在跑其他的任务
@mowentian commented on GitHub (Feb 19, 2025):
建议移步相关社区以寻求支持~
@fridayL commented on GitHub (Feb 24, 2025):
有解决吗
@Red-Scarff commented on GitHub (Feb 24, 2025):
至少我还没有解决..怀疑是模型量化出了问题,已经转向调用API了..
@magicgopher commented on GitHub (Feb 27, 2025):
我直接用阿里云的百炼的API来玩671b参数的了。😂