Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (venv) C:\ComfyUI>python main.py --listen 0.0.0.0 --port 9999 --use-sage-attention --auto-launch
- [START] Security scan
- [DONE] Security scan
- ## ComfyUI-Manager: installing dependencies done.
- ** ComfyUI startup time: 2025-11-30 22:00:33.314
- ** Platform: Windows
- ** Python version: 3.13.9 (tags/v3.13.9:8183fa5, Oct 14 2025, 14:09:13) [MSC v.1944 64 bit (AMD64)]
- ** Python executable: C:\ComfyUI\venv\Scripts\python.exe
- ** ComfyUI Path: C:\ComfyUI
- ** ComfyUI Base Folder Path: C:\ComfyUI
- ** User directory: C:\ComfyUI\user
- ** ComfyUI-Manager config path: C:\ComfyUI\user\default\ComfyUI-Manager\config.ini
- ** Log path: C:\ComfyUI\user\comfyui.log
- Prestartup times for custom nodes:
- 4.9 seconds: C:\ComfyUI\custom_nodes\ComfyUI-Manager
- Checkpoint files will always be loaded safely.
- Total VRAM 8187 MB, total RAM 15834 MB
- pytorch version: 2.9.1+cu130
- WARNING[XFORMERS]: xFormers can't load C++/CUDA extensions. xFormers was built for:
- PyTorch 2.9.0+cu128 with CUDA 1208 (you have 2.9.1+cu130)
- Python 3.10.11 (you have 3.13.9)
- Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
- Memory-efficient attention, SwiGLU, sparse and more won't be available.
- Traceback (most recent call last):
- File "C:\ComfyUI\venv\Lib\site-packages\torch\_ops.py", line 1488, in load_library
- ctypes.CDLL(path)
- ~~~~~~~~~~~^^^^^^
- File "C:\Users\studi\AppData\Local\Programs\Python\Python313\Lib\ctypes\__init__.py", line 390, in __init__
- self._handle = _dlopen(self._name, mode)
- ~~~~~~~^^^^^^^^^^^^^^^^^^
- FileNotFoundError: Could not find module 'C:\ComfyUI\venv\Lib\site-packages\xformers\_C.pyd' (or one of its dependencies). Try using the full path with constructor syntax.
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\ComfyUI\venv\Lib\site-packages\xformers\_cpp_lib.py", line 132, in _register_extensions
- torch.ops.load_library(ext_specs.origin)
- ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
- File "C:\ComfyUI\venv\Lib\site-packages\torch\_ops.py", line 1490, in load_library
- raise OSError(f"Could not load this library: {path}") from e
- OSError: Could not load this library: C:\ComfyUI\venv\Lib\site-packages\xformers\_C.pyd
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\ComfyUI\venv\Lib\site-packages\xformers\_cpp_lib.py", line 142, in <module>
- _build_metadata = _register_extensions()
- File "C:\ComfyUI\venv\Lib\site-packages\xformers\_cpp_lib.py", line 134, in _register_extensions
- raise xFormersInvalidLibException(build_metadata) from exc
- xformers._cpp_lib.xFormersInvalidLibException: xFormers can't load C++/CUDA extensions. xFormers was built for:
- PyTorch 2.9.0+cu128 with CUDA 1208 (you have 2.9.1+cu130)
- Python 3.10.11 (you have 3.13.9)
- Please reinstall xformers (see https://github.com/facebookresearch/xformers#installing-xformers)
- Memory-efficient attention, SwiGLU, sparse and more won't be available.
- Set vram state to: NORMAL_VRAM
- Device: cuda:0 NVIDIA GeForce RTX 4060 : cudaMallocAsync
- Using async weight offloading with 2 streams
- Enabled pinned memory 7125.0
- working around nvidia conv3d memory bug.
- Using sage attention
- Python version: 3.13.9 (tags/v3.13.9:8183fa5, Oct 14 2025, 14:09:13) [MSC v.1944 64 bit (AMD64)]
- ComfyUI version: 0.3.75
- ________________________________________________________________________
- WARNING WARNING WARNING WARNING WARNING
- Installed frontend version 1.30.6 is lower than the recommended version 1.32.9.
- Please install the updated requirements.txt file by running:
- C:\ComfyUI\venv\Scripts\python.exe -m pip install -r C:\ComfyUI\requirements.txt
- If you are on the portable package you can run: update\update_comfyui.bat to solve this problem.
- This error is happening because the ComfyUI frontend is no longer shipped as part of the main repo but as a pip package instead.
- ________________________________________________________________________
- [Prompt Server] web root: C:\ComfyUI\venv\Lib\site-packages\comfyui_frontend_package\static
- Total VRAM 8187 MB, total RAM 15834 MB
- pytorch version: 2.9.1+cu130
- Set vram state to: NORMAL_VRAM
- Device: cuda:0 NVIDIA GeForce RTX 4060 : cudaMallocAsync
- Using async weight offloading with 2 streams
- Enabled pinned memory 7125.0
- ### Loading: ComfyUI-Manager (V3.37.2)
- [ComfyUI-Manager] network_mode: public
- ### ComfyUI Version: v0.3.75-30-gf8b981ae | Released on '2025-11-30'
- [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
- [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
- [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
- [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
- [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
- WanVideoWrapper WARNING: FantasyPortrait nodes not available due to error in importing them: No module named 'onnx'
- Import times for custom nodes:
- 0.0 seconds: C:\ComfyUI\custom_nodes\websocket_image_save.py
- 0.3 seconds: C:\ComfyUI\custom_nodes\ComfyUI-KJNodes
- 0.6 seconds: C:\ComfyUI\custom_nodes\ComfyUI-Manager
- 3.6 seconds: C:\ComfyUI\custom_nodes\ComfyUI-WanVideoWrapper
- FETCH ComfyRegistry Data: 5/109
- Context impl SQLiteImpl.
- Will assume non-transactional DDL.
- No target revision found.
- ________________________________________________________________________
- WARNING WARNING WARNING WARNING WARNING
- Installed frontend version 1.30.6 is lower than the recommended version 1.32.9.
- Please install the updated requirements.txt file by running:
- C:\ComfyUI\venv\Scripts\python.exe -m pip install -r C:\ComfyUI\requirements.txt
- If you are on the portable package you can run: update\update_comfyui.bat to solve this problem.
- This error is happening because the ComfyUI frontend is no longer shipped as part of the main repo but as a pip package instead.
- ________________________________________________________________________
- Starting server
- To see the GUI go to: http://0.0.0.0:9999
- [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
- [DEPRECATION WARNING] Detected import of deprecated legacy API: /extensions/core/groupNode.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
- [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui/components/buttonGroup.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
- [DEPRECATION WARNING] Detected import of deprecated legacy API: /scripts/ui/components/button.js. This is likely caused by a custom node extension using outdated APIs. Please update your extensions or contact the extension author for an updated version.
- FETCH ComfyRegistry Data: 10/109
- FETCH ComfyRegistry Data: 15/109
- FETCH ComfyRegistry Data: 20/109
- FETCH ComfyRegistry Data: 25/109
- FETCH ComfyRegistry Data: 30/109
- FETCH ComfyRegistry Data: 35/109
- FETCH ComfyRegistry Data: 40/109
- got prompt
- Using pytorch attention in VAE
- Using pytorch attention in VAE
- FETCH ComfyRegistry Data: 45/109
- VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16
- Using scaled fp8: fp8 matrix mult: False, scale input: False
- CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16
- FETCH ComfyRegistry Data: 50/109
- FETCH ComfyRegistry Data: 55/109
- FETCH ComfyRegistry Data: 60/109
- FETCH ComfyRegistry Data: 65/109
- Requested to load ZImageTEModel_
- FETCH ComfyRegistry Data: 70/109
- loaded completely; 5677.80 MB usable, 4207.25 MB loaded, full load: True
- Found quantization metadata (version 1.0)
- Detected mixed precision quantization: 179 layers quantized
- Using mixed precision operations: 179 quantized layers
- model weight dtype torch.float8_e4m3fn, manual cast: torch.bfloat16
- model_type FLOW
- unet missing: ['norm_final.weight']
- TorchCompileModelAdvanced: Compile key list:
- - diffusion_model.layers.0
- - diffusion_model.layers.1
- - diffusion_model.layers.2
- - diffusion_model.layers.3
- - diffusion_model.layers.4
- - diffusion_model.layers.5
- - diffusion_model.layers.6
- - diffusion_model.layers.7
- - diffusion_model.layers.8
- - diffusion_model.layers.9
- - diffusion_model.layers.10
- - diffusion_model.layers.11
- - diffusion_model.layers.12
- - diffusion_model.layers.13
- - diffusion_model.layers.14
- - diffusion_model.layers.15
- - diffusion_model.layers.16
- - diffusion_model.layers.17
- - diffusion_model.layers.18
- - diffusion_model.layers.19
- - diffusion_model.layers.20
- - diffusion_model.layers.21
- - diffusion_model.layers.22
- - diffusion_model.layers.23
- - diffusion_model.layers.24
- - diffusion_model.layers.25
- - diffusion_model.layers.26
- - diffusion_model.layers.27
- - diffusion_model.layers.28
- - diffusion_model.layers.29
- Requested to load Lumina2
- FETCH ComfyRegistry Data: 75/109
- FETCH ComfyRegistry Data: 80/109
- FETCH ComfyRegistry Data: 85/109
- FETCH ComfyRegistry Data: 90/109
- FETCH ComfyRegistry Data: 95/109
- FETCH ComfyRegistry Data: 100/109
- FETCH ComfyRegistry Data: 105/109
- FETCH ComfyRegistry Data [DONE]
- [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
- FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json [DONE]
- [ComfyUI-Manager] All startup tasks have been completed.
- loaded partially; 5635.67 MB usable, 5523.17 MB loaded, 1044.61 MB offloaded, 112.50 MB buffer reserved, lowvram patches: 0
- 0%| | 0/4 [00:00<?, ?it/s]QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- W1130 22:03:05.781000 1092 venv\Lib\site-packages\torch\_inductor\utils.py:1613] [0/2] Not enough SMs to use max_autotune_gemm mode
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- 25%|██████████████████████████████████████████████████▎ | 1/4 [00:35<01:46, 35.48s/it]QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- QuantizedTensor: dtype conversion requested to torch.bfloat16, but not supported for quantized tensors. Ignoring dtype.
- 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 4/4 [00:52<00:00, 13.11s/it]
- Requested to load AutoencodingEngine
- !!! Exception during processing !!! _apply(): Couldn't swap Linear.weight
- Traceback (most recent call last):
- File "C:\ComfyUI\venv\Lib\site-packages\torch\nn\modules\module.py", line 979, in _apply
- torch.utils.swap_tensors(param, param_applied)
- ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
- File "C:\ComfyUI\venv\Lib\site-packages\torch\utils\__init__.py", line 45, in swap_tensors
- raise RuntimeError("Cannot swap t1 because it has weakref associated with it")
- RuntimeError: Cannot swap t1 because it has weakref associated with it
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\ComfyUI\execution.py", line 510, in execute
- output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\ComfyUI\execution.py", line 324, in get_output_data
- return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\ComfyUI\execution.py", line 298, in _async_map_node_over_list
- await process_inputs(input_dict, i)
- File "C:\ComfyUI\execution.py", line 286, in process_inputs
- result = f(**inputs)
- File "C:\ComfyUI\nodes.py", line 295, in decode
- images = vae.decode(samples["samples"])
- File "C:\ComfyUI\comfy\sd.py", line 745, in decode
- model_management.load_models_gpu([self.patcher], memory_required=memory_used, force_full_load=self.disable_offload)
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\ComfyUI\comfy\model_management.py", line 671, in load_models_gpu
- free_memory(total_memory_required[device] * 1.1 + extra_mem, device)
- ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\ComfyUI\comfy\model_management.py", line 603, in free_memory
- if current_loaded_models[i].model_unload(memory_to_free):
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
- File "C:\ComfyUI\comfy\model_management.py", line 526, in model_unload
- freed = self.model.partially_unload(self.model.offload_device, memory_to_free)
- File "C:\ComfyUI\comfy\model_patcher.py", line 913, in partially_unload
- m.to(device_to)
- ~~~~^^^^^^^^^^^
- File "C:\ComfyUI\venv\Lib\site-packages\torch\nn\modules\module.py", line 1371, in to
- return self._apply(convert)
- ~~~~~~~~~~~^^^^^^^^^
- File "C:\ComfyUI\venv\Lib\site-packages\torch\nn\modules\module.py", line 983, in _apply
- raise RuntimeError(
- f"_apply(): Couldn't swap {self._get_name()}.{key}"
- ) from e
- RuntimeError: _apply(): Couldn't swap Linear.weight
- Prompt executed in 121.84 seconds
- got prompt
- TorchCompileModelAdvanced: Compile key list:
- - diffusion_model.layers.0
- - diffusion_model.layers.1
- - diffusion_model.layers.2
- - diffusion_model.layers.3
- - diffusion_model.layers.4
- - diffusion_model.layers.5
- - diffusion_model.layers.6
- - diffusion_model.layers.7
- - diffusion_model.layers.8
- - diffusion_model.layers.9
- - diffusion_model.layers.10
- - diffusion_model.layers.11
- - diffusion_model.layers.12
- - diffusion_model.layers.13
- - diffusion_model.layers.14
- - diffusion_model.layers.15
- - diffusion_model.layers.16
- - diffusion_model.layers.17
- - diffusion_model.layers.18
- - diffusion_model.layers.19
- - diffusion_model.layers.20
- - diffusion_model.layers.21
- - diffusion_model.layers.22
- - diffusion_model.layers.23
- - diffusion_model.layers.24
- - diffusion_model.layers.25
- - diffusion_model.layers.26
- - diffusion_model.layers.27
- - diffusion_model.layers.28
- - diffusion_model.layers.29
- Requested to load Lumina2
- !!! Exception during processing !!! _apply(): Couldn't swap Linear.weight
- Traceback (most recent call last):
- File "C:\ComfyUI\venv\Lib\site-packages\torch\nn\modules\module.py", line 979, in _apply
- torch.utils.swap_tensors(param, param_applied)
- ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
- File "C:\ComfyUI\venv\Lib\site-packages\torch\utils\__init__.py", line 45, in swap_tensors
- raise RuntimeError("Cannot swap t1 because it has weakref associated with it")
- RuntimeError: Cannot swap t1 because it has weakref associated with it
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\ComfyUI\comfy\model_patcher.py", line 972, in partially_load
- self.load(device_to, lowvram_model_memory=current_used + extra_memory, force_patch_weights=force_patch_weights, full_load=full_load)
- ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\ComfyUI\comfy\model_patcher.py", line 785, in load
- x[2].to(device_to)
- ~~~~~~~^^^^^^^^^^^
- File "C:\ComfyUI\venv\Lib\site-packages\torch\nn\modules\module.py", line 1371, in to
- return self._apply(convert)
- ~~~~~~~~~~~^^^^^^^^^
- File "C:\ComfyUI\venv\Lib\site-packages\torch\nn\modules\module.py", line 983, in _apply
- raise RuntimeError(
- f"_apply(): Couldn't swap {self._get_name()}.{key}"
- ) from e
- RuntimeError: _apply(): Couldn't swap Linear.weight
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "C:\ComfyUI\venv\Lib\site-packages\torch\nn\modules\module.py", line 979, in _apply
- torch.utils.swap_tensors(param, param_applied)
- ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
- File "C:\ComfyUI\venv\Lib\site-packages\torch\utils\__init__.py", line 45, in swap_tensors
- raise RuntimeError("Cannot swap t1 because it has weakref associated with it")
- RuntimeError: Cannot swap t1 because it has weakref associated with it
- The above exception was the direct cause of the following exception:
- Traceback (most recent call last):
- File "C:\ComfyUI\execution.py", line 510, in execute
- output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\ComfyUI\execution.py", line 324, in get_output_data
- return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, hidden_inputs=hidden_inputs)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\ComfyUI\execution.py", line 298, in _async_map_node_over_list
- await process_inputs(input_dict, i)
- File "C:\ComfyUI\execution.py", line 286, in process_inputs
- result = f(**inputs)
- File "C:\ComfyUI\nodes.py", line 1535, in sample
- return common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise)
- File "C:\ComfyUI\nodes.py", line 1502, in common_ksampler
- samples = comfy.sample.sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image,
- denoise=denoise, disable_noise=disable_noise, start_step=start_step, last_step=last_step,
- force_full_denoise=force_full_denoise, noise_mask=noise_mask, callback=callback, disable_pbar=disable_pbar, seed=seed)
- File "C:\ComfyUI\comfy\sample.py", line 60, 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 "C:\ComfyUI\comfy\samplers.py", line 1163, 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 "C:\ComfyUI\comfy\samplers.py", line 1053, in sample
- return cfg_guider.sample(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
- ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\ComfyUI\comfy\samplers.py", line 1035, in sample
- output = executor.execute(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed, latent_shapes=latent_shapes)
- File "C:\ComfyUI\comfy\patcher_extension.py", line 112, in execute
- return self.original(*args, **kwargs)
- ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
- File "C:\ComfyUI\comfy\samplers.py", line 984, in outer_sample
- self.inner_model, self.conds, self.loaded_models = comfy.sampler_helpers.prepare_sampling(self.model_patcher, noise.shape, self.conds, self.model_options)
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\ComfyUI\comfy\sampler_helpers.py", line 130, in prepare_sampling
- return executor.execute(model, noise_shape, conds, model_options=model_options)
- ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\ComfyUI\comfy\patcher_extension.py", line 112, in execute
- return self.original(*args, **kwargs)
- ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
- File "C:\ComfyUI\comfy\sampler_helpers.py", line 138, in _prepare_sampling
- comfy.model_management.load_models_gpu([model] + models, memory_required=memory_required + inference_memory, minimum_memory_required=minimum_memory_required + inference_memory)
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\ComfyUI\comfy\model_management.py", line 701, in load_models_gpu
- loaded_model.model_load(lowvram_model_memory, force_patch_weights=force_patch_weights)
- ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\ComfyUI\comfy\model_management.py", line 506, in model_load
- self.model_use_more_vram(use_more_vram, force_patch_weights=force_patch_weights)
- ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\ComfyUI\comfy\model_management.py", line 536, in model_use_more_vram
- return self.model.partially_load(self.device, extra_memory, force_patch_weights=force_patch_weights)
- ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\ComfyUI\comfy\model_patcher.py", line 974, in partially_load
- self.detach()
- ~~~~~~~~~~~^^
- File "C:\ComfyUI\comfy\model_patcher.py", line 983, in detach
- self.unpatch_model(self.offload_device, unpatch_weights=unpatch_all)
- ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "C:\ComfyUI\comfy\model_patcher.py", line 857, in unpatch_model
- self.model.to(device_to)
- ~~~~~~~~~~~~~^^^^^^^^^^^
- File "C:\ComfyUI\venv\Lib\site-packages\torch\nn\modules\module.py", line 1371, in to
- return self._apply(convert)
- ~~~~~~~~~~~^^^^^^^^^
- File "C:\ComfyUI\venv\Lib\site-packages\torch\nn\modules\module.py", line 930, in _apply
- module._apply(fn)
- ~~~~~~~~~~~~~^^^^
- File "C:\ComfyUI\venv\Lib\site-packages\torch\nn\modules\module.py", line 930, in _apply
- module._apply(fn)
- ~~~~~~~~~~~~~^^^^
- File "C:\ComfyUI\venv\Lib\site-packages\torch\nn\modules\module.py", line 930, in _apply
- module._apply(fn)
- ~~~~~~~~~~~~~^^^^
- [Previous line repeated 2 more times]
- File "C:\ComfyUI\venv\Lib\site-packages\torch\nn\modules\module.py", line 983, in _apply
- raise RuntimeError(
- f"_apply(): Couldn't swap {self._get_name()}.{key}"
- ) from e
- RuntimeError: _apply(): Couldn't swap Linear.weight
- Prompt executed in 3.44 seconds
Advertisement
Add Comment
Please, Sign In to add comment