1、安装下载大模型时候(运行命令:ollama run qwen2.5:7b)提示错误:

Error: Head "http://127.0.0.1:11434/": dial tcp 127.0.0.1:11434: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

检查发现进程正常,端口也正常,关掉杀毒软件,最后,

解决方法:无意间发现系统的防火墙打开了,于是关闭系统的防火墙,问题解决。

2、第三方调用ollama时候,提示错误:

Ollama call failed with status code 500: model requires more system memory (4.7 GiB) than is available (2.7 GiB)

解决方法:把内存提高,让实际可用内存超过5G。

 3、使用命令:

下载并且运行指定大模型:ollama run qwen2.5:7b

删除指定大模型: ollama rm qwen2.5:7b

列出所有安装的大模型:ollama list

Logo

魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。

更多推荐