|
|
发表于 2026-1-9 17:02:58
|
显示全部楼层

大佬,生成时出错是什么原因?
[16:52:38] [Gradio] ======================================================================
[16:52:38] [Gradio] Z-Image-Nunchaku加速版
[16:52:38] [Gradio] ======================================================================
[16:52:38] [Gradio] 等待 ComfyUI 启动...
[16:52:38] [Gradio] ✓ ComfyUI 连接成功
[16:52:38] [Gradio] 启动 Gradio WebUI...
[16:52:38] [Gradio] * Running on local
[16:52:43] [Gradio] * To create a public link, set `share=True` in `launch()`.
[16:53:06] [ComfyUI] got prompt
[16:53:07] [ComfyUI] Using pytorch attention in VAE
[16:53:07] [ComfyUI] Using pytorch attention in VAE
[16:53:18] [ComfyUI] VAE load device: cuda:0, offload device: cpu, dtype: torch.float32
[16:58:07] [Gradio] Traceback (most recent call last):
[16:58:07] [Gradio] File "<frozen app>", line 313, in generate_image
[16:58:07] [Gradio] Exception: 生成超时,请检查 ComfyUI 状态
[16:58:07] [Gradio] During handling of the above exception, another exception occurred:
[16:58:07] [Gradio] Traceback (most recent call last):
[16:58:07] [Gradio] File "I:\ComfyUI_Z-Image-Nunchaku\ComfyUI_Z-Image-Nunchaku\deepface\Lib\site-packages\gradio\queueing.py", line 766, in process_events
[16:58:07] [Gradio] response = await route_utils.call_process_api(
[16:58:07] [Gradio] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[16:58:07] [Gradio] File "I:\ComfyUI_Z-Image-Nunchaku\ComfyUI_Z-Image-Nunchaku\deepface\Lib\site-packages\gradio\route_utils.py", line 355, in call_process_api
[16:58:07] [Gradio] output = await app.get_blocks().process_api(
[16:58:07] [Gradio] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[16:58:07] [Gradio] File "I:\ComfyUI_Z-Image-Nunchaku\ComfyUI_Z-Image-Nunchaku\deepface\Lib\site-packages\gradio\blocks.py", line 2147, in process_api
[16:58:07] [Gradio] result = await self.call_function(
[16:58:07] [Gradio] ^^^^^^^^^^^^^^^^^^^^^^^^^
[16:58:07] [Gradio] File "I:\ComfyUI_Z-Image-Nunchaku\ComfyUI_Z-Image-Nunchaku\deepface\Lib\site-packages\gradio\blocks.py", line 1629, in call_function
[16:58:07] [Gradio] prediction = await anyio.to_thread.run_sync( # type: ignore
[16:58:07] [Gradio] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[16:58:07] [Gradio] File "I:\ComfyUI_Z-Image-Nunchaku\ComfyUI_Z-Image-Nunchaku\deepface\Lib\site-packages\anyio\to_thread.py", line 61, in run_sync
[16:58:07] [Gradio] return await get_async_backend().run_sync_in_worker_thread(
[16:58:07] [Gradio] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[16:58:07] [Gradio] File "I:\ComfyUI_Z-Image-Nunchaku\ComfyUI_Z-Image-Nunchaku\deepface\Lib\site-packages\anyio\_backends\_asyncio.py", line 2525, in run_sync_in_worker_thread
[16:58:07] [Gradio] return await future
[16:58:07] [Gradio] ^^^^^^^^^^^^
[16:58:07] [Gradio] File "I:\ComfyUI_Z-Image-Nunchaku\ComfyUI_Z-Image-Nunchaku\deepface\Lib\site-packages\anyio\_backends\_asyncio.py", line 986, in run
[16:58:07] [Gradio] result = context.run(func, *args)
[16:58:07] [Gradio] ^^^^^^^^^^^^^^^^^^^^^^^^
[16:58:07] [Gradio] File "I:\ComfyUI_Z-Image-Nunchaku\ComfyUI_Z-Image-Nunchaku\deepface\Lib\site-packages\gradio\utils.py", line 1034, in wrapper
[16:58:07] [Gradio] response = f(*args, **kwargs)
[16:58:07] [Gradio] ^^^^^^^^^^^^^^^^^^
[16:58:07] [Gradio] File "<frozen app>", line 316, in generate_image
[16:58:07] [Gradio] gradio.exceptions.Error: '生成失败: 生成超时,请检查 ComfyUI 状态'
|
|