Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HyVideoSampler Allocation on device #394

Open
Cal-DCosta opened this issue Feb 21, 2025 · 1 comment
Open

HyVideoSampler Allocation on device #394

Cal-DCosta opened this issue Feb 21, 2025 · 1 comment

Comments

@Cal-DCosta
Copy link

Why am I getting this

ComfyUI Error Report

Error Details

  • Node ID: 3
  • Node Type: HyVideoSampler
  • Exception Type: torch.OutOfMemoryError
  • Exception Message: Allocation on device

Stack Trace

  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 327, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 202, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)

  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-hunyuanvideowrapper\nodes.py", line 1292, in process
    out_latents = model["pipe"](
                  ^^^^^^^^^^^^^^

  File "D:\AI\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils\_contextlib.py", line 116, in decorate_context
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^

  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-hunyuanvideowrapper\hyvideo\diffusion\pipelines\pipeline_hunyuan_video.py", line 790, in __call__
    uncond = self.transformer(
             ^^^^^^^^^^^^^^^^^

  File "D:\AI\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1736, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\AI\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-hunyuanvideowrapper\hyvideo\modules\models.py", line 1047, in forward
    img, txt = _process_double_blocks(img, txt, vec, block_args)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-hunyuanvideowrapper\hyvideo\modules\models.py", line 894, in _process_double_blocks
    img, txt = block(img, txt, vec, *block_args)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\AI\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1736, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\AI\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-hunyuanvideowrapper\hyvideo\modules\models.py", line 257, in forward
    attn = attention(
           ^^^^^^^^^^

  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-hunyuanvideowrapper\hyvideo\modules\attention.py", line 165, in attention
    x = F.scaled_dot_product_attention(
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

System Information

  • ComfyUI Version: 0.3.14
  • Arguments: ComfyUI\main.py
  • OS: nt
  • Python Version: 3.12.8 (tags/v3.12.8:2dc476b, Dec 3 2024, 19:30:04) [MSC v.1942 64 bit (AMD64)]
  • Embedded Python: true
  • PyTorch Version: 2.5.1+cu124

Devices

  • Name: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
    • Type: cuda
    • VRAM Total: 25756696576
    • VRAM Free: 14098220976
    • Torch VRAM Total: 9999220736
    • Torch VRAM Free: 89245616

Logs

2025-02-21T19:01:56.128387 - [START] Security scan2025-02-21T19:01:56.128387 - 
2025-02-21T19:01:57.527105 - [DONE] Security scan2025-02-21T19:01:57.527105 - 
2025-02-21T19:01:57.604545 - ## ComfyUI-Manager: installing dependencies done.2025-02-21T19:01:57.604545 - 
2025-02-21T19:01:57.604545 - ** ComfyUI startup time:2025-02-21T19:01:57.604545 -  2025-02-21T19:01:57.604545 - 2025-02-21 19:01:57.6042025-02-21T19:01:57.604545 - 
2025-02-21T19:01:57.605545 - ** Platform:2025-02-21T19:01:57.605545 -  2025-02-21T19:01:57.605545 - Windows2025-02-21T19:01:57.605545 - 
2025-02-21T19:01:57.605545 - ** Python version:2025-02-21T19:01:57.605545 -  2025-02-21T19:01:57.605545 - 3.12.8 (tags/v3.12.8:2dc476b, Dec  3 2024, 19:30:04) [MSC v.1942 64 bit (AMD64)]2025-02-21T19:01:57.605545 - 
2025-02-21T19:01:57.605545 - ** Python executable:2025-02-21T19:01:57.605545 -  2025-02-21T19:01:57.605545 - D:\AI\ComfyUI\ComfyUI_windows_portable\python_embeded\python.exe2025-02-21T19:01:57.605545 - 
2025-02-21T19:01:57.605545 - ** ComfyUI Path:2025-02-21T19:01:57.605545 -  2025-02-21T19:01:57.605545 - D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI2025-02-21T19:01:57.605545 - 
2025-02-21T19:01:57.605545 - ** ComfyUI Base Folder Path:2025-02-21T19:01:57.605545 -  2025-02-21T19:01:57.605545 - D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI2025-02-21T19:01:57.605545 - 
2025-02-21T19:01:57.605545 - ** User directory:2025-02-21T19:01:57.605545 -  2025-02-21T19:01:57.605545 - D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\user2025-02-21T19:01:57.605545 - 
2025-02-21T19:01:57.609485 - ** ComfyUI-Manager config path:2025-02-21T19:01:57.609485 -  2025-02-21T19:01:57.609485 - D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\user\default\ComfyUI-Manager\config.ini2025-02-21T19:01:57.609485 - 
2025-02-21T19:01:57.609485 - ** Log path:2025-02-21T19:01:57.609485 -  2025-02-21T19:01:57.609485 - D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\user\comfyui.log2025-02-21T19:01:57.610485 - 
2025-02-21T19:01:59.026055 - 
Prestartup times for custom nodes:
2025-02-21T19:01:59.026055 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-easy-use
2025-02-21T19:01:59.026055 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy
2025-02-21T19:01:59.026055 -    3.4 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
2025-02-21T19:01:59.026055 - 
2025-02-21T19:02:00.289266 - Checkpoint files will always be loaded safely.
2025-02-21T19:02:00.380726 - Total VRAM 24564 MB, total RAM 130780 MB
2025-02-21T19:02:00.381726 - pytorch version: 2.5.1+cu124
2025-02-21T19:02:00.381726 - Set vram state to: NORMAL_VRAM
2025-02-21T19:02:00.382727 - Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
2025-02-21T19:02:01.169547 - Using pytorch attention
2025-02-21T19:02:01.861112 - ComfyUI version: 0.3.14
2025-02-21T19:02:01.883113 - [Prompt Server] web root: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\web
2025-02-21T19:02:03.140350 - 
🌊 DEPTHFLOW NODES 🌊
2025-02-21T19:02:03.140350 - 
2025-02-21T19:02:04.132034 - [ComfyUI-Easy-Use] server: 2025-02-21T19:02:04.132034 - v1.2.7 2025-02-21T19:02:04.133034 - Loaded2025-02-21T19:02:04.133034 - 
2025-02-21T19:02:04.133034 - [ComfyUI-Easy-Use] web root: 2025-02-21T19:02:04.133034 - D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-easy-use\web_version/v2 2025-02-21T19:02:04.133034 - Loaded2025-02-21T19:02:04.133034 - 
2025-02-21T19:02:04.616795 - Building prefix dict from the default dictionary ...
2025-02-21T19:02:04.616795 - Building prefix dict from the default dictionary ...
2025-02-21T19:02:04.617795 - Loading model from cache C:\Users\c_dco\AppData\Local\Temp\jieba.cache
2025-02-21T19:02:04.617795 - Loading model from cache C:\Users\c_dco\AppData\Local\Temp\jieba.cache
2025-02-21T19:02:04.923051 - Loading model cost 0.305 seconds.
2025-02-21T19:02:04.923051 - Loading model cost 0.305 seconds.
2025-02-21T19:02:04.924052 - Prefix dict has been built successfully.
2025-02-21T19:02:04.925052 - Prefix dict has been built successfully.
2025-02-21T19:02:04.925052 - Word segmentation module jieba initialized.
2025-02-21T19:02:04.925052 - 
2025-02-21T19:02:05.690994 - PyTorch version 2.5.1+cu124 available.
2025-02-21T19:02:05.692993 - JAX version 0.4.31 available.
2025-02-21T19:02:05.886510 - ### Loading: ComfyUI-Impact-Pack (V8.8.1)2025-02-21T19:02:05.886510 - 
2025-02-21T19:02:05.940754 - [Impact Pack] Wildcards loading done.2025-02-21T19:02:05.940754 - 
2025-02-21T19:02:05.947350 - Total VRAM 24564 MB, total RAM 130780 MB
2025-02-21T19:02:05.947350 - pytorch version: 2.5.1+cu124
2025-02-21T19:02:05.947350 - Set vram state to: NORMAL_VRAM
2025-02-21T19:02:05.948350 - Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
2025-02-21T19:02:06.004335 - ### Loading: ComfyUI-Manager (V3.25.1)
2025-02-21T19:02:06.005335 - [ComfyUI-Manager] network_mode: public
2025-02-21T19:02:06.101885 - ### ComfyUI Version: v0.3.14-43-gd3727253 | Released on '2025-02-20'
2025-02-21T19:02:06.462065 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
2025-02-21T19:02:06.481132 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
2025-02-21T19:02:06.517571 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
2025-02-21T19:02:06.638328 - Traceback (most recent call last):
  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2145, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MMAudio\__init__.py", line 1, in <module>
    from .nodes import NODE_CLASS_MAPPINGS, NODE_DISPLAY_NAME_MAPPINGS
  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MMAudio\nodes.py", line 18, in <module>
    from .mmaudio.eval_utils import generate
  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MMAudio\mmaudio\eval_utils.py", line 11, in <module>
    from .model.utils.features_utils import FeaturesUtils
  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MMAudio\mmaudio\model\utils\features_utils.py", line 13, in <module>
    from ...ext.bigvgan import BigVGAN
  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MMAudio\mmaudio\ext\bigvgan\__init__.py", line 1, in <module>
    from .bigvgan import BigVGAN
  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MMAudio\mmaudio\ext\bigvgan\bigvgan.py", line 5, in <module>
    from omegaconf import OmegaConf
  File "C:\Users\c_dco\AppData\Roaming\Python\Python312\site-packages\omegaconf\__init__.py", line 1, in <module>
    from .base import Container, DictKeyType, Node, SCMode, UnionNode
  File "C:\Users\c_dco\AppData\Roaming\Python\Python312\site-packages\omegaconf\base.py", line 9, in <module>
    from antlr4 import ParserRuleContext
ModuleNotFoundError: No module named 'antlr4'

2025-02-21T19:02:06.638328 - Cannot import D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MMAudio module for custom nodes: No module named 'antlr4'
2025-02-21T19:02:06.667089 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
2025-02-21T19:02:06.707088 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
2025-02-21T19:02:07.651701 - [comfyui_controlnet_aux] | INFO -> Using ckpts path: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux\ckpts2025-02-21T19:02:07.652701 - 
2025-02-21T19:02:07.652701 - [comfyui_controlnet_aux] | INFO -> Using symlinks: False2025-02-21T19:02:07.652701 - 
2025-02-21T19:02:07.652701 - [comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']2025-02-21T19:02:07.653701 - 
2025-02-21T19:02:07.701641 - 
2025-02-21T19:02:07.701641 - Efficiency Nodes:2025-02-21T19:02:07.701641 -  Attempting to add Control Net options to the 'HiRes-Fix Script' Node (comfyui_controlnet_aux add-on)...2025-02-21T19:02:07.701641 - Success!2025-02-21T19:02:07.701641 - 
2025-02-21T19:02:07.711979 - 
2025-02-21T19:02:07.711979 - [rgthree-comfy] Loaded 42 extraordinary nodes. 🎉2025-02-21T19:02:07.711979 - 
2025-02-21T19:02:07.711979 - 
2025-02-21T19:02:07.729046 - 
Import times for custom nodes:
2025-02-21T19:02:07.729046 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py
2025-02-21T19:02:07.729046 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_LatentSync
2025-02-21T19:02:07.729046 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\teacachehunyuanvideo
2025-02-21T19:02:07.729046 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\Comfyui_Flux_Style_Adjust
2025-02-21T19:02:07.729046 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_ttp_toolset
2025-02-21T19:02:07.729046 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\masquerade-nodes-comfyui
2025-02-21T19:02:07.729046 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-GGUF
2025-02-21T19:02:07.729046 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\wavespeed
2025-02-21T19:02:07.730046 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_essentials
2025-02-21T19:02:07.730046 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\teacache
2025-02-21T19:02:07.730046 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-LTXTricks
2025-02-21T19:02:07.730046 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\Comfy_KepListStuff
2025-02-21T19:02:07.730046 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyMath
2025-02-21T19:02:07.730046 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-custom-scripts
2025-02-21T19:02:07.730046 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-rmbg
2025-02-21T19:02:07.730046 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_patches_ll
2025-02-21T19:02:07.730046 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_soze
2025-02-21T19:02:07.730046 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-frame-interpolation
2025-02-21T19:02:07.731046 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\efficiency-nodes-comfyui
2025-02-21T19:02:07.731046 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\rgthree-comfy
2025-02-21T19:02:07.731046 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\topazvideoai
2025-02-21T19:02:07.731046 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-LTXVideo
2025-02-21T19:02:07.731046 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Whisper
2025-02-21T19:02:07.732047 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-hunyuanvideowrapper
2025-02-21T19:02:07.732047 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux
2025-02-21T19:02:07.732047 -    0.0 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-kjnodes
2025-02-21T19:02:07.732047 -    0.1 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-impact-pack
2025-02-21T19:02:07.732047 -    0.2 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-ollama
2025-02-21T19:02:07.732047 -    0.2 seconds (IMPORT FAILED): D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MMAudio
2025-02-21T19:02:07.732047 -    0.3 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-detail-daemon
2025-02-21T19:02:07.732047 -    0.4 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager
2025-02-21T19:02:07.732047 -    0.7 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-easy-use
2025-02-21T19:02:07.732047 -    0.8 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-videohelpersuite
2025-02-21T19:02:07.732047 -    0.9 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-depthflow-nodes
2025-02-21T19:02:07.732047 -    1.7 seconds: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-f5-tts
2025-02-21T19:02:07.732047 - 
2025-02-21T19:02:07.741047 - Starting server

2025-02-21T19:02:07.741047 - To see the GUI go to: http://127.0.0.1:8188
2025-02-21T19:02:10.478905 - FETCH ComfyRegistry Data: 5/342025-02-21T19:02:10.478905 - 
2025-02-21T19:02:14.457939 - FETCH ComfyRegistry Data: 10/342025-02-21T19:02:14.457939 - 
2025-02-21T19:02:17.027824 - got prompt
2025-02-21T19:02:18.385528 - FETCH ComfyRegistry Data: 15/342025-02-21T19:02:18.386528 - 
2025-02-21T19:02:18.527424 - encoded latents shape2025-02-21T19:02:18.528424 -  2025-02-21T19:02:18.528424 - torch.Size([1, 16, 1, 68, 120])2025-02-21T19:02:18.529424 - 
2025-02-21T19:02:18.529424 - Loading text encoder model (clipL) from: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\models\clip\clip-vit-large-patch14
2025-02-21T19:02:18.726836 - Text encoder to dtype: torch.float16
2025-02-21T19:02:18.727834 - Loading tokenizer (clipL) from: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\models\clip\clip-vit-large-patch14
2025-02-21T19:02:18.776075 - Loading text encoder model (llm) from: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\models\LLM\llava-llama-3-8b-text-encoder-tokenizer
2025-02-21T19:02:21.496867 - 
Loading checkpoint shards:  25%|██████████████▎                                          | 1/4 [00:02<00:07,  2.61s/it]2025-02-21T19:02:22.859416 - FETCH ComfyRegistry Data: 20/342025-02-21T19:02:22.860419 - 
2025-02-21T19:02:24.486689 - 
Loading checkpoint shards:  50%|████████████████████████████▌                            | 2/4 [00:05<00:05,  2.83s/it]2025-02-21T19:02:26.782351 - FETCH ComfyRegistry Data: 25/342025-02-21T19:02:26.783354 - 
2025-02-21T19:02:28.121210 - 
Loading checkpoint shards: 100%|█████████████████████████████████████████████████████████| 4/4 [00:09<00:00,  2.31s/it]2025-02-21T19:02:28.121210 - 
2025-02-21T19:02:30.673405 - FETCH ComfyRegistry Data: 30/342025-02-21T19:02:30.673405 - 
2025-02-21T19:02:33.438390 - Text encoder to dtype: torch.float16
2025-02-21T19:02:33.440389 - Loading tokenizer (llm) from: D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\models\LLM\llava-llama-3-8b-text-encoder-tokenizer
2025-02-21T19:02:34.486607 - FETCH ComfyRegistry Data [DONE]2025-02-21T19:02:34.486607 - 
2025-02-21T19:02:34.511609 - [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
2025-02-21T19:02:34.527609 - nightly_channel: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/remote
2025-02-21T19:02:34.528609 - FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json2025-02-21T19:02:34.610609 -  [DONE]2025-02-21T19:02:34.610609 - 
2025-02-21T19:02:34.635609 - [ComfyUI-Manager] All startup tasks have been completed.
2025-02-21T19:02:35.871245 - llm prompt attention_mask shape: torch.Size([1, 161]), masked tokens: 7
2025-02-21T19:02:38.173024 - clipL prompt attention_mask shape: torch.Size([1, 77]), masked tokens: 8
2025-02-21T19:02:38.259624 - model_type FLOW
2025-02-21T19:02:38.260624 - The config attributes {'use_flow_sigmas': True, 'prediction_type': 'flow_prediction'} were passed to FlowMatchDiscreteScheduler, but are not expected and will be ignored. Please verify your scheduler_config.json configuration file.
2025-02-21T19:02:38.260624 - Scheduler config:2025-02-21T19:02:38.260624 -  2025-02-21T19:02:38.260624 - FrozenDict({'num_train_timesteps': 1000, 'flow_shift': 9.0, 'reverse': True, 'solver': 'euler', 'n_tokens': None, '_use_default_values': ['num_train_timesteps', 'n_tokens']})2025-02-21T19:02:38.260624 - 
2025-02-21T19:02:38.260624 - Using accelerate to load and assign model weights to device...
2025-02-21T19:03:55.599759 - Requested to load HyVideoModel
2025-02-21T19:03:59.362728 - loaded completely 21464.419415283202 21464.40625 False
2025-02-21T19:04:02.639102 - Input (height, width, video_length) = (544, 960, 97)
2025-02-21T19:04:02.645102 - The config attributes {'reverse': True, 'solver': 'euler'} were passed to DPMSolverMultistepScheduler, but are not expected and will be ignored. Please verify your scheduler_config.json configuration file.
2025-02-21T19:04:02.749107 - Swapping 20 double blocks and 10 single blocks2025-02-21T19:04:02.749107 - 
2025-02-21T19:04:03.678375 - image_cond_latents shape:2025-02-21T19:04:03.678375 -  2025-02-21T19:04:03.678375 - torch.Size([1, 16, 1, 68, 120])2025-02-21T19:04:03.678375 - 
2025-02-21T19:04:03.678375 - image_latents shape:2025-02-21T19:04:03.678375 -  2025-02-21T19:04:03.678375 - torch.Size([1, 16, 25, 68, 120])2025-02-21T19:04:03.678375 - 
2025-02-21T19:04:04.154517 - Sampling 97 frames in 25 latents at 960x544 with 30 inference steps
2025-02-21T19:04:04.556877 - 
  0%|                                                                                           | 0/30 [00:00<?, ?it/s]2025-02-21T19:04:04.556877 - 
2025-02-21T19:04:05.233091 - !!! Exception during processing !!! Allocation on device 
2025-02-21T19:04:05.237091 - Traceback (most recent call last):
  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 327, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 202, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)
  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-hunyuanvideowrapper\nodes.py", line 1292, in process
    out_latents = model["pipe"](
                  ^^^^^^^^^^^^^^
  File "D:\AI\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\utils\_contextlib.py", line 116, in decorate_context
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-hunyuanvideowrapper\hyvideo\diffusion\pipelines\pipeline_hunyuan_video.py", line 790, in __call__
    uncond = self.transformer(
             ^^^^^^^^^^^^^^^^^
  File "D:\AI\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1736, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\AI\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-hunyuanvideowrapper\hyvideo\modules\models.py", line 1047, in forward
    img, txt = _process_double_blocks(img, txt, vec, block_args)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-hunyuanvideowrapper\hyvideo\modules\models.py", line 894, in _process_double_blocks
    img, txt = block(img, txt, vec, *block_args)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\AI\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1736, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\AI\ComfyUI\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-hunyuanvideowrapper\hyvideo\modules\models.py", line 257, in forward
    attn = attention(
           ^^^^^^^^^^
  File "D:\AI\ComfyUI\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-hunyuanvideowrapper\hyvideo\modules\attention.py", line 165, in attention
    x = F.scaled_dot_product_attention(
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
torch.OutOfMemoryError: Allocation on device 

2025-02-21T19:04:05.240092 - Got an OOM, unloading all loaded models.
2025-02-21T19:04:05.295681 - Prompt executed in 108.26 seconds

Attached Workflow

Please make sure that workflow does not contain any sensitive information such as API keys or passwords.

{"last_node_id":71,"last_link_id":100,"nodes":[{"id":57,"type":"HyVideoTorchCompileSettings","pos":[-1196.784912109375,-308.2270812988281],"size":[441,274],"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"torch_compile_args","type":"COMPILEARGS","links":[]}],"properties":{"Node name for S&R":"HyVideoTorchCompileSettings"},"widgets_values":["inductor",false,"default",false,64,true,true,false,false,false]},{"id":52,"type":"ImageConcatMulti","pos":[811.2913818359375,20.121240615844727],"size":[210,150],"flags":{},"order":20,"mode":0,"inputs":[{"name":"image_1","type":"IMAGE","link":71},{"name":"image_2","type":"IMAGE","link":85}],"outputs":[{"name":"images","type":"IMAGE","links":[73],"slot_index":0}],"properties":{},"widgets_values":[2,"right",false,null]},{"id":5,"type":"HyVideoDecode","pos":[651,-285],"size":[345.4285888671875,150],"flags":{},"order":18,"mode":0,"inputs":[{"name":"vae","type":"VAE","link":6},{"name":"samples","type":"LATENT","link":4}],"outputs":[{"name":"images","type":"IMAGE","links":[83],"slot_index":0}],"properties":{"Node name for S&R":"HyVideoDecode"},"widgets_values":[true,64,192,false]},{"id":62,"type":"Note","pos":[-270.23193359375,-210.43328857421875],"size":[393.7334289550781,58],"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["https://huggingface.co/Kijai/SkyReels-V1-Hunyuan_comfy/blob/main/skyreels_hunyuan_i2v_bf16.safetensors"],"color":"#432","bgcolor":"#653"},{"id":45,"type":"ImageResizeKJ","pos":[-562.4298095703125,494.5414733886719],"size":[315,266],"flags":{},"order":14,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":56},{"name":"get_image_size","type":"IMAGE","shape":7,"link":null},{"name":"width_input","type":"INT","shape":7,"widget":{"name":"width_input"},"link":null},{"name":"height_input","type":"INT","shape":7,"widget":{"name":"height_input"},"link":null}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[63,71,84],"slot_index":0},{"name":"width","type":"INT","links":[69],"slot_index":1},{"name":"height","type":"INT","links":[70],"slot_index":2}],"properties":{"Node name for S&R":"ImageResizeKJ"},"widgets_values":[960,544,"lanczos",false,2,0,0,"center"]},{"id":58,"type":"HyVideoCFG","pos":[-214.0895538330078,757.076416015625],"size":[400,200],"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"hyvid_cfg","type":"HYVID_CFG","links":[90],"slot_index":0}],"properties":{"Node name for S&R":"HyVideoCFG"},"widgets_values":["chaotic, distortion, morphing",6,0,0.5,false]},{"id":60,"type":"ColorMatch","pos":[736.9130859375,366.1897888183594],"size":[315,102],"flags":{},"order":19,"mode":0,"inputs":[{"name":"image_ref","type":"IMAGE","link":84},{"name":"image_target","type":"IMAGE","link":83}],"outputs":[{"name":"image","type":"IMAGE","links":[85],"slot_index":0}],"properties":{"Node name for S&R":"ColorMatch"},"widgets_values":["mkl",1]},{"id":3,"type":"HyVideoSampler","pos":[266,-141],"size":[315,611.1666870117188],"flags":{},"order":17,"mode":0,"inputs":[{"name":"model","type":"HYVIDEOMODEL","link":2},{"name":"hyvid_embeds","type":"HYVIDEMBEDS","link":74},{"name":"samples","type":"LATENT","shape":7,"link":null},{"name":"image_cond_latents","type":"LATENT","shape":7,"link":75},{"name":"stg_args","type":"STGARGS","shape":7,"link":null},{"name":"context_options","type":"HYVIDCONTEXT","shape":7,"link":null},{"name":"feta_args","type":"FETAARGS","shape":7,"link":91},{"name":"width","type":"INT","widget":{"name":"width"},"link":69},{"name":"height","type":"INT","widget":{"name":"height"},"link":70},{"name":"teacache_args","type":"TEACACHEARGS","shape":7,"link":null}],"outputs":[{"name":"samples","type":"LATENT","links":[4],"slot_index":0}],"properties":{"Node name for S&R":"HyVideoSampler"},"widgets_values":[512,320,97,30,1,9,15,"fixed",1,1,"SDE-DPMSolverMultistepScheduler"]},{"id":43,"type":"HyVideoEncode","pos":[-204.26951599121094,476.7945861816406],"size":[315,198],"flags":{},"order":16,"mode":0,"inputs":[{"name":"vae","type":"VAE","link":54},{"name":"image","type":"IMAGE","link":63}],"outputs":[{"name":"samples","type":"LATENT","links":[75],"slot_index":0}],"properties":{"Node name for S&R":"HyVideoEncode"},"widgets_values":[false,64,256,true,0.04,1]},{"id":61,"type":"Note","pos":[-1025.4185791015625,-458.9891357421875],"size":[258.9027099609375,83.07069396972656],"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["If you have working Triton install, torch compile will reduce VRAM use and increase speed about 30%"],"color":"#432","bgcolor":"#653"},{"id":64,"type":"HyVideoEnhanceAVideo","pos":[242.49143981933594,-388.3094482421875],"size":[352.79998779296875,154],"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[{"name":"feta_args","type":"FETAARGS","links":[91]}],"properties":{"Node name for S&R":"HyVideoEnhanceAVideo"},"widgets_values":[3,true,true,0,1]},{"id":70,"type":"Note","pos":[265.79437255859375,-518.3580322265625],"size":[299.13330078125,65.1333236694336],"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["Enhance a video weight should be relative to the video lenght, if you get noisy results it's too strong"],"color":"#432","bgcolor":"#653"},{"id":59,"type":"HyVideoBlockSwap","pos":[-643.1146240234375,-82.39257049560547],"size":[315,130],"flags":{},"order":6,"mode":0,"inputs":[],"outputs":[{"name":"block_swap_args","type":"BLOCKSWAPARGS","links":[98],"slot_index":0}],"properties":{"Node name for S&R":"HyVideoBlockSwap"},"widgets_values":[20,10,false,false]},{"id":69,"type":"Note","pos":[-630.0859375,-265.2142333984375],"size":[275.66656494140625,85.13335418701172],"flags":{},"order":7,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["block swap is a manual way to do cpu offloading, use this to trade speed with memory use"],"color":"#432","bgcolor":"#653"},{"id":71,"type":"Note","pos":[-585.5635375976562,95.25086975097656],"size":[275.66656494140625,85.13335418701172],"flags":{},"order":8,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["Use sageattention if you can, flash attention if you can't... last resort use sdpa"],"color":"#432","bgcolor":"#653"},{"id":44,"type":"LoadImage","pos":[-922.2027587890625,493.7345886230469],"size":[315,314.0000305175781],"flags":{},"order":9,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[56],"slot_index":0},{"name":"MASK","type":"MASK","links":null}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["ComfyUI_temp_tnjbm_00007_.png","image"]},{"id":16,"type":"DownloadAndLoadHyVideoTextEncoder","pos":[-309.5799865722656,220.413330078125],"size":[441,202],"flags":{},"order":10,"mode":0,"inputs":[],"outputs":[{"name":"hyvid_text_encoder","type":"HYVIDTEXTENCODER","links":[35]}],"properties":{"Node name for S&R":"DownloadAndLoadHyVideoTextEncoder"},"widgets_values":["Kijai/llava-llama-3-8b-text-encoder-tokenizer","openai/clip-vit-large-patch14","fp16",false,2,"disabled","offload_device"]},{"id":1,"type":"HyVideoModelLoader","pos":[-285,-102.5894546508789],"size":[426.1773986816406,242],"flags":{},"order":13,"mode":0,"inputs":[{"name":"compile_args","type":"COMPILEARGS","shape":7,"link":null},{"name":"block_swap_args","type":"BLOCKSWAPARGS","shape":7,"link":98},{"name":"lora","type":"HYVIDLORA","shape":7,"link":null}],"outputs":[{"name":"model","type":"HYVIDEOMODEL","links":[2],"slot_index":0}],"properties":{"Node name for S&R":"HyVideoModelLoader"},"widgets_values":["skyreels_hunyuan_i2v_fp8_e4m3fn.safetensors","bf16","disabled","offload_device","sdpa",false,true]},{"id":30,"type":"HyVideoTextEncode","pos":[231.84727478027344,692.9142456054688],"size":[437.3100280761719,240.78936767578125],"flags":{},"order":15,"mode":0,"inputs":[{"name":"text_encoders","type":"HYVIDTEXTENCODER","link":35},{"name":"custom_prompt_template","type":"PROMPT_TEMPLATE","shape":7,"link":null},{"name":"clip_l","type":"CLIP","shape":7,"link":null},{"name":"hyvid_cfg","type":"HYVID_CFG","shape":7,"link":90}],"outputs":[{"name":"hyvid_embeds","type":"HYVIDEMBEDS","links":[74],"slot_index":0}],"properties":{"Node name for S&R":"HyVideoTextEncode"},"widgets_values":["Girls smiling at the camers","bad quality video","video"]},{"id":63,"type":"Note","pos":[-241.6318817138672,-498.63323974609375],"size":[329.93341064453125,58],"flags":{},"order":11,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["https://huggingface.co/Kijai/HunyuanVideo_comfy/blob/main/hunyuan_video_vae_bf16.safetensors"],"color":"#432","bgcolor":"#653"},{"id":34,"type":"VHS_VideoCombine","pos":[1073.3206787109375,-299.8507080078125],"size":[214.7587890625,376],"flags":{},"order":21,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":73},{"name":"audio","type":"AUDIO","shape":7,"link":null},{"name":"meta_batch","type":"VHS_BatchManager","shape":7,"link":null},{"name":"vae","type":"VAE","shape":7,"link":null}],"outputs":[{"name":"Filenames","type":"VHS_FILENAMES","links":null}],"properties":{"Node name for S&R":"VHS_VideoCombine"},"widgets_values":{"frame_rate":24,"loop_count":0,"filename_prefix":"HunyuanVideo_skyreel_I2V","format":"video/h264-mp4","pix_fmt":"yuv420p","crf":19,"save_metadata":false,"trim_to_audio":false,"pingpong":false,"save_output":false,"videopreview":{"hidden":false,"paused":false,"params":{"filename":"HunyuanVideo_skyreel_I2V_00036.mp4","subfolder":"","type":"output","format":"video/h264-mp4","frame_rate":24,"workflow":"HunyuanVideo_skyreel_I2V_00036.png","fullpath":"N:\\AI\\ComfyUI\\output\\HunyuanVideo_skyreel_I2V_00036.mp4"},"muted":false}}},{"id":7,"type":"HyVideoVAELoader","pos":[-267.0755615234375,-364.6177978515625],"size":[379.166748046875,82],"flags":{},"order":12,"mode":0,"inputs":[{"name":"compile_args","type":"COMPILEARGS","shape":7,"link":null}],"outputs":[{"name":"vae","type":"VAE","links":[6,54],"slot_index":0}],"properties":{"Node name for S&R":"HyVideoVAELoader"},"widgets_values":["hunyuan_video_vae_fp32.safetensors","bf16"]}],"links":[[2,1,0,3,0,"HYVIDEOMODEL"],[4,3,0,5,1,"LATENT"],[6,7,0,5,0,"VAE"],[35,16,0,30,0,"HYVIDTEXTENCODER"],[54,7,0,43,0,"VAE"],[56,44,0,45,0,"IMAGE"],[63,45,0,43,1,"IMAGE"],[69,45,1,3,7,"INT"],[70,45,2,3,8,"INT"],[71,45,0,52,0,"IMAGE"],[73,52,0,34,0,"IMAGE"],[74,30,0,3,1,"HYVIDEMBEDS"],[75,43,0,3,3,"LATENT"],[83,5,0,60,1,"IMAGE"],[84,45,0,60,0,"IMAGE"],[85,60,0,52,1,"IMAGE"],[90,58,0,30,3,"HYVID_CFG"],[91,64,0,3,6,"FETAARGS"],[98,59,0,1,1,"BLOCKSWAPARGS"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.8264462809917356,"offset":[1607.7633660878805,699.0379810721982]},"node_versions":{"comfyui-hunyuanvideowrapper":"1.0.2","comfyui-kjnodes":"1.0.5","comfy-core":"0.3.14","comfyui-videohelpersuite":"c36626c6028faca912eafcedbc71f1d342fb4d2a"},"VHS_latentpreview":false,"VHS_latentpreviewrate":0,"VHS_MetadataImage":true,"VHS_KeepIntermediate":true},"version":0.4}

Additional Context

(Please add any additional context or steps to reproduce the error here)

@pftq
Copy link

pftq commented Feb 21, 2025

It means VRAM isn't high enough. You can reduce VRAM usage by switching attention setting to SageAttn_Varlen and connecting the Torch Compile / Blockswap nodes to Model Loader, but these require installing other dependencies to ComfyUI like SageAttention, Torch, etc. Lower steps, frame count, and resolution also reduce RAM usage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants