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

技术共进,成长同行——讯飞AI开发者社区

更多推荐