问题一:下载deepseek下载到一半,网卡卡顿,不下载?
C:\Users\Administrator>ollama
Usage:
ollama [flags]
ollama [command]
Available Commands:
serve Start ollama
create Create a model from a Modelfile
show Show information for a model
run Run a model
stop Stop a running model
pull Pull a model from a registry
push Push a model to a registry
list List models
ps List running models
cp Copy a model
rm Remove a model
help Help about any command
Flags:
-h, --help help for ollama
-v, --version Show version information
Use "ollama [command] --help" for more information about a command.
C:\Users\Administrator>Start ollama
C:\Users\Administrator>ollama run deepseek-r1:8b
按照上面的代码输入,即可重启,然后重新下载
问题二:Dify中配置DeepSeek R1不成功
如果 Ollama 作为 Windows 应用运行,需要使用设置网址:
- 重启 Ollama 应用程序。
- 如果以上步骤无效,可以使用以下方法:
问题是在 docker 内部,你应该连接到 host.docker.internal,才能访问 docker 的主机,所以将 localhost 替换为 host.docker.internal 服务就可以生效了:
-
http://host.docker.internal:11434
© 版权声明
THE END
暂无评论内容