deepfacelab中文网

 找回密码
 立即注册(仅限QQ邮箱)
查看: 206|回复: 0

comfyui 新版本队列很慢很慢的修复

[复制链接]

10

主题

148

帖子

3661

积分

高级丹圣

Rank: 13Rank: 13Rank: 13Rank: 13

积分
3661

荣誉会员勋章小有贡献勋章

 楼主| 发表于 2025-5-2 15:52:43 | 显示全部楼层 |阅读模式
手贱从0.3.12升级了新版本,发现队列一多就慢的要死:退回也不行

发现新版多了comfyui_frontend_package,找了很久原因,终于
[Feature Request]: Improve performance when large number of prompts are queued · Issue #2435 · Comfy-Org/ComfyUI_frontend
最后的帖子:
For anyone want to quick fix this issue, just add one line to the file: venv\Lib\site-packages\comfyui_frontend_package\static\assets\index-C1a9-oeR.js line: 60543 async getQueue() { //fix queue slow return { Running: [], Pending: [] }; I just add 900 tasks to queue in 10s, and running good.


比如最新的comfyui_frontend_package版本是1.8.5对应的文件是index-Bwi-dRlQ.js
搜索async getQueue() {
在下面添加
    async getQueue() {
      //fix queue slow
      return { Running: [], Pending: [] };

这样修改队列正常了



回复

使用道具 举报

QQ|Archiver|手机版|deepfacelab中文网 |网站地图

GMT+8, 2025-5-17 18:17 , Processed in 0.105501 second(s), 29 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表