OOM
- Dominant language
- Python
- Stars
- 133k
- Forks
- 15.7k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 158
Description
### Expected Behavior
wish to generate a HD image
### Actual Behavior
use comfyui supir upscale, can't output the image, got an error of OOM(torch.cuda.OutOfMemoryError: Allocation on device)
### Steps to Reproduce
use comfyui supir upscale node, supir model use SUPIR-v0Q.ckpt,sdxl model use sd_xl_base_1.0_0.9vae.safetensors
### Debug Logs
```powershell
# ComfyUI Error Report
## Error Details
- **Node ID:** 2
- **Node Type:** SUPIR_Upscale
- **Exception Type:** torch.cuda.OutOfMemoryError
- **Exception Message:** Allocation on device
## Stack Trace
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\execution.py", line 323, 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 "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\execution.py", line 198, 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 "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\nodes.py", line 353, in process
raise e
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\nodes.py", line 336, in process
samples = self.model.batchify_sample(imgs, caps, num_steps=steps,
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\SUPIR\models\SUPIR_model.py", line 143, in batchify_sample
_samples = self.sampler(denoiser, noised_z, cond=c, uc=uc, x_center=z_stage1, control_scale=control_scale,
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\sgm\modules\diffusionmodules\sampling.py", line 439, in __call__
x = self.sampler_step(
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\sgm\modules\diffusionmodules\sampling.py", line 416, in sampler_step
denoised = self.denoise(x, denoiser, sigma_hat, cond, uc, control_scale=control_scale)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\sgm\modules\diffusionmodules\sampling.py", line 398, in denoise
denoised = denoiser(*self.guider.prepare_inputs(x, sigma, cond, uc), control_scale)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\SUPIR\models\SUPIR_model.py", line 131, in
denoiser = lambda input, sigma, c, control_scale: self.denoiser(
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\sgm\modules\diffusionmodules\denoiser.py", line 73, in __call__
return network(input * c_in, c_noise, cond, control_scale) * c_out + input * c_skip
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1532, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1541, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\sgm\modules\diffusionmodules\wrappers.py", line 91, in forward
control = self.control_model(x=c.get("control", None), timesteps=t, xt=x,
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1532, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1541, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\SUPIR\modules\SUPIR_v0.py", line 535, in forward
h = module(h, emb, context)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1532, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1541, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\sgm\modules\diffusionmodules\openaimodel.py", line 100, in forward
x = layer(x, emb)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1532, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1541, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\sgm\modules\diffusionmodules\openaimodel.py", line 326, in forward
return checkpoint(
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\sgm\modules\diffusionmodules\util.py", line 168, in checkpoint
return CheckpointFunction.apply(func, len(inputs), *args)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\autograd\function.py", line 598, in apply
return super().apply(*args, **kwargs) # type: ignore[misc]
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\sgm\modules\diffusionmodules\util.py", line 185, in forward
output_tensors = ctx.run_function(*ctx.input_tensors)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\sgm\modules\diffusionmodules\openaimodel.py", line 338, in _forward
h = self.in_layers(x)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1532, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1541, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\container.py", line 217, in forward
input = module(input)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1532, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1541, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\sgm\modules\diffusionmodules\util.py", line 280, in forward
return super().forward(x)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\normalization.py", line 287, in forward
return F.group_norm(
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\functional.py", line 2588, in group_norm
return torch.group_norm(input, num_groups, weight, bias, eps, torch.backends.cudnn.enabled)
```
## System Information
- **ComfyUI Version:** v0.3.5-12-g3fc6ebcd
- **Arguments:** C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\main.py --auto-launch --preview-method auto --disable-cuda-malloc
- **OS:** nt
- **Python Version:** 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
- **Embedded Python:** false
- **PyTorch Version:** 2.3.1+cu121
## Devices
- **Name:** cuda:0 NVIDIA GeForce RTX 3060 Ti : cudaMallocAsync
- **Type:** cuda
- **VRAM Total:** 8589410304
- **VRAM Free:** 23989700
- **Torch VRAM Total:** 7818182656
- **Torch VRAM Free:** 23989700
## Logs
```
2024-12-09T22:02:18.337976 - return loop.run_until_complete(main)2024-12-09T22:02:18.337976 -
2024-12-09T22:02:18.337976 - File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\asyncio\base_events.py", line 649, in run_until_complete
2024-12-09T22:02:18.337976 - 2024-12-09T22:02:18.337976 - return future.result()2024-12-09T22:02:18.337976 -
2024-12-09T22:02:18.337976 - File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Manager\glob\manager_server.py", line 1366, in default_cache_update
2024-12-09T22:02:18.338978 - 2024-12-09T22:02:18.338978 - await asyncio.gather(a, b, c, d, e)2024-12-09T22:02:18.338978 -
2024-12-09T22:02:18.338978 - File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Manager\glob\manager_server.py", line 1353, in get_cache
2024-12-09T22:02:18.338978 - 2024-12-09T22:02:18.338978 - json_obj = await core.get_data(uri, True)2024-12-09T22:02:18.338978 -
2024-12-09T22:02:18.338978 - File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Manager\glob\manager_core.py", line 645, in get_data
2024-12-09T22:02:18.338978 - 2024-12-09T22:02:18.339976 - async with session.get(uri) as resp:2024-12-09T22:02:18.339976 -
2024-12-09T22:02:18.339976 - File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\aiohttp\client.py", line 1141, in __aenter__
2024-12-09T22:02:18.339976 - 2024-12-09T22:02:18.339976 - self._resp = await self._coro2024-12-09T22:02:18.339976 -
2024-12-09T22:02:18.339976 - File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\aiohttp\client.py", line 536, in _request
2024-12-09T22:02:18.339976 - 2024-12-09T22:02:18.339976 - conn = await self._connector.connect(2024-12-09T22:02:18.339976 -
2024-12-09T22:02:18.339976 - File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\aiohttp\connector.py", line 540, in connect
2024-12-09T22:02:18.340975 - 2024-12-09T22:02:18.340975 - proto = await self._create_connection(req, traces, timeout)2024-12-09T22:02:18.340975 -
2024-12-09T22:02:18.340975 - File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\aiohttp\connector.py", line 901, in _create_connection
2024-12-09T22:02:18.340975 - 2024-12-09T22:02:18.340975 - _, proto = await self._create_direct_connection(req, traces, timeout)2024-12-09T22:02:18.340975 -
2024-12-09T22:02:18.340975 - File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\aiohttp\connector.py", line 1169, in _create_direct_connection
2024-12-09T22:02:18.340975 - 2024-12-09T22:02:18.340975 - raise ClientConnectorError(req.connection_key, exc) from exc2024-12-09T22:02:18.340975 -
2024-12-09T22:02:18.340975 - aiohttp.client_exceptions2024-12-09T22:02:18.340975 - .2024-12-09T22:02:18.340975 - ClientConnectorError2024-12-09T22:02:18.340975 - : 2024-12-09T22:02:18.341976 - Cannot connect to host raw.githubusercontent.com:443 ssl:default [getaddrinfo failed]2024-12-09T22:02:18.341976 -
2024-12-09T22:02:19.323635 - (pysssss:WD14Tagger) [DEBUG] Available ORT providers: TensorrtExecutionProvider, CUDAExecutionProvider, CPUExecutionProvider2024-12-09T22:02:19.323635 -
2024-12-09T22:02:19.323635 - (pysssss:WD14Tagger) [DEBUG] Using ORT providers: CUDAExecutionProvider, CPUExecutionProvider2024-12-09T22:02:19.323635 -
2024-12-09T22:02:19.356256 - Workspace manager - Openning file hash dict2024-12-09T22:02:19.356256 -
2024-12-09T22:02:19.356256 - 🦄🦄Loading: Workspace Manager (V2.1.0)2024-12-09T22:02:19.356256 -
2024-12-09T22:02:19.393773 - ------------------------------------------2024-12-09T22:02:19.393773 -
2024-12-09T22:02:19.393773 - [34mComfyroll Studio v1.76 : [92m 175 Nodes Loaded[0m2024-12-09T22:02:19.393773 -
2024-12-09T22:02:19.393773 - ------------------------------------------2024-12-09T22:02:19.393773 -
2024-12-09T22:02:19.393773 - ** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md2024-12-09T22:02:19.393773 -
2024-12-09T22:02:19.393773 - ** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki2024-12-09T22:02:19.393773 -
2024-12-09T22:02:19.393773 - ------------------------------------------2024-12-09T22:02:19.393773 -
2024-12-09T22:02:19.399773 - [36;20m[comfyui_controlnet_aux] | INFO -> Using ckpts path: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\comfyui_controlnet_aux\ckpts[0m
2024-12-09T22:02:19.399773 - [36;20m[comfyui_controlnet_aux] | INFO -> Using symlinks: False[0m
2024-12-09T22:02:19.399773 - [36;20m[comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider'][0m
2024-12-09T22:02:19.424534 - DWPose: Onnxruntime with acceleration providers detected2024-12-09T22:02:19.424534 -
2024-12-09T22:02:19.450364 - [1;35m### [START] ComfyUI AlekPet Nodes [1;34mv1.0.35[0m[1;35m ###[0m2024-12-09T22:02:19.450364 -
2024-12-09T22:02:21.390151 - [92mNode -> ChatGLMNode: [93mChatGLM4TranslateCLIPTextEncodeNode, ChatGLM4TranslateTextNode[0m [92m[Loading] [0m2024-12-09T22:02:21.390151 -
2024-12-09T22:02:21.394151 - [92mNode -> ArgosTranslateNode: [93mArgosTranslateCLIPTextEncodeNode, ArgosTranslateTextNode[0m [92m[Loading] [0m2024-12-09T22:02:21.394151 -
2024-12-09T22:02:21.402151 - [92mNode -> GoogleTranslateNode: [93mGoogleTranslateCLIPTextEncodeNode, GoogleTranslateTextNode[0m [92m[Loading] [0m2024-12-09T22:02:21.402151 -
2024-12-09T22:02:21.402151 - [92mNode -> DeepTranslatorNode: [93mDeepTranslatorCLIPTextEncodeNode, DeepTranslatorTextNode[0m [92m[Loading] [0m2024-12-09T22:02:21.402151 -
2024-12-09T22:02:21.409151 - [92mNode -> ExtrasNode: [93mPreviewTextNode, HexToHueNode, ColorsCorrectNode[0m [92m[Loading] [0m2024-12-09T22:02:21.409151 -
2024-12-09T22:02:21.409151 - [92mNode -> PoseNode: [93mPoseNode[0m [92m[Loading] [0m2024-12-09T22:02:21.409151 -
2024-12-09T22:02:21.480046 - [92mNode -> IDENode: [93mIDENode[0m [92m[Loading] [0m2024-12-09T22:02:21.480046 -
2024-12-09T22:02:21.767495 - [92mNode -> PainterNode: [93mPainterNode[0m [92m[Loading] [0m2024-12-09T22:02:21.767495 -
2024-12-09T22:02:21.767495 - [1;35m### [END] ComfyUI AlekPet Nodes ###[0m2024-12-09T22:02:21.767495 -
2024-12-09T22:02:22.329778 - [34mFizzleDorf Custom Nodes: [92mLoaded[0m2024-12-09T22:02:22.329778 -
2024-12-09T22:02:22.360892 - Traceback (most recent call last):
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\nodes.py", line 2036, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 879, in exec_module
File "", line 1016, in get_code
File "", line 1073, in get_data
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\cwenm\\aigc\\ComfyUI-aki\\ComfyUI-aki-v1.4\\ComfyUI-aki-v1.4\\custom_nodes\\ComfyUI_LayerStyle\\__init__.py'
2024-12-09T22:02:22.361893 - Cannot import C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_LayerStyle module for custom nodes: [Errno 2] No such file or directory: 'C:\\Users\\cwenm\\aigc\\ComfyUI-aki\\ComfyUI-aki-v1.4\\ComfyUI-aki-v1.4\\custom_nodes\\ComfyUI_LayerStyle\\__init__.py'
2024-12-09T22:02:22.412047 -
[36mEfficiency Nodes:[0m Attempting to add Control Net options to the 'HiRes-Fix Script' Node (comfyui_controlnet_aux add-on)...[92mSuccess![0m2024-12-09T22:02:22.412047 -
2024-12-09T22:02:22.417047 - Patching UNetModel.forward2024-12-09T22:02:22.417047 -
2024-12-09T22:02:22.417047 - UNetModel.forward has been successfully patched.2024-12-09T22:02:22.417047 -
2024-12-09T22:02:22.432055 - [1;32m[Power Noise Suite]: 🦚🦚🦚 [93m[3mSup.[0m 🦚🦚🦚2024-12-09T22:02:22.432055 -
2024-12-09T22:02:22.432055 - [1;32m[Power Noise Suite]:[0m Tamed [93m11[0m wild nodes.2024-12-09T22:02:22.432055 -
2024-12-09T22:02:22.455508 -
2024-12-09T22:02:22.455508 - [92m[rgthree] Loaded 42 fantastic nodes.[00m2024-12-09T22:02:22.455508 -
2024-12-09T22:02:22.455508 - [33m[rgthree] NOTE: Will NOT use rgthree's optimized recursive execution as ComfyUI has changed.[00m2024-12-09T22:02:22.455508 -
2024-12-09T22:02:22.455508 -
2024-12-09T22:02:23.947884 - [34mWAS Node Suite: [0mOpenCV Python FFMPEG support is enabled[0m2024-12-09T22:02:23.947884 -
2024-12-09T22:02:23.947884 - [34mWAS Node Suite [93mWarning: [0m`ffmpeg_bin_path` is not set in `C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\was-node-suite-comfyui\was_suite_config.json` config file. Will attempt to use system ffmpeg binaries if available.[0m2024-12-09T22:02:23.947884 -
2024-12-09T22:02:25.397991 - [34mWAS Node Suite: [0mFinished.[0m [32mLoaded[0m [0m218[0m [32mnodes successfully.[0m2024-12-09T22:02:25.397991 -
2024-12-09T22:02:25.397991 -
[3m[93m"Great minds discuss ideas; average minds discuss events; small minds discuss people."[0m[3m - Eleanor Roosevelt[0m
2024-12-09T22:02:25.397991 -
2024-12-09T22:02:25.402991 -
Import times for custom nodes:
2024-12-09T22:02:25.402991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\websocket_image_save.py
2024-12-09T22:02:25.402991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\AIGODLIKE-ComfyUI-Translation
2024-12-09T22:02:25.402991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\image-resize-comfyui
2024-12-09T22:02:25.402991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\FreeU_Advanced
2024-12-09T22:02:25.402991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ControlNet-LLLite-ComfyUI
2024-12-09T22:02:25.402991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_TiledKSampler
2024-12-09T22:02:25.402991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\stability-ComfyUI-nodes
2024-12-09T22:02:25.402991 - 0.0 seconds (IMPORT FAILED): C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Frame-Interpolation
2024-12-09T22:02:25.402991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-WD14-Tagger
2024-12-09T22:02:25.402991 - 0.0 seconds (IMPORT FAILED): C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\comfyui-inpaint-nodes
2024-12-09T22:02:25.402991 - 0.0 seconds (IMPORT FAILED): C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_LayerStyle
2024-12-09T22:02:25.402991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_experiments
2024-12-09T22:02:25.402991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\PowerNoiseSuite
2024-12-09T22:02:25.402991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\comfy_pixelization
2024-12-09T22:02:25.402991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\images-grid-comfy-plugin
2024-12-09T22:02:25.402991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\comfyui-animatediff
2024-12-09T22:02:25.402991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Custom-Scripts
2024-12-09T22:02:25.402991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_UltimateSDUpscale
2024-12-09T22:02:25.402991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\Derfuu_ComfyUI_ModdedNodes
2024-12-09T22:02:25.402991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Marigold
2024-12-09T22:02:25.402991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\efficiency-nodes-comfyui
2024-12-09T22:02:25.402991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Advanced-ControlNet
2024-12-09T22:02:25.403991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\rgthree-comfy
2024-12-09T22:02:25.403991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_IPAdapter_plus
2024-12-09T22:02:25.403991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\comfyui-workspace-manager
2024-12-09T22:02:25.403991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_Comfyroll_CustomNodes
2024-12-09T22:02:25.403991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-KJNodes
2024-12-09T22:02:25.403991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-AnimateDiff-Evolved
2024-12-09T22:02:25.403991 - 0.0 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Inspire-Pack
2024-12-09T22:02:25.403991 - 0.1 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\comfyui_controlnet_aux
2024-12-09T22:02:25.403991 - 0.1 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Crystools
2024-12-09T22:02:25.403991 - 0.1 seconds (IMPORT FAILED): C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\cg-use-everywhere
2024-12-09T22:02:25.403991 - 0.2 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-VideoHelperSuite
2024-12-09T22:02:25.403991 - 0.4 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_FizzNodes
2024-12-09T22:02:25.403991 - 0.4 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Manager
2024-12-09T22:02:25.403991 - 0.8 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-CogVideoXWrapper
2024-12-09T22:02:25.403991 - 0.9 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR
2024-12-09T22:02:25.403991 - 1.1 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Impact-Pack
2024-12-09T22:02:25.403991 - 1.2 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Image-Tools
2024-12-09T22:02:25.403991 - 2.5 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI_Custom_Nodes_AlekPet
2024-12-09T22:02:25.403991 - 2.9 seconds: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\was-node-suite-comfyui
2024-12-09T22:02:25.403991 -
2024-12-09T22:02:25.417223 - Starting server
2024-12-09T22:02:25.418224 - To see the GUI go to: http://127.0.0.1:8188
2024-12-09T22:02:26.965691 - FETCH DATA from: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Manager\extension-node-map.json2024-12-09T22:02:26.966692 - 2024-12-09T22:02:26.971691 - [DONE]2024-12-09T22:02:26.971691 -
2024-12-09T22:02:33.685601 - Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
handle:
Traceback (most recent call last):
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\asyncio\proactor_events.py", line 165, in _call_connection_lost
self._sock.shutdown(socket.SHUT_RDWR)
ConnectionResetError: [WinError 10054] 远程主机强迫关闭了一个现有的连接。
2024-12-09T22:02:45.728411 - FETCH DATA from: C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-Manager\extension-node-map.json2024-12-09T22:02:45.728411 - 2024-12-09T22:02:45.730411 - [DONE]2024-12-09T22:02:45.730411 -
2024-12-09T22:03:51.966084 - got prompt
2024-12-09T22:03:52.019715 - Diffusion using bf162024-12-09T22:03:52.019715 -
2024-12-09T22:03:52.019715 - Encoder using bf162024-12-09T22:03:52.019715 -
2024-12-09T22:03:52.036715 - Using non-tiled sampling2024-12-09T22:03:52.036715 -
2024-12-09T22:03:52.143722 - Building a Downsample layer with 2 dims.2024-12-09T22:03:52.143722 -
2024-12-09T22:03:52.143722 - --> settings are:
in-chn: 320, out-chn: 320, kernel-size: 3, stride: 2, padding: 12024-12-09T22:03:52.143722 -
2024-12-09T22:03:52.146723 - constructing SpatialTransformer of depth 2 w/ 640 channels and 10 heads2024-12-09T22:03:52.146723 -
2024-12-09T22:03:52.149726 - constructing SpatialTransformer of depth 2 w/ 640 channels and 10 heads2024-12-09T22:03:52.149726 -
2024-12-09T22:03:52.151722 - Building a Downsample layer with 2 dims.2024-12-09T22:03:52.151722 -
2024-12-09T22:03:52.151722 - --> settings are:
in-chn: 640, out-chn: 640, kernel-size: 3, stride: 2, padding: 12024-12-09T22:03:52.151722 -
2024-12-09T22:03:52.161723 - constructing SpatialTransformer of depth 10 w/ 1280 channels and 20 heads2024-12-09T22:03:52.161723 -
2024-12-09T22:03:52.177723 - constructing SpatialTransformer of depth 10 w/ 1280 channels and 20 heads2024-12-09T22:03:52.178723 -
2024-12-09T22:03:52.193724 - constructing SpatialTransformer of depth 10 w/ 1280 channels and 20 heads2024-12-09T22:03:52.193724 -
2024-12-09T22:03:52.216727 - constructing SpatialTransformer of depth 10 w/ 1280 channels and 20 heads2024-12-09T22:03:52.217723 -
2024-12-09T22:03:52.231727 - constructing SpatialTransformer of depth 10 w/ 1280 channels and 20 heads2024-12-09T22:03:52.231727 -
2024-12-09T22:03:52.246724 - constructing SpatialTransformer of depth 10 w/ 1280 channels and 20 heads2024-12-09T22:03:52.246724 -
2024-12-09T22:03:52.260730 - constructing SpatialTransformer of depth 2 w/ 640 channels and 10 heads2024-12-09T22:03:52.260730 -
2024-12-09T22:03:52.263725 - constructing SpatialTransformer of depth 2 w/ 640 channels and 10 heads2024-12-09T22:03:52.263725 -
2024-12-09T22:03:52.267729 - constructing SpatialTransformer of depth 2 w/ 640 channels and 10 heads2024-12-09T22:03:52.267729 -
2024-12-09T22:03:53.015387 - Initialized embedder #0: FrozenCLIPEmbedder with 0 params. Trainable: False2024-12-09T22:03:53.015387 -
2024-12-09T22:03:53.062385 - Initialized embedder #1: FrozenOpenCLIPEmbedder2 with 0 params. Trainable: False2024-12-09T22:03:53.062385 -
2024-12-09T22:03:53.109001 - Initialized embedder #2: ConcatTimestepEmbedderND with 0 params. Trainable: False2024-12-09T22:03:53.109001 -
2024-12-09T22:03:53.156003 - Initialized embedder #3: ConcatTimestepEmbedderND with 0 params. Trainable: False2024-12-09T22:03:53.156003 -
2024-12-09T22:03:53.207005 - Initialized embedder #4: ConcatTimestepEmbedderND with 0 params. Trainable: False2024-12-09T22:03:53.207005 -
2024-12-09T22:03:53.445100 - making attention of type 'vanilla-xformers' with 512 in_channels2024-12-09T22:03:53.446100 -
2024-12-09T22:03:53.446100 - building MemoryEfficientAttnBlock with 512 in_channels...2024-12-09T22:03:53.446100 -
2024-12-09T22:03:53.446100 - Working with z of shape (1, 4, 32, 32) = 4096 dimensions.2024-12-09T22:03:53.446100 -
2024-12-09T22:03:53.447101 - making attention of type 'vanilla-xformers' with 512 in_channels2024-12-09T22:03:53.447101 -
2024-12-09T22:03:53.447101 - building MemoryEfficientAttnBlock with 512 in_channels...2024-12-09T22:03:53.447101 -
2024-12-09T22:03:53.508764 - Building a Downsample layer with 2 dims.2024-12-09T22:03:53.508764 -
2024-12-09T22:03:53.508764 - --> settings are:
in-chn: 320, out-chn: 320, kernel-size: 3, stride: 2, padding: 12024-12-09T22:03:53.508764 -
2024-12-09T22:03:53.511769 - constructing SpatialTransformer of depth 2 w/ 640 channels and 10 heads2024-12-09T22:03:53.511769 -
2024-12-09T22:03:53.515765 - constructing SpatialTransformer of depth 2 w/ 640 channels and 10 heads2024-12-09T22:03:53.515765 -
2024-12-09T22:03:53.516765 - Building a Downsample layer with 2 dims.2024-12-09T22:03:53.516765 -
2024-12-09T22:03:53.516765 - --> settings are:
in-chn: 640, out-chn: 640, kernel-size: 3, stride: 2, padding: 12024-12-09T22:03:53.516765 -
2024-12-09T22:03:53.524765 - constructing SpatialTransformer of depth 10 w/ 1280 channels and 20 heads2024-12-09T22:03:53.524765 -
2024-12-09T22:03:53.541764 - constructing SpatialTransformer of depth 10 w/ 1280 channels and 20 heads2024-12-09T22:03:53.541764 -
2024-12-09T22:03:53.558763 - constructing SpatialTransformer of depth 10 w/ 1280 channels and 20 heads2024-12-09T22:03:53.558763 -
2024-12-09T22:03:53.634763 - Attempting to load SUPIR model: [C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\models\checkpoints\SUPIR-v0Q.ckpt]2024-12-09T22:03:53.634763 -
2024-12-09T22:03:58.313520 - Loaded state_dict from [C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\models\checkpoints\SUPIR-v0Q.ckpt]2024-12-09T22:03:58.313520 -
2024-12-09T22:03:58.313520 - Attempting to load SDXL model: [C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\models\checkpoints\sd_xl_base_1.0_0.9vae.safetensors]2024-12-09T22:03:58.313520 -
2024-12-09T22:03:58.445393 - Loaded state_dict from [C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\models\checkpoints\sd_xl_base_1.0_0.9vae.safetensors]2024-12-09T22:03:58.445393 -
2024-12-09T22:04:10.670686 - Loading first clip model from SDXL checkpoint2024-12-09T22:04:10.674685 -
2024-12-09T22:04:12.110242 - Loading second clip model from SDXL checkpoint2024-12-09T22:04:12.110242 -
2024-12-09T22:04:25.385941 - captions: 2024-12-09T22:04:25.386462 - 2024-12-09T22:04:25.386462 - ['']2024-12-09T22:04:25.386462 -
2024-12-09T22:04:25.797855 - Sampler: 2024-12-09T22:04:25.797855 - 2024-12-09T22:04:25.797855 - .sgm.modules.diffusionmodules.sampling.RestoreEDMSampler2024-12-09T22:04:25.797855 -
2024-12-09T22:04:25.797855 - sampler_config: 2024-12-09T22:04:25.797855 - 2024-12-09T22:04:25.797855 - {'num_steps': 45, 'restore_cfg': -1.0, 's_churn': 5, 's_noise': 1.003, 'discretization_config': {'target': '.sgm.modules.diffusionmodules.discretizer.LegacyDDPMDiscretization'}, 'guider_config': {'target': '.sgm.modules.diffusionmodules.guiders.LinearCFG', 'params': {'scale': 4.0, 'scale_min': 4.0}}}2024-12-09T22:04:25.797855 -
2024-12-09T22:04:25.799856 - C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\lightning_fabric\utilities\seed.py:51: 685470360099406 is not in bounds, numpy accepts from 0 to 4294967295
2024-12-09T22:04:25.800855 - Seed set to 2682631410
2024-12-09T22:04:26.811140 - [Tiled VAE]: input_size: torch.Size([1, 3, 960, 640]), tile_size: 512, padding: 322024-12-09T22:04:26.811140 -
2024-12-09T22:04:26.811140 - [Tiled VAE]: split to 2x2 = 4 tiles. Optimal tile size 288x448, original tile size 512x5122024-12-09T22:04:26.811140 -
2024-12-09T22:04:29.050277 - [Tiled VAE]: Done in 2.737s, max VRAM alloc 452.032 MB2024-12-09T22:04:29.051276 -
2024-12-09T22:04:29.274228 - [Tiled VAE]: input_size: torch.Size([1, 4, 120, 80]), tile_size: 64, padding: 112024-12-09T22:04:29.274228 -
2024-12-09T22:04:29.274228 - [Tiled VAE]: split to 2x1 = 2 tiles. Optimal tile size 64x64, original tile size 64x642024-12-09T22:04:29.274228 -
2024-12-09T22:04:31.562006 - [Tiled VAE]: Done in 2.469s, max VRAM alloc 1146.846 MB2024-12-09T22:04:31.562006 -
2024-12-09T22:04:31.749929 - [Tiled VAE]: input_size: torch.Size([1, 3, 960, 640]), tile_size: 512, padding: 322024-12-09T22:04:31.749929 -
2024-12-09T22:04:31.749929 - [Tiled VAE]: split to 2x2 = 4 tiles. Optimal tile size 288x448, original tile size 512x5122024-12-09T22:04:31.749929 -
2024-12-09T22:04:33.330170 - [Tiled VAE]: Done in 1.764s, max VRAM alloc 459.137 MB2024-12-09T22:04:33.331170 -
2024-12-09T22:04:33.911278 - Using local prompt: 2024-12-09T22:04:33.911278 -
2024-12-09T22:04:33.911278 - ['high quality, detailed']2024-12-09T22:04:33.911278 -
2024-12-09T22:04:38.081473 - It's likely that too large of an image or batch_size for SUPIR was used, and it has devoured all of the memory it had reserved, you may need to restart ComfyUI. Make sure you are using tiled_vae, you can also try using fp8 for reduced memory usage if your system supports it.2024-12-09T22:04:38.081473 -
2024-12-09T22:04:38.091472 - !!! Exception during processing !!! Allocation on device
2024-12-09T22:04:38.097472 - Traceback (most recent call last):
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\execution.py", line 323, 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 "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\execution.py", line 198, 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 "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\nodes.py", line 353, in process
raise e
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\nodes.py", line 336, in process
samples = self.model.batchify_sample(imgs, caps, num_steps=steps,
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
return func(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\SUPIR\models\SUPIR_model.py", line 143, in batchify_sample
_samples = self.sampler(denoiser, noised_z, cond=c, uc=uc, x_center=z_stage1, control_scale=control_scale,
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\sgm\modules\diffusionmodules\sampling.py", line 439, in __call__
x = self.sampler_step(
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\sgm\modules\diffusionmodules\sampling.py", line 416, in sampler_step
denoised = self.denoise(x, denoiser, sigma_hat, cond, uc, control_scale=control_scale)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\sgm\modules\diffusionmodules\sampling.py", line 398, in denoise
denoised = denoiser(*self.guider.prepare_inputs(x, sigma, cond, uc), control_scale)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\SUPIR\models\SUPIR_model.py", line 131, in
denoiser = lambda input, sigma, c, control_scale: self.denoiser(
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\sgm\modules\diffusionmodules\denoiser.py", line 73, in __call__
return network(input * c_in, c_noise, cond, control_scale) * c_out + input * c_skip
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1532, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1541, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\sgm\modules\diffusionmodules\wrappers.py", line 91, in forward
control = self.control_model(x=c.get("control", None), timesteps=t, xt=x,
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1532, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1541, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\SUPIR\modules\SUPIR_v0.py", line 535, in forward
h = module(h, emb, context)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1532, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1541, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\sgm\modules\diffusionmodules\openaimodel.py", line 100, in forward
x = layer(x, emb)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1532, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1541, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\sgm\modules\diffusionmodules\openaimodel.py", line 326, in forward
return checkpoint(
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\sgm\modules\diffusionmodules\util.py", line 168, in checkpoint
return CheckpointFunction.apply(func, len(inputs), *args)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\autograd\function.py", line 598, in apply
return super().apply(*args, **kwargs) # type: ignore[misc]
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\sgm\modules\diffusionmodules\util.py", line 185, in forward
output_tensors = ctx.run_function(*ctx.input_tensors)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\sgm\modules\diffusionmodules\openaimodel.py", line 338, in _forward
h = self.in_layers(x)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1532, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1541, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\container.py", line 217, in forward
input = module(input)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1532, in _wrapped_call_impl
return self._call_impl(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\module.py", line 1541, in _call_impl
return forward_call(*args, **kwargs)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\custom_nodes\ComfyUI-SUPIR\sgm\modules\diffusionmodules\util.py", line 280, in forward
return super().forward(x)
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\modules\normalization.py", line 287, in forward
return F.group_norm(
File "C:\Users\cwenm\aigc\ComfyUI-aki\ComfyUI-aki-v1.4\ComfyUI-aki-v1.4\python\lib\site-packages\torch\nn\functional.py", line 2588, in group_norm
return torch.group_norm(input, num_groups, weight, bias, eps, torch.backends.cudnn.enabled)
torch.cuda.OutOfMemoryError: Allocation on device
2024-12-09T22:04:38.098473 - Got an OOM, unloading all loaded models.
2024-12-09T22:04:38.099473 - Prompt executed in 46.13 seconds
```
## Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
```
{"last_node_id":3,"last_link_id":2,"nodes":[{"id":2,"type":"SUPIR_Upscale","pos":[1013.0721435546875,172.43344116210938],"size":[400,818],"flags":{},"order":1,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":1,"label":"图像"},{"name":"captions","type":"STRING","link":null,"widget":{"name":"captions"},"shape":7,"label":"captions"}],"outputs":[{"name":"upscaled_image","type":"IMAGE","links":[2],"slot_index":0,"label":"图像"}],"properties":{"Node name for S&R":"SUPIR_Upscale"},"widgets_values":["SUPIR-v0Q.ckpt","sd_xl_base_1.0_0.9vae.safetensors",46473538804223,"randomize","lanczos",1,45,-1,4,"high quality, detailed","bad quality, blurry, messy",5,1.003,1,4,0,"Wavelet",true,true,512,64,"","auto","auto",1,false,512,512,false,false,"RestoreEDMSampler",[false,true],[false,true],[false,true]]},{"id":3,"type":"PreviewImage","pos":[635.5525512695312,287.71356201171875],"size":[288.3199462890625,314.6400146484375],"flags":{},"order":2,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":2,"label":"图像"}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"}},{"id":1,"type":"LoadImage","pos":[283.5520935058594,286.8334655761719],"size":[315,314],"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[1],"label":"图像","slot_index":0},{"name":"MASK","type":"MASK","links":null,"label":"遮罩"}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["snow_tmp2.png","image"]}],"links":[[1,1,0,2,0,"IMAGE"],[2,2,0,3,0,"IMAGE"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.9090909090909092,"offset":[-240.43207691175346,-95.87348391001278]}},"version":0.4}
```
## Additional Context
(Please add any additional context or steps to reproduce the error here)
```
### Other
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.