mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-11-04 23:37:31 +00:00
[GH-ISSUE #893] [Feature request] Accelerating Network Access Using Mirror Sites #396
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/ComfyUI-Manager#396
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 @hben35096 on GitHub (Jul 21, 2024).
Original GitHub issue: https://github.com/Comfy-Org/ComfyUI-Manager/issues/893
I noticed that due to network issues in my region, using the Manager to install nodes often encounters instability. However, I can run the following command in advance:
git config --global url."https://mirror.ghproxy.com/https://github.com/".insteadOf https://github.com/Then start ComfyUI, so that when using the Manager to install nodes, it uses the mirror site of Github for installation.
For example, installing:
https://github.com/ltdrdata/ComfyUI-Inspire-Packwill become:
https://mirror.ghproxy.com/https://github.com/ltdrdata/ComfyUI-Inspire-Packachieving faster installation.
However, the node list and model list files of the Manager, such as:
https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.jsonhttps://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.jsonI have no way to change them to:
https://mirror.ghproxy.com/https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.jsonhttps://mirror.ghproxy.com/https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.jsonfor network acceleration.
So, is there a way, such as a configuration file, where users can fill in some content themselves, like in a yaml file:
"https://github.com/": "https://mirror.ghproxy.com/https://github.com/""https://raw.githubusercontent.com/": "https://mirror.ghproxy.com/https://raw.githubusercontent.com/"@planb788 commented on GitHub (Aug 6, 2024):
如果是能够自动下载模型的插件,你可以通过简单地在环境变量里面添加一个名为HF_ENDPOINT的环境变量来实现镜像加速,它的值需要设置为https://hf-mirror.com
If it's a plugin capable of automatically downloading models, you can achieve mirror acceleration by simply adding an environment variable named HF_ENDPOINT in your environment variables, with its value set to https://hf-mirror.com
@Leo-Mu commented on GitHub (Oct 21, 2024):
@planb788 Not working. 并不行,这样做在 ComfyUI-Manager 里并不会把模型下载地址切换到 hf-mirror
@ltdrdata commented on GitHub (Nov 18, 2024):
This will be handled in manager-core.
@tianlinzx commented on GitHub (May 17, 2025):
+1