在中国大陆由于网络问题,可能导致安装ComfyUI官方桌面版的时候,会遇到一些问题。比如下载速度慢,或者下载失败等。这时候,我们可以尝试设置镜像源来解决。

ComfyUI官方主页:https://www.comfy.org/zh-cn/

ComfyUI的github仓库:https://github.com/comfyanonymous/ComfyUI

第一个镜像设置:python-build-standalone

来自于github上的astral-sh/python-build-standalone仓库:https://github.com/astral-sh/python-build-standalone

因此它可以结合github代理网站来设置它。比如有:

那么第一个默认的是:

https://python-standalone.org/mirror/astral-sh/python-build-standalone

如果上面默认的不可用的话,下面就可以试试:

https://gh-proxy.com/https://github.com/astral-sh/python-build-standalone/releases/download
https://hk.gh-proxy.com/https://github.com/astral-sh/python-build-standalone/releases/download
https://cdn.gh-proxy.com/https://github.com/astral-sh/python-build-standalone/releases/download
https://edgeone.gh-proxy.com/https://github.com/astral-sh/python-build-standalone/releases/download
https://xget.xi-xu.me/gh/astral-sh/python-build-standalone/releases/download

第二个搜索:pypi

可以在清华大学开源软件镜像站找到:https://mirrors.tuna.tsinghua.edu.cn/

https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/

也可以在阿里巴巴开源镜像站找到:https://developer.aliyun.com/mirror/

http://mirrors.aliyun.com/pypi/simple/

第三个搜索:torch

官方的如果不可用(如下):https://pytorch.org/get-started/locally/

https://download.pytorch.org/whl/cu128
https://mirrors.aliyun.com/pytorch-wheels/

那么你也可以在南京大学开源镜像站找到:https://mirrors.nju.edu.cn/

https://mirrors.nju.edu.cn/pytorch/whl/cu129/