Comfy-Org / Comfy-Org/ComfyUI

**Exception Message:** 'NoneType' object has no attribute 'copy'

Open
#7,983 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 10h
Merged PRs (30d)
153

Description

Posted this in a previous issue but realized it probably needed its own report.

I've been using the same workflow for months now with only minor issues every now and again with updates. These most recent updates however, have seemed to break my workflow when I attempt to use a refiner/resample.
>
> # ComfyUI Error Report
> ## Error Details
> - **Node ID:** 260
> - **Node Type:** LatentUpscale
> - **Exception Type:** AttributeError
> - **Exception Message:** 'NoneType' object has no attribute 'copy'
> ## Stack Trace
> ```
> File "S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\execution.py", line 347, 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 "S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\Comfy-WaveSpeed\first_block_cache.py", line 101, in new_get_output_data
> out = get_output_data(*args, **kwargs)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> File "S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\execution.py", line 222, 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 "S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\execution.py", line 194, in _map_node_over_list
> process_inputs(input_dict, i)
>
> File "S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\execution.py", line 183, in process_inputs
> results.append(getattr(obj, func)(**inputs))
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> File "S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\nodes.py", line 1263, in upscale
> s = samples.copy()
> ^^^^^^^^^^^^
>
> ```
> ## System Information
> - **ComfyUI Version:** 0.3.32
> - **Arguments:** ComfyUI\main.py --lowvram --async-offload --output-directory J:\JTCloud\AI\AI_VIDEOS --listen
> - **OS:** nt
> - **Python Version:** 3.12.9 (tags/v3.12.9:fdb8142, Feb 4 2025, 15:27:58) [MSC v.1942 64 bit (AMD64)]
> - **Embedded Python:** true
> - **PyTorch Version:** 2.8.0.dev20250505+cu128
> ## Devices
>
> - **Name:** cuda:0 NVIDIA GeForce RTX 3080 Ti : cudaMallocAsync
> - **Type:** cuda
> - **VRAM Total:** 12884377600
> - **VRAM Free:** 11200806912
> - **Torch VRAM Total:** 234881024
> - **Torch VRAM Free:** 64929792
>
> ## Logs
> ```
> 2025-05-07T00:52:45.784729 - MultiGPU: Checking for module at S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-Florence2
> 2025-05-07T00:52:45.785231 - MultiGPU: Module ComfyUI-Florence2 not found - skipping
> 2025-05-07T00:52:45.785730 - MultiGPU: Checking for module at S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\comfyui-florence2
> 2025-05-07T00:52:45.786230 - MultiGPU: Module comfyui-florence2 not found - skipping
> 2025-05-07T00:52:45.786230 - MultiGPU: Checking for module at S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI_bitsandbytes_NF4
> 2025-05-07T00:52:45.786230 - MultiGPU: Module ComfyUI_bitsandbytes_NF4 not found - skipping
> 2025-05-07T00:52:45.786730 - MultiGPU: Checking for module at S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\comfyui_bitsandbytes_nf4
> 2025-05-07T00:52:45.786730 - MultiGPU: Module comfyui_bitsandbytes_nf4 not found - skipping
> 2025-05-07T00:52:45.786730 - MultiGPU: Checking for module at S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\x-flux-comfyui
> 2025-05-07T00:52:45.786730 - MultiGPU: Module x-flux-comfyui not found - skipping
> 2025-05-07T00:52:45.786730 - MultiGPU: Checking for module at S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\x-flux-comfyui
> 2025-05-07T00:52:45.787230 - MultiGPU: Module x-flux-comfyui not found - skipping
> 2025-05-07T00:52:45.787230 - MultiGPU: Checking for module at S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-MMAudio
> 2025-05-07T00:52:45.787230 - MultiGPU: Module ComfyUI-MMAudio not found - skipping
> 2025-05-07T00:52:45.787730 - MultiGPU: Checking for module at S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\comfyui-mmaudio
> 2025-05-07T00:52:45.787730 - MultiGPU: Module comfyui-mmaudio not found - skipping
> 2025-05-07T00:52:45.787730 - MultiGPU: Checking for module at S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-GGUF
> 2025-05-07T00:52:45.788230 - MultiGPU: Found ComfyUI-GGUF, creating compatible MultiGPU nodes
> 2025-05-07T00:52:45.788230 - MultiGPU: Checking for module at S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\PuLID_ComfyUI
> 2025-05-07T00:52:45.788230 - MultiGPU: Module PuLID_ComfyUI not found - skipping
> 2025-05-07T00:52:45.788731 - MultiGPU: Checking for module at S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\pulid_comfyui
> 2025-05-07T00:52:45.788731 - MultiGPU: Module pulid_comfyui not found - skipping
> 2025-05-07T00:52:45.788731 - MultiGPU: Checking for module at S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-HunyuanVideoWrapper
> 2025-05-07T00:52:45.789230 - MultiGPU: Found ComfyUI-HunyuanVideoWrapper, creating compatible MultiGPU nodes
> 2025-05-07T00:52:45.789230 - MultiGPU: Checking for module at S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-WanVideoWrapper
> 2025-05-07T00:52:45.789230 - MultiGPU: Module ComfyUI-WanVideoWrapper not found - skipping
> 2025-05-07T00:52:45.789230 - MultiGPU: Checking for module at S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\comfyui-wanvideowrapper
> 2025-05-07T00:52:45.789730 - MultiGPU: Module comfyui-wanvideowrapper not found - skipping
> 2025-05-07T00:52:45.789730 - MultiGPU: Registration complete. Final mappings: DeviceSelectorMultiGPU, HunyuanVideoEmbeddingsAdapter, MergeFluxLoRAsQuantizeAndLoaddMultiGPU, UNETLoaderMultiGPU, VAELoaderMultiGPU, CLIPLoaderMultiGPU, DualCLIPLoaderMultiGPU, TripleCLIPLoaderMultiGPU, QuadrupleCLIPLoaderMultiGPU, CLIPVisionLoaderMultiGPU, CheckpointLoaderSimpleMultiGPU, ControlNetLoaderMultiGPU, UnetLoaderGGUFMultiGPU, UnetLoaderGGUFDisTorchMultiGPU, UnetLoaderGGUFAdvancedMultiGPU, UnetLoaderGGUFAdvancedDisTorchMultiGPU, CLIPLoaderGGUFMultiGPU, CLIPLoaderGGUFDisTorchMultiGPU, DualCLIPLoaderGGUFMultiGPU, DualCLIPLoaderGGUFDisTorchMultiGPU, TripleCLIPLoaderGGUFMultiGPU, TripleCLIPLoaderGGUFDisTorchMultiGPU, QuadrupleCLIPLoaderGGUFMultiGPU, QuadrupleCLIPLoaderGGUFDisTorchMultiGPU, HyVideoModelLoaderMultiGPU, HyVideoVAELoaderMultiGPU, DownloadAndLoadHyVideoTextEncoderMultiGPU
> 2025-05-07T00:52:45.793730 - ComfyUI Path Helper Nodes: Loaded2025-05-07T00:52:45.793730 -
> 2025-05-07T00:52:45.819553 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
> 2025-05-07T00:52:45.958641 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
> 2025-05-07T00:52:46.382552 - S:\ComfyUI_windows_portable\comfy_experiments\python_embeded\Lib\site-packages\albumentations\__init__.py:28: UserWarning: A new version of Albumentations is available: '2.0.6' (you have '2.0.5'). Upgrade using: pip install -U albumentations. To disable automatic update checks, set the environment variable NO_ALBUMENTATIONS_UPDATE to 1.
> check_for_updates()
> 2025-05-07T00:52:46.430947 -
> [ReActor] - STATUS - Running v0.6.0-a1 in ComfyUI2025-05-07T00:52:46.430947 -
> 2025-05-07T00:52:46.571149 - Torch version: 2.8.0.dev20250505+cu1282025-05-07T00:52:46.571149 -
> 2025-05-07T00:52:47.005358 - ------------------------------------------2025-05-07T00:52:47.005358 -
> 2025-05-07T00:52:47.005358 - Comfyroll Studio v1.76 :  175 Nodes Loaded2025-05-07T00:52:47.005858 -
> 2025-05-07T00:52:47.005858 - ------------------------------------------2025-05-07T00:52:47.005858 -
> 2025-05-07T00:52:47.005858 - ** For changes, please see patch notes at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/blob/main/Patch_Notes.md2025-05-07T00:52:47.005858 -
> 2025-05-07T00:52:47.005858 - ** For help, please see the wiki at https://github.com/Suzie1/ComfyUI_Comfyroll_CustomNodes/wiki2025-05-07T00:52:47.005858 -
> 2025-05-07T00:52:47.005858 - ------------------------------------------2025-05-07T00:52:47.005858 -
> 2025-05-07T00:52:47.652090 - config.json not found, use config.json.template2025-05-07T00:52:47.652090 -
> 2025-05-07T00:52:47.677350 - [tinyterraNodes] Loaded2025-05-07T00:52:47.677850 -
> 2025-05-07T00:52:47.735878 -
> 2025-05-07T00:52:47.735878 - [rgthree-comfy] Loaded 42 exciting nodes. πŸŽ‰2025-05-07T00:52:47.736378 -
> 2025-05-07T00:52:47.736378 -
> 2025-05-07T00:52:48.273450 - WAS Node Suite: OpenCV Python FFMPEG support is enabled2025-05-07T00:52:48.273450 -
> 2025-05-07T00:52:48.273450 - WAS Node Suite Warning: `ffmpeg_bin_path` is not set in `S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json` config file. Will attempt to use system ffmpeg binaries if available.2025-05-07T00:52:48.273950 -
> 2025-05-07T00:52:48.787228 - WAS Node Suite: Finished. Loaded 220 nodes successfully.2025-05-07T00:52:48.787228 -
> 2025-05-07T00:52:48.787728 -
> "Art is not about making something perfect, it's about making something meaningful." - Unknown
> 2025-05-07T00:52:48.787728 -
> 2025-05-07T00:52:48.797229 -
> Import times for custom nodes:
> 2025-05-07T00:52:48.797729 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\comfy-cliption
> 2025-05-07T00:52:48.797729 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-hvBlockswap
> 2025-05-07T00:52:48.797729 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-HunyuanVideoMultiLora
> 2025-05-07T00:52:48.797729 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-ImageMotionGuider
> 2025-05-07T00:52:48.797729 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-DenoiseChooser
> 2025-05-07T00:52:48.797729 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\comfyui-logic
> 2025-05-07T00:52:48.798233 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\teacachehunyuanvideo
> 2025-05-07T00:52:48.798233 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\Comfyui-flexi-lora-loader
> 2025-05-07T00:52:48.798233 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-mxToolkit
> 2025-05-07T00:52:48.798233 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-Path-Helper
> 2025-05-07T00:52:48.798233 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\cg-use-everywhere
> 2025-05-07T00:52:48.798233 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-Simple-Video-XY-Plot
> 2025-05-07T00:52:48.798233 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\The-AI-Doctors-Clinical-Tools
> 2025-05-07T00:52:48.798233 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI_AIDocsClinicalTools
> 2025-05-07T00:52:48.798233 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\websocket_image_save.py
> 2025-05-07T00:52:48.798233 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyLiterals
> 2025-05-07T00:52:48.798233 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-VideoNoiseWarp
> 2025-05-07T00:52:48.798733 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-GGUF
> 2025-05-07T00:52:48.798733 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI_JPS-Nodes
> 2025-05-07T00:52:48.798733 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\Comfy-WaveSpeed
> 2025-05-07T00:52:48.798733 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\comfy-image-saver
> 2025-05-07T00:52:48.798733 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-Custom-Scripts
> 2025-05-07T00:52:48.798733 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\comfyui-various
> 2025-05-07T00:52:48.799233 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\comfyui-multigpu
> 2025-05-07T00:52:48.799233 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-TeaCache
> 2025-05-07T00:52:48.799233 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyMath
> 2025-05-07T00:52:48.799233 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI_essentials
> 2025-05-07T00:52:48.799733 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\comfyui_patches_ll
> 2025-05-07T00:52:48.799733 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-HunyuanLoom
> 2025-05-07T00:52:48.799733 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-Frame-Interpolation
> 2025-05-07T00:52:48.799733 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\rgthree-comfy
> 2025-05-07T00:52:48.799733 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI_Comfyroll_CustomNodes
> 2025-05-07T00:52:48.800233 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\comfyui-dream-project
> 2025-05-07T00:52:48.800233 - 0.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI_tinyterraNodes
> 2025-05-07T00:52:48.800233 - 0.1 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\comfyui-impact-pack
> 2025-05-07T00:52:48.800233 - 0.1 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-KJNodes
> 2025-05-07T00:52:48.800233 - 0.1 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-HunyuanVideoWrapper
> 2025-05-07T00:52:48.800734 - 0.1 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\chaosaiart-nodes
> 2025-05-07T00:52:48.800734 - 0.1 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\Comfyui-ergouzi-Nodes
> 2025-05-07T00:52:48.800734 - 0.1 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\comfyui_layerstyle
> 2025-05-07T00:52:48.800734 - 0.1 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-MediaMixer
> 2025-05-07T00:52:48.800734 - 0.2 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite
> 2025-05-07T00:52:48.801233 - 0.2 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-Detail-Daemon
> 2025-05-07T00:52:48.801233 - 0.4 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\comfyui-art-venture
> 2025-05-07T00:52:48.801233 - 0.4 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-Manager
> 2025-05-07T00:52:48.801233 - 0.6 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI_NYJY
> 2025-05-07T00:52:48.801233 - 1.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-ReActor
> 2025-05-07T00:52:48.801233 - 1.0 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-Image-Filters
> 2025-05-07T00:52:48.801733 - 1.1 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\was-node-suite-comfyui
> 2025-05-07T00:52:48.801733 - 1.2 seconds: S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\ComfyUI-Easy-Use
> 2025-05-07T00:52:48.801733 -
> 2025-05-07T00:52:48.831842 - Starting server
>
> 2025-05-07T00:52:48.832342 - To see the GUI go to: http://0.0.0.0:8188
> 2025-05-07T00:52:48.832843 - To see the GUI go to: http://[::]:8188
> 2025-05-07T00:52:48.940618 - FETCH ComfyRegistry Data: 5/842025-05-07T00:52:48.940618 -
> 2025-05-07T00:52:53.652080 - FETCH ComfyRegistry Data: 10/842025-05-07T00:52:53.652080 -
> 2025-05-07T00:52:54.600605 - Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
> handle:
> Traceback (most recent call last):
> File "asyncio\events.py", line 88, in _run
> File "asyncio\proactor_events.py", line 165, in _call_connection_lost
> ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
> 2025-05-07T00:52:54.601263 - Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
> handle:
> Traceback (most recent call last):
> File "asyncio\events.py", line 88, in _run
> File "asyncio\proactor_events.py", line 165, in _call_connection_lost
> ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
> 2025-05-07T00:52:54.609979 - Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
> handle:
> Traceback (most recent call last):
> File "asyncio\events.py", line 88, in _run
> File "asyncio\proactor_events.py", line 165, in _call_connection_lost
> ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
> 2025-05-07T00:52:54.610838 - Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
> handle:
> Traceback (most recent call last):
> File "asyncio\events.py", line 88, in _run
> File "asyncio\proactor_events.py", line 165, in _call_connection_lost
> ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
> 2025-05-07T00:52:54.614816 - Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
> handle:
> Traceback (most recent call last):
> File "asyncio\events.py", line 88, in _run
> File "asyncio\proactor_events.py", line 165, in _call_connection_lost
> ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
> 2025-05-07T00:52:58.864428 - FETCH ComfyRegistry Data: 15/842025-05-07T00:52:58.864428 -
> 2025-05-07T00:53:02.068771 - FETCH ComfyRegistry Data: 20/842025-05-07T00:53:02.069270 -
> 2025-05-07T00:53:05.305069 - FETCH ComfyRegistry Data: 25/842025-05-07T00:53:05.305069 -
> 2025-05-07T00:53:09.406045 - FETCH ComfyRegistry Data: 30/842025-05-07T00:53:09.406045 -
> 2025-05-07T00:53:12.609875 - FETCH ComfyRegistry Data: 35/842025-05-07T00:53:12.610414 -
> 2025-05-07T00:53:15.821457 - FETCH ComfyRegistry Data: 40/842025-05-07T00:53:15.821457 -
> 2025-05-07T00:53:19.998803 - FETCH ComfyRegistry Data: 45/842025-05-07T00:53:19.998803 -
> 2025-05-07T00:53:20.831596 - got prompt
> 2025-05-07T00:53:21.077958 - WARNING: '2985'
> 2025-05-07T00:53:21.490547 - gguf qtypes: F32 (513), BF16 (23), Q8_0 (320)
> 2025-05-07T00:53:21.509064 - model weight dtype torch.bfloat16, manual cast: None
> 2025-05-07T00:53:21.509564 - model_type FLOW
> 2025-05-07T00:53:21.536028 - [DisTorch] Full allocation string: #cuda:0;13.100000000000001;cpu
> 2025-05-07T00:53:21.557521 - Loading Diffusers format LoRA...
> 2025-05-07T00:53:21.584893 - Loading Musubi Tuner format LoRA...
> 2025-05-07T00:53:22.039661 - Requested to load HunyuanVideoClipModel_
> 2025-05-07T00:53:22.046671 - loaded completely 9.5367431640625e+25 14551.1025390625 True
> 2025-05-07T00:53:22.048666 - CLIP/text encoder model load device: cpu, offload device: cpu, current: cpu, dtype: torch.float16
> 2025-05-07T00:53:23.514987 - FETCH ComfyRegistry Data: 50/842025-05-07T00:53:23.514987 -
> 2025-05-07T00:53:26.700161 - FETCH ComfyRegistry Data: 55/842025-05-07T00:53:26.700667 -
> 2025-05-07T00:53:29.859274 - FETCH ComfyRegistry Data: 60/842025-05-07T00:53:29.859274 -
> 2025-05-07T00:53:30.965924 - Requested to load HunyuanVideo
> 2025-05-07T00:53:33.024002 - FETCH ComfyRegistry Data: 65/842025-05-07T00:53:33.024002 -
> 2025-05-07T00:53:36.231083 - FETCH ComfyRegistry Data: 70/842025-05-07T00:53:36.231586 -
> 2025-05-07T00:53:36.431520 - loaded partially 7275.2 7275.199951171875 0
> 2025-05-07T00:53:36.445623 - ===============================================
> 2025-05-07T00:53:36.445623 - DisTorch Virtual VRAM Analysis
> 2025-05-07T00:53:36.445623 - ===============================================
> 2025-05-07T00:53:36.445623 - Object Role Original(GB) Total(GB) Virt(GB)
> 2025-05-07T00:53:36.445623 - -----------------------------------------------
> 2025-05-07T00:53:36.446528 - cuda:0 recip 12.00GB 25.10GB +13.10GB
> 2025-05-07T00:53:36.451503 - cpu donor 63.69GB 50.59GB -13.10GB
> 2025-05-07T00:53:36.451503 - -----------------------------------------------
> 2025-05-07T00:53:36.455003 - model model 13.01GB 0.00GB -13.10GB
> 2025-05-07T00:53:36.455003 -
> Warning: Model size is greater than 90% of recipient VRAM. 2.21 GB of GGML Layers Offloaded Automatically to Virtual VRAM.
>
> 2025-05-07T00:53:36.455503 -
> Allocation String cuda:0,0.0000;cpu,0.2057
> 2025-05-07T00:53:36.460130 - ===============================================
> 2025-05-07T00:53:36.460130 - DisTorch Device Allocations
> 2025-05-07T00:53:36.460631 - ===============================================
> 2025-05-07T00:53:36.460631 - Device Alloc % Total (GB) Alloc (GB)
> 2025-05-07T00:53:36.460631 - -----------------------------------------------
> 2025-05-07T00:53:36.460631 - cuda:0 0% 12.00 0.00
> 2025-05-07T00:53:36.460631 - cpu 20% 63.69 13.10
> 2025-05-07T00:53:36.460631 - -----------------------------------------------
> 2025-05-07T00:53:36.464340 - DisTorch GGML Layer Distribution
> 2025-05-07T00:53:36.464340 - -----------------------------------------------
> 2025-05-07T00:53:36.464340 - Layer Type Layers Memory (MB) % Total
> 2025-05-07T00:53:36.464340 - -----------------------------------------------
> 2025-05-07T00:53:36.464340 - Conv3d 1 0.38 0.0%
> 2025-05-07T00:53:36.465255 - Linear 343 13322.47 100.0%
> 2025-05-07T00:53:36.465255 - LayerNorm 125 0.05 0.0%
> 2025-05-07T00:53:36.465255 - -----------------------------------------------
> 2025-05-07T00:53:36.465255 - DisTorch Final Device/Layer Assignments
> 2025-05-07T00:53:36.465255 - -----------------------------------------------
> 2025-05-07T00:53:36.466033 - Device Layers Memory (MB) % Total
> 2025-05-07T00:53:36.466533 - -----------------------------------------------
> 2025-05-07T00:53:36.466533 - cuda:0 0 0.00 0.0%
> 2025-05-07T00:53:36.466533 - cpu 469 13322.90 100.0%
> 2025-05-07T00:53:36.466533 - -----------------------------------------------
> 2025-05-07T00:53:39.647546 - FETCH ComfyRegistry Data: 75/842025-05-07T00:53:39.647546 -
> 2025-05-07T00:53:43.447668 - FETCH ComfyRegistry Data: 80/842025-05-07T00:53:43.447668 -
> 2025-05-07T00:53:44.151382 - Patching comfy attention to use sageattn2025-05-07T00:53:44.151382 -
> 2025-05-07T00:53:44.252588 -
> 0%| | 0/7 [00:00 2025-05-07T00:53:46.497853 - [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
> 2025-05-07T00:53:46.533132 - FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json2025-05-07T00:53:46.533132 - 2025-05-07T00:53:46.628068 - [DONE]2025-05-07T00:53:46.628068 -
> 2025-05-07T00:53:46.659118 - [ComfyUI-Manager] All startup tasks have been completed.
> 2025-05-07T00:54:57.916328 -
> 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 7/7 [01:13<00:00, 10.38s/it]2025-05-07T00:54:57.916827 -
> 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 7/7 [01:13<00:00, 10.52s/it]2025-05-07T00:54:57.916827 -
> 2025-05-07T00:54:57.955169 - in sample2025-05-07T00:54:57.955669 - 2025-05-07T00:54:57.955669 - torch.Size([1, 16, 37, 60, 40])2025-05-07T00:54:57.956169 -
> 2025-05-07T00:54:57.956169 - [[-0.41, -0.25, -0.26], [-0.26, -0.49, -0.24], [-0.37, -0.54, -0.3], [-0.04, -0.29, -0.29], [-0.52, -0.59, -0.39], [-0.56, -0.6, -0.02], [-0.53, -0.06, -0.48], [-0.51, -0.28, -0.18], [-0.59, -0.1, -0.33], [-0.56, -0.54, -0.41], [-0.61, -0.19, -0.5], [-0.05, -0.25, -0.17], [-0.23, -0.04, -0.22], [-0.51, -0.56, -0.43], [-0.13, -0.4, -0.05], [-0.01, -0.01, -0.48]]2025-05-07T00:54:57.956669 -
> 2025-05-07T00:54:57.956669 - latent_rgb_factors2025-05-07T00:54:57.957169 - 2025-05-07T00:54:57.957169 - torch.Size([3, 16])2025-05-07T00:54:57.957169 -
> 2025-05-07T00:54:57.960168 - latent_images2025-05-07T00:54:57.960168 - 2025-05-07T00:54:57.960168 - torch.Size([37, 60, 40, 3])2025-05-07T00:54:57.960669 -
> 2025-05-07T00:54:58.169329 - Using pytorch attention in VAE
> 2025-05-07T00:54:58.170829 - Using pytorch attention in VAE
> 2025-05-07T00:54:58.450425 - VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16
> 2025-05-07T00:54:59.735840 - [VideoHelperSuite] - WARNING - Output images were not of valid resolution and have had padding applied
> 2025-05-07T00:55:00.125976 - !!! Exception during processing !!! 'NoneType' object has no attribute 'copy'
> 2025-05-07T00:55:00.126977 - Traceback (most recent call last):
> File "S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\execution.py", line 347, 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 "S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\Comfy-WaveSpeed\first_block_cache.py", line 101, in new_get_output_data
> out = get_output_data(*args, **kwargs)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\execution.py", line 222, 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 "S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\execution.py", line 194, in _map_node_over_list
> process_inputs(input_dict, i)
> File "S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\execution.py", line 183, in process_inputs
> results.append(getattr(obj, func)(**inputs))
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\nodes.py", line 1263, in upscale
> s = samples.copy()
> ^^^^^^^^^^^^
> AttributeError: 'NoneType' object has no attribute 'copy'
>
> 2025-05-07T00:55:00.128977 - Prompt executed in 99.25 seconds
> 2025-05-07T00:57:02.778369 - got prompt
> 2025-05-07T00:57:02.889586 - WARNING: '2985'
> 2025-05-07T00:57:09.387149 - Requested to load HunyuanVideo
> 2025-05-07T00:57:10.726349 - loaded partially 7135.2 7135.181640625 0
> 2025-05-07T00:57:10.739849 - ===============================================
> 2025-05-07T00:57:10.739849 - DisTorch Virtual VRAM Analysis
> 2025-05-07T00:57:10.739849 - ===============================================
> 2025-05-07T00:57:10.739849 - Object Role Original(GB) Total(GB) Virt(GB)
> 2025-05-07T00:57:10.740350 - -----------------------------------------------
> 2025-05-07T00:57:10.740350 - cuda:0 recip 12.00GB 25.10GB +13.10GB
> 2025-05-07T00:57:10.745349 - cpu donor 63.69GB 50.59GB -13.10GB
> 2025-05-07T00:57:10.745349 - -----------------------------------------------
> 2025-05-07T00:57:10.748849 - model model 13.01GB 0.00GB -13.10GB
> 2025-05-07T00:57:10.749349 -
> Warning: Model size is greater than 90% of recipient VRAM. 2.21 GB of GGML Layers Offloaded Automatically to Virtual VRAM.
>
> 2025-05-07T00:57:10.749349 -
> Allocation String cuda:0,0.0000;cpu,0.2057
> 2025-05-07T00:57:10.753850 - ===============================================
> 2025-05-07T00:57:10.754349 - DisTorch Device Allocations
> 2025-05-07T00:57:10.754349 - ===============================================
> 2025-05-07T00:57:10.754349 - Device Alloc % Total (GB) Alloc (GB)
> 2025-05-07T00:57:10.754349 - -----------------------------------------------
> 2025-05-07T00:57:10.754850 - cuda:0 0% 12.00 0.00
> 2025-05-07T00:57:10.754850 - cpu 20% 63.69 13.10
> 2025-05-07T00:57:10.754850 - -----------------------------------------------
> 2025-05-07T00:57:10.758349 - DisTorch GGML Layer Distribution
> 2025-05-07T00:57:10.758349 - -----------------------------------------------
> 2025-05-07T00:57:10.758349 - Layer Type Layers Memory (MB) % Total
> 2025-05-07T00:57:10.758349 - -----------------------------------------------
> 2025-05-07T00:57:10.758849 - Conv3d 1 0.38 0.0%
> 2025-05-07T00:57:10.758849 - Linear 343 13322.47 100.0%
> 2025-05-07T00:57:10.758849 - LayerNorm 125 0.05 0.0%
> 2025-05-07T00:57:10.758849 - -----------------------------------------------
> 2025-05-07T00:57:10.759349 - DisTorch Final Device/Layer Assignments
> 2025-05-07T00:57:10.759349 - -----------------------------------------------
> 2025-05-07T00:57:10.759349 - Device Layers Memory (MB) % Total
> 2025-05-07T00:57:10.759349 - -----------------------------------------------
> 2025-05-07T00:57:10.759349 - cuda:0 0 0.00 0.0%
> 2025-05-07T00:57:10.759850 - cpu 469 13322.90 100.0%
> 2025-05-07T00:57:10.759850 - -----------------------------------------------
> 2025-05-07T00:57:13.426289 - Patching comfy attention to use sageattn2025-05-07T00:57:13.426790 -
> 2025-05-07T00:58:25.635142 -
> 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 7/7 [01:12<00:00, 10.33s/it]2025-05-07T00:58:25.635643 -
> 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 7/7 [01:12<00:00, 10.32s/it]2025-05-07T00:58:25.635643 -
> 2025-05-07T00:58:25.679269 - in sample2025-05-07T00:58:25.679269 - 2025-05-07T00:58:25.679777 - torch.Size([1, 16, 37, 60, 40])2025-05-07T00:58:25.679777 -
> 2025-05-07T00:58:25.679777 - [[-0.41, -0.25, -0.26], [-0.26, -0.49, -0.24], [-0.37, -0.54, -0.3], [-0.04, -0.29, -0.29], [-0.52, -0.59, -0.39], [-0.56, -0.6, -0.02], [-0.53, -0.06, -0.48], [-0.51, -0.28, -0.18], [-0.59, -0.1, -0.33], [-0.56, -0.54, -0.41], [-0.61, -0.19, -0.5], [-0.05, -0.25, -0.17], [-0.23, -0.04, -0.22], [-0.51, -0.56, -0.43], [-0.13, -0.4, -0.05], [-0.01, -0.01, -0.48]]2025-05-07T00:58:25.680277 -
> 2025-05-07T00:58:25.680277 - latent_rgb_factors2025-05-07T00:58:25.680277 - 2025-05-07T00:58:25.680925 - torch.Size([3, 16])2025-05-07T00:58:25.680925 -
> 2025-05-07T00:58:25.682924 - latent_images2025-05-07T00:58:25.683424 - 2025-05-07T00:58:25.683424 - torch.Size([37, 60, 40, 3])2025-05-07T00:58:25.683424 -
> 2025-05-07T00:58:25.866299 - !!! Exception during processing !!! 'NoneType' object has no attribute 'copy'
> 2025-05-07T00:58:25.867800 - Traceback (most recent call last):
> File "S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\execution.py", line 347, 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 "S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\custom_nodes\Comfy-WaveSpeed\first_block_cache.py", line 101, in new_get_output_data
> out = get_output_data(*args, **kwargs)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\execution.py", line 222, 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 "S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\execution.py", line 194, in _map_node_over_list
> process_inputs(input_dict, i)
> File "S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\execution.py", line 183, in process_inputs
> results.append(getattr(obj, func)(**inputs))
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "S:\ComfyUI_windows_portable\comfy_experiments\ComfyUI\nodes.py", line 1263, in upscale
> s = samples.copy()
> ^^^^^^^^^^^^
> AttributeError: 'NoneType' object has no attribute 'copy'
>
> 2025-05-07T00:58:25.869300 - Prompt executed in 83.04 seconds
>
> ```
> ## Attached Workflow
> Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
> ```
> Workflow too large. Please manually upload the workflow from local file system.
> ```
>
> ## Additional Context
> (Please add any additional context or steps to reproduce the error here)

_Originally posted by @jarrodthebobo in [#7968](https://github.com/comfyanonymous/ComfyUI/issues/7968#issuecomment-2857050938)_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.