[Request] cudaMallocAsync support for checkPoolLiveAllocations for use in FBCache + Compile model max-autotune mode
Your question
When using FBCache + Compiler, if compile model is set to max-autotune, KSampler will crash with the following error: cudaMallocAsync does not yet support checkPoolLiveAllocations
Steps to replicate Launch comfyUI (by default it seems to launch with cudaMallocAsync) Install wavespeed and/ or teacache Add their FBCache node and compiler Set compiler to autotune (if using wavespeed compiler, in the [mode] box type max-autotune) If using teacache node, set mode to max-autotune Link everything to KSampler Load SDXL Model Generate image
Get error
Pytorch 2.6.0+cu12.6
Logs
# ComfyUI Error Report
## Error Details
- **Node ID:** 477
- **Node Type:** KSampler
- **Exception Type:** RuntimeError
- **Exception Message:** cudaMallocAsync does not yet support checkPoolLiveAllocations. If you need it, please file an issue describing your use case.
## Stack Trace
File "F:\Project\ComfyUI\execution.py", line 327, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\custom_nodes\Comfy-WaveSpeed\first_block_cache.py", line 101, in new_get_output_data
out = get_output_data(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\execution.py", line 202, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\execution.py", line 174, in _map_node_over_list
process_inputs(input_dict, i)
File "F:\Project\ComfyUI\execution.py", line 163, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\nodes.py", line 1540, in sample
return common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\nodes.py", line 1507, in common_ksampler
samples = comfy.sample.sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\custom_nodes\comfyui-impact-pack\modules\impact\sample_error_enhancer.py", line 22, in informative_sample
raise e
File "F:\Project\ComfyUI\custom_nodes\comfyui-impact-pack\modules\impact\sample_error_enhancer.py", line 9, in informative_sample
return original_sample(*args, **kwargs) # This code helps interpret error messages that occur within exceptions but does not have any impact on other operations.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\sample.py", line 45, in sample
samples = sampler.sample(noise, positive, negative, cfg=cfg, latent_image=latent_image, start_step=start_step, last_step=last_step, force_full_denoise=force_full_denoise, denoise_mask=noise_mask, sigmas=sigmas, callback=callback, disable_pbar=disable_pbar, seed=seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\samplers.py", line 1110, in sample
return sample(self.model, noise, positive, negative, cfg, self.device, sampler, sigmas, self.model_options, latent_image=latent_image, denoise_mask=denoise_mask, callback=callback, disable_pbar=disable_pbar, seed=seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\samplers.py", line 1000, in sample
return cfg_guider.sample(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\samplers.py", line 985, in sample
output = executor.execute(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\samplers.py", line 953, in outer_sample
output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\samplers.py", line 936, in inner_sample
samples = executor.execute(self, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\samplers.py", line 715, in sample
samples = self.sampler_function(model_k, noise, sigmas, extra_args=extra_args, callback=k_callback, disable=disable_pbar, **self.extra_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\utils\_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\k_diffusion\sampling.py", line 161, in sample_euler
denoised = model(x, sigma_hat * s_in, **extra_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\samplers.py", line 379, in __call__
out = self.inner_model(x, sigma, model_options=model_options, seed=seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\samplers.py", line 916, in __call__
return self.predict_noise(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\samplers.py", line 919, in predict_noise
return sampling_function(self.inner_model, x, timestep, self.conds.get("negative", None), self.conds.get("positive", None), self.cfg, model_options=model_options, seed=seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\samplers.py", line 359, in sampling_function
out = calc_cond_batch(model, conds, x, timestep, model_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\samplers.py", line 195, in calc_cond_batch
return executor.execute(model, conds, x_in, timestep, model_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\samplers.py", line 306, in _calc_cond_batch
output = model_options['model_function_wrapper'](model.apply_model, {"input": input_x, "timestep": timestep_, "c": c, "cond_or_uncond": cond_or_uncond}).chunk(batch_chunks)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\custom_nodes\Comfy-WaveSpeed\fbcache_nodes.py", line 204, in model_unet_function_wrapper
raise exc from None
File "F:\Project\ComfyUI\custom_nodes\Comfy-WaveSpeed\fbcache_nodes.py", line 199, in model_unet_function_wrapper
result = model_function(input, timestep, **c)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\model_base.py", line 132, in apply_model
return comfy.patcher_extension.WrapperExecutor.new_class_executor(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\model_base.py", line 163, in _apply_model
model_output = self.diffusion_model(xc, t, context=context, control=control, transformer_options=transformer_options, **extra_conds).float()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\nn\modules\module.py", line 1739, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\nn\modules\module.py", line 1750, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_dynamo\eval_frame.py", line 574, in _fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\nn\modules\module.py", line 1739, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\nn\modules\module.py", line 1750, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\ldm\modules\diffusionmodules\openaimodel.py", line 831, in forward
return comfy.patcher_extension.WrapperExecutor.new_class_executor(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\custom_nodes\Comfy-WaveSpeed\first_block_cache.py", line 488, in unet_model__forward
t_emb = timestep_embedding(timesteps,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\ldm\modules\diffusionmodules\util.py", line 229, in timestep_embedding
def timestep_embedding(timesteps, dim, max_period=10000, repeat_only=False):
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_dynamo\eval_frame.py", line 745, in _fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_functorch\aot_autograd.py", line 1184, in forward
return compiled_fn(full_args)
^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_functorch\_aot_autograd\runtime_wrappers.py", line 323, in runtime_wrapper
all_outs = call_func_at_runtime_with_args(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_functorch\_aot_autograd\utils.py", line 126, in call_func_at_runtime_with_args
out = normalize_as_list(f(args))
^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_functorch\_aot_autograd\runtime_wrappers.py", line 672, in inner_fn
outs = compiled_fn(args)
^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_functorch\_aot_autograd\runtime_wrappers.py", line 490, in wrapper
return compiled_fn(runtime_args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_inductor\output_code.py", line 466, in __call__
return self.current_callable(inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_inductor\compile_fx.py", line 1208, in run
return compiled_fn(new_inputs)
^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_inductor\cudagraph_trees.py", line 398, in deferred_cudagraphify
fn, out = cudagraphify(model, inputs, new_static_input_idxs, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_inductor\cudagraph_trees.py", line 428, in cudagraphify
return manager.add_function(
^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_inductor\cudagraph_trees.py", line 2253, in add_function
return fn, fn(inputs)
^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_inductor\cudagraph_trees.py", line 1947, in run
out = self._run(new_inputs, function_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_inductor\cudagraph_trees.py", line 2055, in _run
out = self.run_eager(new_inputs, function_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_inductor\cudagraph_trees.py", line 2219, in run_eager
return node.run(new_inputs)
^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_inductor\cudagraph_trees.py", line 636, in run
check_memory_pool(self.device_index, self.cuda_graphs_pool, refs)
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_inductor\cudagraph_trees.py", line 1752, in check_memory_pool
if torch._C._cuda_checkPoolLiveAllocations(device, pool_id, unique_storages):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
## System Information
- **ComfyUI Version:** 0.3.14
- **Arguments:** main.py
- **OS:** nt
- **Python Version:** 3.12.9 | packaged by Anaconda, Inc. | (main, Feb 6 2025, 18:49:16) [MSC v.1929 64 bit (AMD64)]
- **Embedded Python:** false
- **PyTorch Version:** 2.6.0+cu126
## Devices
- **Name:** cuda:0 NVIDIA GeForce RTX 3070 : cudaMallocAsync
- **Type:** cuda
- **VRAM Total:** 8589410304
- **VRAM Free:** 1628063968
- **Torch VRAM Total:** 5570035712
- **Torch VRAM Free:** 26560736
## Logs
2025-02-17T00:31:59.171801 - Adding extra search path checkpoints F:\StabilityMatrix\Models\StableDiffusion
2025-02-17T00:31:59.171801 - Adding extra search path vae F:\StabilityMatrix\Models\VAE
2025-02-17T00:31:59.171801 - Adding extra search path loras F:\StabilityMatrix\Models\Lora
2025-02-17T00:31:59.171801 - Adding extra search path loras F:\StabilityMatrix\Models\LyCORIS
2025-02-17T00:31:59.171801 - Adding extra search path upscale_models F:\StabilityMatrix\Models\ESRGAN
2025-02-17T00:31:59.171801 - Adding extra search path upscale_models F:\StabilityMatrix\Models\RealESRGAN
2025-02-17T00:31:59.172805 - Adding extra search path upscale_models F:\StabilityMatrix\Models\SwinIR
2025-02-17T00:31:59.172805 - Adding extra search path embeddings F:\StabilityMatrix\Models\TextualInversion
2025-02-17T00:31:59.172805 - Adding extra search path hypernetworks F:\StabilityMatrix\Models\Hypernetwork
2025-02-17T00:31:59.172805 - Adding extra search path controlnet F:\StabilityMatrix\Models\ControlNet
2025-02-17T00:31:59.172805 - Adding extra search path controlnet F:\StabilityMatrix\Models\T2IAdapter
2025-02-17T00:31:59.172805 - Adding extra search path clip F:\StabilityMatrix\Models\CLIP
2025-02-17T00:31:59.172805 - Adding extra search path clip_vision F:\StabilityMatrix\Models\InvokeClipVision
2025-02-17T00:31:59.172805 - Adding extra search path diffusers F:\StabilityMatrix\Models\Diffusers
2025-02-17T00:31:59.172805 - Adding extra search path gligen F:\StabilityMatrix\Models\GLIGEN
2025-02-17T00:31:59.172805 - Adding extra search path vae_approx F:\StabilityMatrix\Models\ApproxVAE
2025-02-17T00:31:59.172805 - Adding extra search path ipadapter F:\StabilityMatrix\Models\IpAdapter
2025-02-17T00:31:59.172805 - Adding extra search path ipadapter F:\StabilityMatrix\Models\InvokeIpAdapters15
2025-02-17T00:31:59.172805 - Adding extra search path ipadapter F:\StabilityMatrix\Models\InvokeIpAdaptersXl
2025-02-17T00:31:59.172805 - Adding extra search path prompt_expansion F:\StabilityMatrix\Models\PromptExpansion
2025-02-17T00:31:59.172805 - Adding extra search path ultralytics F:\StabilityMatrix\Models\Ultralytics
2025-02-17T00:31:59.172805 - Adding extra search path ultralytics_bbox F:\StabilityMatrix\Models\Ultralytics\bbox
2025-02-17T00:31:59.172805 - Adding extra search path ultralytics_segm F:\StabilityMatrix\Models\Ultralytics\segm
2025-02-17T00:31:59.172805 - Adding extra search path sams F:\StabilityMatrix\Models\Sams
2025-02-17T00:31:59.172805 - Adding extra search path diffusion_models F:\StabilityMatrix\Models\unet
2025-02-17T00:32:00.165926 - [START] Security scan2025-02-17T00:32:00.165926 -
2025-02-17T00:32:00.983274 - [DONE] Security scan2025-02-17T00:32:00.983274 -
2025-02-17T00:32:01.082838 - ## ComfyUI-Manager: installing dependencies done.2025-02-17T00:32:01.082838 -
2025-02-17T00:32:01.082838 - ** ComfyUI startup time:2025-02-17T00:32:01.082838 - 2025-02-17T00:32:01.082838 - 2025-02-17 00:32:01.0822025-02-17T00:32:01.082838 -
2025-02-17T00:32:01.082838 - ** Platform:2025-02-17T00:32:01.082838 - 2025-02-17T00:32:01.082838 - Windows2025-02-17T00:32:01.082838 -
2025-02-17T00:32:01.082838 - ** Python version:2025-02-17T00:32:01.082838 - 2025-02-17T00:32:01.082838 - 3.12.9 | packaged by Anaconda, Inc. | (main, Feb 6 2025, 18:49:16) [MSC v.1929 64 bit (AMD64)]2025-02-17T00:32:01.082838 -
2025-02-17T00:32:01.082838 - ** Python executable:2025-02-17T00:32:01.083842 - 2025-02-17T00:32:01.083842 - F:\Project\ComfyUI\venv\python.exe2025-02-17T00:32:01.083842 -
2025-02-17T00:32:01.083842 - ** ComfyUI Path:2025-02-17T00:32:01.083842 - 2025-02-17T00:32:01.083842 - F:\Project\ComfyUI2025-02-17T00:32:01.083842 -
2025-02-17T00:32:01.083842 - ** ComfyUI Base Folder Path:2025-02-17T00:32:01.083842 - 2025-02-17T00:32:01.083842 - F:\Project\ComfyUI2025-02-17T00:32:01.083842 -
2025-02-17T00:32:01.083842 - ** User directory:2025-02-17T00:32:01.083842 - 2025-02-17T00:32:01.083842 - F:\Project\ComfyUI\user2025-02-17T00:32:01.083842 -
2025-02-17T00:32:01.083842 - ** ComfyUI-Manager config path:2025-02-17T00:32:01.084845 - 2025-02-17T00:32:01.084845 - F:\Project\ComfyUI\user\default\ComfyUI-Manager\config.ini2025-02-17T00:32:01.084845 -
2025-02-17T00:32:01.084845 - ** Log path:2025-02-17T00:32:01.084845 - 2025-02-17T00:32:01.084845 - F:\Project\ComfyUI\user\comfyui.log2025-02-17T00:32:01.084845 -
2025-02-17T00:32:02.102439 -
Prestartup times for custom nodes:
2025-02-17T00:32:02.102439 - 0.0 seconds: F:\Project\ComfyUI\custom_nodes\comfyui-easy-use
2025-02-17T00:32:02.102439 - 0.0 seconds: F:\Project\ComfyUI\custom_nodes\rgthree-comfy
2025-02-17T00:32:02.102439 - 2.9 seconds: F:\Project\ComfyUI\custom_nodes\comfyui-manager
2025-02-17T00:32:02.102439 -
2025-02-17T00:32:03.730805 - Checkpoint files will always be loaded safely.
2025-02-17T00:32:03.842178 - Total VRAM 8192 MB, total RAM 32677 MB
2025-02-17T00:32:03.842178 - pytorch version: 2.6.0+cu126
2025-02-17T00:32:03.842178 - Set vram state to: NORMAL_VRAM
2025-02-17T00:32:03.843184 - Device: cuda:0 NVIDIA GeForce RTX 3070 : cudaMallocAsync
2025-02-17T00:32:05.167183 - Using pytorch attention
2025-02-17T00:32:06.388196 - ComfyUI version: 0.3.14
2025-02-17T00:32:06.426605 - [Prompt Server] web root: F:\Project\ComfyUI\web
2025-02-17T00:32:08.397421 - [34m[ComfyUI-Easy-Use] server: [0mv1.2.8 [92mLoaded[0m2025-02-17T00:32:08.397421 -
2025-02-17T00:32:08.397421 - [34m[ComfyUI-Easy-Use] web root: [0mF:\Project\ComfyUI\custom_nodes\comfyui-easy-use\web_version/v2 [92mLoaded[0m2025-02-17T00:32:08.397421 -
2025-02-17T00:32:08.400932 - ### Loading: ComfyUI-Impact-Pack (V8.8.1)2025-02-17T00:32:08.400932 -
2025-02-17T00:32:09.375193 - ### Loading: ComfyUI-Impact-Subpack (V1.2.9)
2025-02-17T00:32:10.450916 - [Impact Pack] Wildcards loading done.2025-02-17T00:32:10.450916 -
2025-02-17T00:32:10.532481 - [Impact Subpack] ultralytics_bbox: F:\Project\ComfyUI\models\ultralytics\bbox
2025-02-17T00:32:10.532481 - [Impact Subpack] ultralytics_segm: F:\Project\ComfyUI\models\ultralytics\segm
2025-02-17T00:32:10.533484 - ### Loading: ComfyUI-Inspire-Pack (V1.13.1)2025-02-17T00:32:10.533484 -
2025-02-17T00:32:10.592103 - ### Loading: ComfyUI-Manager (V3.22.1)
2025-02-17T00:32:10.593107 - [ComfyUI-Manager] network_mode: public
2025-02-17T00:32:10.714526 - ### ComfyUI Version: v0.3.14-29-gd0399f43 | Released on '2025-02-16'
2025-02-17T00:32:10.982860 -
2025-02-17T00:32:10.982860 - [92m[rgthree-comfy] Loaded 42 epic nodes. 🎉[00m2025-02-17T00:32:10.982860 -
2025-02-17T00:32:10.982860 -
2025-02-17T00:32:11.046409 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
2025-02-17T00:32:11.055970 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
2025-02-17T00:32:11.080997 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
2025-02-17T00:32:11.120921 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
2025-02-17T00:32:11.154599 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
2025-02-17T00:32:11.709523 - [34mWAS Node Suite: [0mOpenCV Python FFMPEG support is enabled[0m2025-02-17T00:32:11.709523 -
2025-02-17T00:32:11.709523 - [34mWAS Node Suite [93mWarning: [0m`ffmpeg_bin_path` is not set in `F:\Project\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json` config file. Will attempt to use system ffmpeg binaries if available.[0m2025-02-17T00:32:11.709523 -
2025-02-17T00:32:12.187984 - [34mWAS Node Suite: [0mFinished.[0m [32mLoaded[0m [0m220[0m [32mnodes successfully.[0m2025-02-17T00:32:12.187984 -
2025-02-17T00:32:12.187984 -
[3m[93m"Failure is the opportunity to begin again more intelligently."[0m[3m - Henry Ford[0m
2025-02-17T00:32:12.187984 -
2025-02-17T00:32:12.190998 -
Import times for custom nodes:
2025-02-17T00:32:12.190998 - 0.0 seconds: F:\Project\ComfyUI\custom_nodes\websocket_image_save.py
2025-02-17T00:32:12.190998 - 0.0 seconds: F:\Project\ComfyUI\custom_nodes\cg-use-everywhere
2025-02-17T00:32:12.190998 - 0.0 seconds: F:\Project\ComfyUI\custom_nodes\Comfy-WaveSpeed
2025-02-17T00:32:12.190998 - 0.0 seconds: F:\Project\ComfyUI\custom_nodes\teacache
2025-02-17T00:32:12.190998 - 0.0 seconds: F:\Project\ComfyUI\custom_nodes\comfyui_ultimatesdupscale
2025-02-17T00:32:12.190998 - 0.0 seconds: F:\Project\ComfyUI\custom_nodes\rgthree-comfy
2025-02-17T00:32:12.190998 - 0.1 seconds: F:\Project\ComfyUI\custom_nodes\comfyui-inspire-pack
2025-02-17T00:32:12.190998 - 0.4 seconds: F:\Project\ComfyUI\custom_nodes\ComfyUI-Detail-Daemon
2025-02-17T00:32:12.192220 - 0.4 seconds: F:\Project\ComfyUI\custom_nodes\comfyui-manager
2025-02-17T00:32:12.192220 - 0.9 seconds: F:\Project\ComfyUI\custom_nodes\comfyui-impact-pack
2025-02-17T00:32:12.192220 - 1.1 seconds: F:\Project\ComfyUI\custom_nodes\comfyui-easy-use
2025-02-17T00:32:12.192220 - 1.2 seconds: F:\Project\ComfyUI\custom_nodes\was-node-suite-comfyui
2025-02-17T00:32:12.192220 - 1.2 seconds: F:\Project\ComfyUI\custom_nodes\comfyui-impact-subpack
2025-02-17T00:32:12.192220 -
2025-02-17T00:32:12.204782 - Starting server
2025-02-17T00:32:12.204782 - To see the GUI go to: http://127.0.0.1:8188
2025-02-17T00:32:15.124553 - FETCH ComfyRegistry Data: 5/332025-02-17T00:32:15.124553 -
2025-02-17T00:32:19.389404 - FETCH ComfyRegistry Data: 10/332025-02-17T00:32:19.389404 -
2025-02-17T00:32:20.532075 - [Inspire Pack] IPAdapterPlus is not installed.2025-02-17T00:32:20.533079 -
2025-02-17T00:32:24.164691 - FETCH ComfyRegistry Data: 15/332025-02-17T00:32:24.164691 -
2025-02-17T00:32:28.863990 - FETCH ComfyRegistry Data: 20/332025-02-17T00:32:28.863990 -
2025-02-17T00:32:42.425156 - got prompt
2025-02-17T00:32:42.429494 - Failed to validate prompt for output 281:
2025-02-17T00:32:42.429494 - * (prompt):
2025-02-17T00:32:42.429494 - - Required input is missing: sigmas
2025-02-17T00:32:42.429494 - * DetailDaemonGraphSigmasNode 281:
2025-02-17T00:32:42.429494 - - Required input is missing: sigmas
2025-02-17T00:32:42.429494 - Output will be ignored
2025-02-17T00:32:42.622400 - model weight dtype torch.float16, manual cast: None
2025-02-17T00:32:42.624410 - model_type EPS
2025-02-17T00:32:42.751568 - FETCH ComfyRegistry Data: 25/332025-02-17T00:32:42.751568 -
2025-02-17T00:32:43.322645 - Using pytorch attention in VAE
2025-02-17T00:32:43.323648 - Using pytorch attention in VAE
2025-02-17T00:32:43.393785 - VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16
2025-02-17T00:32:43.580881 - Requested to load SDXLClipModel
2025-02-17T00:32:43.596933 - loaded completely 9.5367431640625e+25 1560.802734375 True
2025-02-17T00:32:43.602398 - CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cuda:0, dtype: torch.float16
2025-02-17T00:32:45.453013 - Token indices sequence length is longer than the specified maximum sequence length for this model (125 > 77). Running this sequence through the model will result in indexing errors
2025-02-17T00:32:45.454018 - Token indices sequence length is longer than the specified maximum sequence length for this model (125 > 77). Running this sequence through the model will result in indexing errors
2025-02-17T00:32:45.454018 - Requested to load SDXLClipModel
2025-02-17T00:32:46.292704 - loaded completely 5668.8 1560.802734375 True
2025-02-17T00:32:47.148542 - FETCH ComfyRegistry Data: 30/332025-02-17T00:32:47.148542 -
2025-02-17T00:32:48.058921 - Loads SAM model: F:\Project\ComfyUI\models\sams\sam_vit_b_01ec64.pth (device:Prefer GPU)2025-02-17T00:32:48.058921 -
2025-02-17T00:32:48.572018 - Requested to load SDXL
2025-02-17T00:32:50.121166 - FETCH ComfyRegistry Data [DONE]2025-02-17T00:32:50.121166 -
2025-02-17T00:32:50.183223 - [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
2025-02-17T00:32:50.259021 - nightly_channel: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/remote
2025-02-17T00:32:50.259021 - FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json2025-02-17T00:32:50.259021 - 2025-02-17T00:32:50.275036 - loaded completely 5243.226471710205 4897.0483474731445 True
2025-02-17T00:32:50.316561 -
0%| | 0/20 [00:00<?, ?it/s]2025-02-17T00:32:50.401020 - [DONE]2025-02-17T00:32:50.402024 -
2025-02-17T00:32:50.558533 - [ComfyUI-Manager] All startup tasks have been completed.
2025-02-17T00:32:52.323534 -
0%| | 0/20 [00:02<?, ?it/s]2025-02-17T00:32:52.323534 -
2025-02-17T00:32:52.333116 - !!! Exception during processing !!! cudaMallocAsync does not yet support checkPoolLiveAllocations. If you need it, please file an issue describing your use case.
2025-02-17T00:32:52.337137 - Traceback (most recent call last):
File "F:\Project\ComfyUI\execution.py", line 327, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\custom_nodes\Comfy-WaveSpeed\first_block_cache.py", line 101, in new_get_output_data
out = get_output_data(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\execution.py", line 202, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\execution.py", line 174, in _map_node_over_list
process_inputs(input_dict, i)
File "F:\Project\ComfyUI\execution.py", line 163, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\nodes.py", line 1540, in sample
return common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\nodes.py", line 1507, in common_ksampler
samples = comfy.sample.sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\custom_nodes\comfyui-impact-pack\modules\impact\sample_error_enhancer.py", line 22, in informative_sample
raise e
File "F:\Project\ComfyUI\custom_nodes\comfyui-impact-pack\modules\impact\sample_error_enhancer.py", line 9, in informative_sample
return original_sample(*args, **kwargs) # This code helps interpret error messages that occur within exceptions but does not have any impact on other operations.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\sample.py", line 45, in sample
samples = sampler.sample(noise, positive, negative, cfg=cfg, latent_image=latent_image, start_step=start_step, last_step=last_step, force_full_denoise=force_full_denoise, denoise_mask=noise_mask, sigmas=sigmas, callback=callback, disable_pbar=disable_pbar, seed=seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\samplers.py", line 1110, in sample
return sample(self.model, noise, positive, negative, cfg, self.device, sampler, sigmas, self.model_options, latent_image=latent_image, denoise_mask=denoise_mask, callback=callback, disable_pbar=disable_pbar, seed=seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\samplers.py", line 1000, in sample
return cfg_guider.sample(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\samplers.py", line 985, in sample
output = executor.execute(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\samplers.py", line 953, in outer_sample
output = self.inner_sample(noise, latent_image, device, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\samplers.py", line 936, in inner_sample
samples = executor.execute(self, sigmas, extra_args, callback, noise, latent_image, denoise_mask, disable_pbar)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\samplers.py", line 715, in sample
samples = self.sampler_function(model_k, noise, sigmas, extra_args=extra_args, callback=k_callback, disable=disable_pbar, **self.extra_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\utils\_contextlib.py", line 116, in decorate_context
return func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\k_diffusion\sampling.py", line 161, in sample_euler
denoised = model(x, sigma_hat * s_in, **extra_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\samplers.py", line 379, in __call__
out = self.inner_model(x, sigma, model_options=model_options, seed=seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\samplers.py", line 916, in __call__
return self.predict_noise(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\samplers.py", line 919, in predict_noise
return sampling_function(self.inner_model, x, timestep, self.conds.get("negative", None), self.conds.get("positive", None), self.cfg, model_options=model_options, seed=seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\samplers.py", line 359, in sampling_function
out = calc_cond_batch(model, conds, x, timestep, model_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\samplers.py", line 195, in calc_cond_batch
return executor.execute(model, conds, x_in, timestep, model_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\samplers.py", line 306, in _calc_cond_batch
output = model_options['model_function_wrapper'](model.apply_model, {"input": input_x, "timestep": timestep_, "c": c, "cond_or_uncond": cond_or_uncond}).chunk(batch_chunks)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\custom_nodes\Comfy-WaveSpeed\fbcache_nodes.py", line 204, in model_unet_function_wrapper
raise exc from None
File "F:\Project\ComfyUI\custom_nodes\Comfy-WaveSpeed\fbcache_nodes.py", line 199, in model_unet_function_wrapper
result = model_function(input, timestep, **c)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\model_base.py", line 132, in apply_model
return comfy.patcher_extension.WrapperExecutor.new_class_executor(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\model_base.py", line 163, in _apply_model
model_output = self.diffusion_model(xc, t, context=context, control=control, transformer_options=transformer_options, **extra_conds).float()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\nn\modules\module.py", line 1739, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\nn\modules\module.py", line 1750, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_dynamo\eval_frame.py", line 574, in _fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\nn\modules\module.py", line 1739, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\nn\modules\module.py", line 1750, in _call_impl
return forward_call(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\ldm\modules\diffusionmodules\openaimodel.py", line 831, in forward
return comfy.patcher_extension.WrapperExecutor.new_class_executor(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\patcher_extension.py", line 110, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\custom_nodes\Comfy-WaveSpeed\first_block_cache.py", line 488, in unet_model__forward
t_emb = timestep_embedding(timesteps,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\comfy\ldm\modules\diffusionmodules\util.py", line 229, in timestep_embedding
def timestep_embedding(timesteps, dim, max_period=10000, repeat_only=False):
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_dynamo\eval_frame.py", line 745, in _fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_functorch\aot_autograd.py", line 1184, in forward
return compiled_fn(full_args)
^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_functorch\_aot_autograd\runtime_wrappers.py", line 323, in runtime_wrapper
all_outs = call_func_at_runtime_with_args(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_functorch\_aot_autograd\utils.py", line 126, in call_func_at_runtime_with_args
out = normalize_as_list(f(args))
^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_functorch\_aot_autograd\runtime_wrappers.py", line 672, in inner_fn
outs = compiled_fn(args)
^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_functorch\_aot_autograd\runtime_wrappers.py", line 490, in wrapper
return compiled_fn(runtime_args)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_inductor\output_code.py", line 466, in __call__
return self.current_callable(inputs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_inductor\compile_fx.py", line 1208, in run
return compiled_fn(new_inputs)
^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_inductor\cudagraph_trees.py", line 398, in deferred_cudagraphify
fn, out = cudagraphify(model, inputs, new_static_input_idxs, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_inductor\cudagraph_trees.py", line 428, in cudagraphify
return manager.add_function(
^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_inductor\cudagraph_trees.py", line 2253, in add_function
return fn, fn(inputs)
^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_inductor\cudagraph_trees.py", line 1947, in run
out = self._run(new_inputs, function_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_inductor\cudagraph_trees.py", line 2055, in _run
out = self.run_eager(new_inputs, function_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_inductor\cudagraph_trees.py", line 2219, in run_eager
return node.run(new_inputs)
^^^^^^^^^^^^^^^^^^^^
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_inductor\cudagraph_trees.py", line 636, in run
check_memory_pool(self.device_index, self.cuda_graphs_pool, refs)
File "F:\Project\ComfyUI\venv\Lib\site-packages\torch\_inductor\cudagraph_trees.py", line 1752, in check_memory_pool
if torch._C._cuda_checkPoolLiveAllocations(device, pool_id, unique_storages):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: cudaMallocAsync does not yet support checkPoolLiveAllocations. If you need it, please file an issue describing your use case.
2025-02-17T00:32:52.340648 - Prompt executed in 9.91 seconds
Other
No response
This issue is being marked stale because it has not had any activity for 30 days. Reply below within 7 days if your issue still isn't solved, and it will be left open. Otherwise, the issue will be closed automatically.
Same issue here, please re-open
This issue is being marked stale because it has not had any activity for 30 days. Reply below within 7 days if your issue still isn't solved, and it will be left open. Otherwise, the issue will be closed automatically.
Same issue here when trying to compile using TORCH and CUDAGRAPHS in the NODE
Also same issue here
i treid installing TRITON but messed up my PC and got to reinstall windows and BIOS!!!!! what a mess just for 1 second extra of speed, lol i can't use INSTRUCTOR since it uses TRITON... so CUDAGRAPH is my last resource....
same here when enable cudagraphics
Bump on this.
Another bump
and another
Same
+1
?
@ryanull24
I ran into the same issue when using torch.compile with:
backend=inductor
mode=max-autotune
What helped in my case was starting ComfyUI with:
python main.py --disable-cuda-malloc
This flag only affects how PyTorch allocates VRAM. It does not affect generation quality, and in my case it also did not noticeably change generation speed.
I also had to temporarily disable torch.compile for the VAE, because I ran into CUDA Graph–related errors there. I didn’t investigate those further yet.
From my observations:
max-autotuneis a very aggressive optimization mode. When generation parameters change (resolution, number of frames, etc.), compilation and autotuning are triggered again.- The performance benefit of
max-autotuneusually appears only after multiple runs with exactly the same parameters. - The first compiled run can be very slow, may consume more VRAM, and the terminal log can be heavily spammed with technical autotuning output - this can generally be ignored.
- Using
dynamic=Truewith torch.compile can reduce the number of recompilations, but it does not always improve performance. - For Image-to-Video (I2V) workflows,
max-autotuneseems mostly ineffective. Any noticeable benefit appears mainly in Text-to-Video (T2V) scenarios.
Given all this, mode=default feels like the best middle ground, especially if you frequently change generation parameters.