significant increase in processing time since update 0.4.0
Custom Node Testing
- [x] I have tried disabling custom nodes and the issue persists (see how to disable custom nodes if you need help)
Expected Behavior
I am running a simple flux.1(Dev) Workflow, which took under 2 mins yesterday. Today I can't wait it out, after 15 min generation time i simply give up! I am running Comfy on a Laptop: Windows 11(25H2), 64Gig Ram, a RTX 5080 (newest drivers) AMD Ryzen 9 9955HX with integr. AMD Graphics (2GiG). My suspicion is that the darn program uses my built in graphics! I WANT VER. 0.3.76 BACK!!!! I hate the missing of Comfy Manager, the absolute reluctance to incorporate ANY custom nodes and the f...-up settings! PLEASE ROLL BACK!!!
Actual Behavior
Most of my workflows are tecnically working again after 13 Hours of cussing, craying and throwing things around... just to find out, that my image generation speed is non existant (Flux.1(Dev) took 17 min for about 20 per cent in KSampler on the standart workflow with NO CUSTOM NODES!!!)
Steps to Reproduce
flux_dev_full_text_to_image.json
Debug Logs
The darn thing has no errors, its technically working, just f...in slow!!!
Other
No response
Hey,
So I ran the default flux1-dev workflow and I have no VRAM issues on the default workflow.
What is your image resolution and can you confirm the variant of flux?
https://huggingface.co/Comfy-Org/flux1-dev/tree/main
If you are using built in gfx, we can see that from your log. You can also see it from task manager which tabs the different GPUs and based on the activity during ksampler.
To see your logs (in non error case) expand the ">_ Console" button. See my screenshot below. copy-paste everything from if there's an issue in your load or GPU identification we can figure it out.
I just ran it on my 5090 and it comfortably fitting under 16GB.
You can try with --disable-smart-memory and --reserve-vram 2 startup flags, but both of these are bug workarounds. If they work for you please report with workflow and we can fix it as a VRAM estimation bug.
Ok! I see your attached wf. You are on the FP16 model. Game changer. Let me download that and try. You could try with the fp8 checkpoint model instead, even if you leave the VAE and clip unattached and it has a pretty good chance of running fast again.
I have that model and gave your WF a go on my 3060 and 5090 (with VRAM down adjustment to match your 5080). I cant reproduce any slowness or VRAM mis-estimations and I have tested for regression since 3.76.
Paste your logs and task manager screenshots for the active GPU for the point of time when its slow and hopefully there is something to see we can help with.
Try --reserve-vram 2 as a potential workaround just in case.
Adding extra search path custom_nodes C:\Users\rpapi\Documents\ComfyUI\custom_nodes
Adding extra search path download_model_base C:\Users\rpapi\Documents\ComfyUI\models
Adding extra search path custom_nodes C:\Users\rpapi\AppData\Local\Programs\ComfyUI\resources\ComfyUI\custom_nodes
Setting output directory to: C:\Users\rpapi\Documents\ComfyUI\output
Setting input directory to: C:\Users\rpapi\Documents\ComfyUI\input
Setting user directory to: C:\Users\rpapi\Documents\ComfyUI\user
[START] Security scan
[DONE] Security scan
** ComfyUI startup time: 2025-12-12 18:55:42.253
** Platform: Windows
** Python version: 3.12.11 (main, Aug 18 2025, 19:17:54) [MSC v.1944 64 bit (AMD64)]
** Python executable: C:\Users\rpapi\Documents\ComfyUI.venv\Scripts\python.exe
** ComfyUI Path: C:\Users\rpapi\AppData\Local\Programs\ComfyUI\resources\ComfyUI
** ComfyUI Base Folder Path: C:\Users\rpapi\AppData\Local\Programs\ComfyUI\resources\ComfyUI
** User directory: C:\Users\rpapi\Documents\ComfyUI\user
** ComfyUI-Manager config path: C:\Users\rpapi\Documents\ComfyUI\user_manager\config.ini
** Log path: C:\Users\rpapi\Documents\ComfyUI\user\comfyui.log
[PRE] ComfyUI-Manager
Set cuda device to: 0
C:\Users\rpapi\Documents\ComfyUI.venv\Lib\site-packages\torch\cuda_init.py:63: FutureWarning: The pynvml package is deprecated. Please install nvidia-ml-py instead. If you did not install pynvml directly, please report this to the maintainers of the package that installed pynvml for you.
import pynvml # type: ignore[import]
Checkpoint files will always be loaded safely.
Total VRAM 16303 MB, total RAM 63167 MB
pytorch version: 2.8.0+cu129
Forcing FP32, if this improves things please report it.
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 5080 Laptop GPU : cudaMallocAsync
Using async weight offloading with 2 streams
Enabled pinned memory 28425.0
Using sub quadratic optimization for attention, if you have memory or speed issues try using: --use-split-cross-attention
Python version: 3.12.11 (main, Aug 18 2025, 19:17:54) [MSC v.1944 64 bit (AMD64)]
ComfyUI version: 0.4.0
[Prompt Server] web root: C:\Users\rpapi\AppData\Local\Programs\ComfyUI\resources\ComfyUI\web_custom_versions\desktop_app
[START] ComfyUI-Manager
[ComfyUI-Manager] network_mode: public
Total VRAM 16303 MB, total RAM 63167 MB
pytorch version: 2.8.0+cu129
Forcing FP32, if this improves things please report it.
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce RTX 5080 Laptop GPU : cudaMallocAsync
Using async weight offloading with 2 streams
Enabled pinned memory 28425.0
[Crystools INFO] Crystools version: 1.27.4
[Crystools INFO] Platform release: 11
[Crystools INFO] JETSON: Not detected.
[Crystools INFO] CPU: AMD Ryzen 9 9955HX 16-Core Processor - Arch: AMD64 - OS: Windows 11
[Crystools INFO] pynvml (NVIDIA) initialized.
[Crystools INFO] GPU/s:
[Crystools INFO] 0) NVIDIA GeForce RTX 5080 Laptop GPU
[Crystools INFO] NVIDIA Driver: 591.44
FETCH ComfyRegistry Data: 5/112
[ComfyUI-Easy-Use] server: v1.3.4 Loaded
[ComfyUI-Easy-Use] web root: C:\Users\rpapi\Documents\ComfyUI\custom_nodes\comfyui-easy-use\web_version/v2 Loaded
Traceback (most recent call last):
File "C:\Users\rpapi\AppData\Local\Programs\ComfyUI\resources\ComfyUI\nodes.py", line 2149, in load_custom_node
module_spec.loader.exec_module(module)
File "
Cannot import C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-GGUF module for custom nodes: No module named 'gguf'
Loading: ComfyUI-Impact-Pack (V8.28)
[Impact Pack] Wildcard total size (0.00 MB) is within cache limit (50.00 MB). Using full cache mode. [Impact Pack] Wildcards loading done.
Loading: ComfyUI-Impact-Subpack (V1.3.5)
[Impact Pack/Subpack] Using folder_paths to determine whitelist path: C:\Users\rpapi\Documents\ComfyUI\user\default\ComfyUI-Impact-Subpack\model-whitelist.txt
[Impact Pack/Subpack] Ensured whitelist directory exists: C:\Users\rpapi\Documents\ComfyUI\user\default\ComfyUI-Impact-Subpack
[Impact Pack/Subpack] Loaded 0 model(s) from whitelist: C:\Users\rpapi\Documents\ComfyUI\user\default\ComfyUI-Impact-Subpack\model-whitelist.txt
[Impact Subpack] ultralytics_bbox: C:\Users\rpapi\Documents\ComfyUI\models\ultralytics\bbox
[Impact Subpack] ultralytics_segm: C:\Users\rpapi\Documents\ComfyUI\models\ultralytics\segm
[Impact Subpack] ultralytics_bbox: C:\Users\rpapi\Documents\ComfyUI\models\ultralytics\bbox
[Impact Subpack] ultralytics_segm: C:\Users\rpapi\Documents\ComfyUI\models\ultralytics\segm
======================================== ComfyUI-nunchaku Initialization ========================================
Nunchaku version: Package 'nunchaku' not found.
ComfyUI-nunchaku version: 1.0.2
Could not parse nunchaku version: Package 'nunchaku' not found.. Please ensure you have at least v1.0.0.
Node NunchakuFluxDiTLoader import failed:
Traceback (most recent call last):
File "C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-nunchaku_init_.py", line 82, in
from .nodes.models.flux import NunchakuFluxDiTLoader
File "C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-nunchaku\nodes\models\flux.py", line 16, in
from nunchaku import NunchakuFluxTransformer2dModel
ModuleNotFoundError: No module named 'nunchaku'
Node NunchakuQwenImageDiTLoader import failed:
Traceback (most recent call last):
File "C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-nunchaku_init_.py", line 89, in
from .nodes.models.qwenimage import NunchakuQwenImageDiTLoader
File "C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-nunchaku\nodes\models\qwenimage.py", line 13, in
from nunchaku.utils import check_hardware_compatibility, get_gpu_memory, get_precision_from_quantization_config
ModuleNotFoundError: No module named 'nunchaku'
Nodes NunchakuFluxLoraLoader and NunchakuFluxLoraStack import failed:
Traceback (most recent call last):
File "C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-nunchaku_init_.py", line 96, in
from .nodes.lora.flux import NunchakuFluxLoraLoader, NunchakuFluxLoraStack
File "C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-nunchaku\nodes\lora\flux.py", line 10, in
from nunchaku.lora.flux import to_diffusers
ModuleNotFoundError: No module named 'nunchaku'
Nodes NunchakuTextEncoderLoader and NunchakuTextEncoderLoaderV2 import failed:
Traceback (most recent call last):
File "C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-nunchaku_init_.py", line 104, in
from .nodes.models.text_encoder import NunchakuTextEncoderLoader, NunchakuTextEncoderLoaderV2
File "C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-nunchaku\nodes\models\text_encoder.py", line 18, in
from nunchaku import NunchakuT5EncoderModel
ModuleNotFoundError: No module named 'nunchaku'
Nodes NunchakuPulidApply,NunchakuPulidLoader, NunchakuPuLIDLoaderV2 and NunchakuFluxPuLIDApplyV2 import failed:
Traceback (most recent call last):
File "C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-nunchaku_init_.py", line 119, in
from .nodes.models.pulid import (
File "C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-nunchaku\nodes\models\pulid.py", line 20, in
from nunchaku.models.pulid.pulid_forward import pulid_forward
ModuleNotFoundError: No module named 'nunchaku'
Nodes NunchakuFluxIPAdapterApply and NunchakuIPAdapterLoader import failed:
Traceback (most recent call last):
File "C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-nunchaku_init_.py", line 136, in
from .nodes.models.ipadapter import NunchakuFluxIPAdapterApply, NunchakuIPAdapterLoader
File "C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-nunchaku\nodes\models\ipadapter.py", line 14, in
from nunchaku.models.ip_adapter.diffusers_adapters import apply_IPA_on_pipe
ModuleNotFoundError: No module named 'nunchaku'
Node NunchakuModelMerger import failed:
Traceback (most recent call last):
File "C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-nunchaku_init_.py", line 144, in
from .nodes.tools.merge_safetensors import NunchakuModelMerger
File "C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-nunchaku\nodes\tools\merge_safetensors.py", line 10, in
from nunchaku.merge_safetensors import merge_safetensors
ModuleNotFoundError: No module named 'nunchaku'
'nunchaku_versions.json' not found. Node will start in minimal mode. Use 'update node' to fetch versions.
NunchakuQwenImageDiTLoader import failed:
Traceback (most recent call last):
File "C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-nunchaku_init_.py", line 89, in NunchakuFluxLoraLoader and NunchakuFluxLoraStack import failed:
Traceback (most recent call last):
File "C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-nunchaku_init_.py", line 96, in NunchakuTextEncoderLoader and NunchakuTextEncoderLoaderV2 import failed:
Traceback (most recent call last):
File "C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-nunchaku_init_.py", line 104, in NunchakuPulidApply,NunchakuPulidLoader, NunchakuPuLIDLoaderV2 and NunchakuFluxPuLIDApplyV2 import failed:
Traceback (most recent call last):
File "C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-nunchaku_init_.py", line 119, in NunchakuFluxIPAdapterApply and NunchakuIPAdapterLoader import failed:
Traceback (most recent call last):
File "C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-nunchaku_init_.py", line 136, in NunchakuModelMerger import failed:
Traceback (most recent call last):
File "C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-nunchaku_init_.py", line 144, in FETCH ComfyRegistry Data: 10/112
[ReActor] - STATUS - Running v0.6.2-b1 in ComfyUI Torch version: 2.8.0+cu129 [tinyterraNodes] Loaded
Initializing ControlAltAI Nodes Using sub quadratic optimization for attention, if you have memory or speed issues try using: --use-split-cross-attention (RES4LYF) Init (RES4LYF debug) Displaying sampler category (RES4LYF) Importing beta samplers. (RES4LYF) Importing legacy samplers.
[rgthree-comfy] Loaded 48 extraordinary nodes. 🎉
[rgthree-comfy] ComfyUI's new Node 2.0 rendering may be incompatible with some rgthree-comfy nodes and features, breaking some rendering as well as losing the ability to access a node's properties (a vital part of many nodes). It also appears to run MUCH more slowly spiking CPU usage and causing jankiness and unresponsiveness, especially with large workflows. Personally I am not planning to use the new Nodes 2.0 and, unfortunately, am not able to invest the time to investigate and overhaul rgthree-comfy where needed. If you have issues when Nodes 2.0 is enabled, I'd urge you to switch it off as well and join me in hoping ComfyUI is not planning to deprecate the existing, stable canvas rendering all together.
WAS Node Suite: OpenCV Python FFMPEG support is enabled
WAS Node Suite Warning: ffmpeg_bin_path is not set in C:\Users\rpapi\Documents\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json config file. Will attempt to use system ffmpeg binaries if available.
WAS Node Suite: Finished. Loaded 220 nodes successfully.
"Believe you deserve it and the universe will serve it." - Unknown
Error: modelscope not installed. Please run: pip install modelscope Blocked by policy: C:\Users\rpapi\AppData\Local\Programs\ComfyUI\resources\ComfyUI\custom_nodes\ComfyUI-Manager
Import times for custom nodes: 0.0 seconds: C:\Users\rpapi\AppData\Local\Programs\ComfyUI\resources\ComfyUI\custom_nodes\websocket_image_save.py 0.0 seconds: C:\Users\rpapi\Documents\ComfyUI\custom_nodes\qweneditutils 0.0 seconds: C:\Users\rpapi\Documents\ComfyUI\custom_nodes\z-image-turbo 0.0 seconds: C:\Users\rpapi\Documents\ComfyUI\custom_nodes\z-image-utilities 0.0 seconds: C:\Users\rpapi\Documents\ComfyUI\custom_nodes\comfyui_ipadapter_plus 0.0 seconds (IMPORT FAILED): C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-GGUF 0.0 seconds: C:\Users\rpapi\Documents\ComfyUI\custom_nodes\comfyui-various 0.0 seconds: C:\Users\rpapi\Documents\ComfyUI\custom_nodes\comfyui_essentials 0.0 seconds: C:\Users\rpapi\Documents\ComfyUI\custom_nodes\comfyui_ultimatesdupscale 0.0 seconds: C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-Chibi-Nodes 0.0 seconds: C:\Users\rpapi\Documents\ComfyUI\custom_nodes\controlaltai-nodes 0.0 seconds: C:\Users\rpapi\Documents\ComfyUI\custom_nodes\comfyui-kjnodes 0.0 seconds: C:\Users\rpapi\Documents\ComfyUI\custom_nodes\rgthree-comfy 0.1 seconds: C:\Users\rpapi\Documents\ComfyUI\custom_nodes\comfyui_tinyterranodes 0.1 seconds: C:\Users\rpapi\Documents\ComfyUI\custom_nodes\comfyui-impact-subpack 0.2 seconds: C:\Users\rpapi\Documents\ComfyUI\custom_nodes\comfyui-impact-pack 0.3 seconds: C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-nunchaku 0.3 seconds: C:\Users\rpapi\Documents\ComfyUI\custom_nodes\ComfyUI-Crystools 0.3 seconds: C:\Users\rpapi\Documents\ComfyUI\custom_nodes\RES4LYF 1.2 seconds: C:\Users\rpapi\Documents\ComfyUI\custom_nodes\was-node-suite-comfyui 1.3 seconds: C:\Users\rpapi\Documents\ComfyUI\custom_nodes\comfyui-reactor 4.3 seconds: C:\Users\rpapi\Documents\ComfyUI\custom_nodes\comfyui-easy-use
Failed to initialize database. Please ensure you have installed the latest requirements. If the error persists, please report this as in future the database will be required: (sqlite3.OperationalError) unable to open database file (Background on this error at: https://sqlalche.me/e/20/e3q8) Starting server
To see the GUI go to: http://127.0.0.1:8010 FETCH ComfyRegistry Data: 15/112 comfyui-frontend-package not found in requirements.txt [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui/components/buttonGroup.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version. [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version. [DEPRECATION WARNING] Detected import of deprecated legacy API: /extensions/core/clipspace.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version. (RES4LYF debug) Debug logging enabled (RES4LYF debug) Display Category enabled (RES4LYF debug) Displaying sampler category FETCH ComfyRegistry Data: 20/112 FETCH ComfyRegistry Data: 25/112
It took a while to find this... The pynvml package is deprecated. Please install nvidia-ml-py instead. -> Tried pip -update and it told me the drivers are up to date. I still have huge problems getting some custom nodes installed... see log.
My system: Gaming-Laptop (64Gig Ram, 3 Weeks old) with Windows 24H2, tried Comfy-installs under firefox and chrome, 11th install through and no change in this terrible lag... [Crystools INFO] CPU: AMD Ryzen 9 9955HX 16-Core Processor - Arch: AMD64 - OS: Windows 11 [Crystools INFO] pynvml (NVIDIA) initialized. [Crystools INFO] GPU/s: [Crystools INFO] 0) NVIDIA GeForce RTX 5080 Laptop GPU [Crystools INFO] NVIDIA Driver: 591.44
THANK YOU FOR TRYING TO HELP!!!!
Sorry for the strange increase in font size. I just copy and pasted... I am trying the 2 Gig reserve thing. On the Flux.1(Dev) workflow, the regular Flux.1(Dev) stopped after 158 sec's with an error message out-of-memory. Never had that before the update. I loaded the fp8's and tried again. --> Here is the log Requested to load FluxClipModel_ loaded completely; 95367431640625005117571072.00 MB usable, 4777.54 MB loaded, full load: True CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cuda:0, dtype: torch.float16 model weight dtype torch.float8_e4m3fn, manual cast: torch.bfloat16 model_type FLUX Requested to load Flux 0 models unloaded. loaded completely; 95367431640625005117571072.00 MB usable, 11350.07 MB loaded, full load: True (RES4LYF) rk_type: res_2s (RES4LYF debug) SDE noise seed: 246293614144651 (set via torch.initial_seed()+1) (RES4LYF debug) SDE noise seed: -1 100%|██████████| 30/30 [08:10<00:00, 16.35s/it] Requested to load AutoencodingEngine Unloaded partially: 4112.16 MB freed, 7237.95 MB remains loaded, 180.06 MB buffer reserved, lowvram patches: 0 Unloaded partially: 3870.81 MB freed, 3367.13 MB remains loaded, 270.09 MB buffer reserved, lowvram patches: 0 0 models unloaded. loaded completely; 95367431640625005117571072.00 MB usable, 159.87 MB loaded, full load: True Prompt executed in 589.14 seconds
--> The KSampler alone took 493 seconds to process... someone is clearly standing on the break here! :-(
I am experiencing similar issues since one of the recent updates. I have noticed my vram usage (16gb 4080 super) overcapping now across several different models (ZIT, qwen IE 2509, and Wan 2.2 are what I have used so far). It doesn't happen immediately, though. If I restart my pc, the first handful of generations are quick and the vram usage is fine, but it gradually gets worse and worse.
It even seems to happen sometimes in back-to-back jobs - For example, say I submit 3 jobs to the queue, all with the same settings only a different seed. The first job renders quick with no vram issues, then the second job overcaps the vram and takes forever, the third job may go back to a fast render, or it may also have vram issues. It seems somewhat random,.
I gave up, installed ver.:0.3.76 as windows_portable and it just works beautyfully... Now having direct comparison between both versions, I noticed that the loading of models/clips takes considerably longer (talking about 10fold the time!!!), also I run out of memory on BF16/FP16 and of course on FP32 models. My suspicion is a memory or pipeline problem knocking my system off balance, so it might be a driver issue, however, my locally installed NVidea drivers are up2date. Also strange is that the graphics card shows 100% GPU usage, but it does not get warm. It idels on 60 degrees which means it is barely working. For me, this Upgrade is a no-go, I am waiting it out hoping on the next one. I suspect there is no possible solution or work-around. GOD DID I MISS THE MANAGER BUTTON!!!! (and it is working installing the nodes I need!) ;-)