-
-
Notifications
You must be signed in to change notification settings - Fork 509
Open
Description
Description:
After the latest update of Krita AI Diffusion (and the local ComfyUI server), image generation stops with a cache error when the queue size exceeds 4 tasks.
Environment:
- Model: Noobl AI XL
- Mode: Reference mode
- Connection: Local Server mode
- Krita AI Diffusion & LocalServer both updated to latest version
- OS: Windows 11
Steps to reproduce:
- Launch Krita AI Diffusion in LocalServer mode.
- Select Noobl AI XL and enable Reference mode.
- Create a queue of 8 tasks (my usual setting).
- Start the generation process.
Expected behavior:
All queued tasks should complete successfully.
Actual behavior:
When the queue count exceeds 4, generation stops with an error like the following:
C:\Users\Username\AppData\Roaming\krita\ai_diffusion\server\ComfyUI\comfy_extras\nodes_easycache.py:267: UserWarning: Using a non-tuple sequence for multidimensional indexing is deprecated and will be changed in pytorch 2.9; use x[tuple(seq)] instead of x[seq].
!!! Exception during processing !!!
Image with ID b64e24cc-f045-4c27-bcca-87bc34598270 not found in cache.
Traceback (most recent call last):
File "C:\Users\Username\AppData\Roaming\krita\ai_diffusion\server\ComfyUI\custom_nodes\comfyui-tooling-nodes\nodes.py", line 179, in execute
raise ValueError(f"Image with ID {id} not found in cache.")
ValueError: Image with ID b64e24cc-f045-4c27-bcca-87bc34598270 not found in cache.
When the queue is limited to 4, everything works normally.
If the queue drops to 1 remaining and I press Generate again, the newly added tasks finish correctly.
What I’ve tried:
Deleted the server directory and reinstalled the LocalServer.
Restarted Krita and the LocalServer multiple times.
The issue still persists.
Additional note:
This issue did not occur before the latest update.
Metadata
Metadata
Assignees
Labels
No labels