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

Allocation on device #17

Open
gioxyer opened this issue Nov 11, 2024 · 0 comments
Open

Allocation on device #17

gioxyer opened this issue Nov 11, 2024 · 0 comments

Comments

@gioxyer
Copy link

gioxyer commented Nov 11, 2024

ComfyUI Error Report

Error Details

  • Node Type: MochiImageEncode
  • Exception Type: torch.OutOfMemoryError
  • Exception Message: Allocation on device

Stack Trace

  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\execution.py", line 323, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\execution.py", line 198, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)

  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MochiWrapper\nodes.py", line 820, in encode
    latents = encoder(video)
              ^^^^^^^^^^^^^^

  File "C:\Users\giorg\Documents\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 "C:\Users\giorg\Documents\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MochiWrapper\mochi_preview\vae\model.py", line 896, in forward
    x = self.layers(x)
        ^^^^^^^^^^^^^^

  File "C:\Users\giorg\Documents\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 "C:\Users\giorg\Documents\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\container.py", line 250, in forward
    input = module(input)
            ^^^^^^^^^^^^^

  File "C:\Users\giorg\Documents\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 "C:\Users\giorg\Documents\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MochiWrapper\mochi_preview\vae\model.py", line 278, in forward
    x = self.stack(x)
        ^^^^^^^^^^^^^

  File "C:\Users\giorg\Documents\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 "C:\Users\giorg\Documents\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\container.py", line 250, in forward
    input = module(input)
            ^^^^^^^^^^^^^

  File "C:\Users\giorg\Documents\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 "C:\Users\giorg\Documents\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MochiWrapper\mochi_preview\vae\model.py", line 26, in forward
    output[b : b + chunk_size] = super().forward(x[b : b + chunk_size])
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\normalization.py", line 313, in forward
    return F.group_norm(input, self.num_groups, self.weight, self.bias, self.eps)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\functional.py", line 2955, in group_norm
    return torch.group_norm(
           ^^^^^^^^^^^^^^^^^

System Information

  • ComfyUI Version: v0.2.7
  • Arguments: ComfyUI\main.py --windows-standalone-build
  • OS: nt
  • Python Version: 3.12.7 (tags/v3.12.7:0b05ead, Oct 1 2024, 03:06:41) [MSC v.1941 64 bit (AMD64)]
  • Embedded Python: true
  • PyTorch Version: 2.5.1+cu124

Devices

  • Name: cuda:0 NVIDIA GeForce RTX 3070 : cudaMallocAsync
    • Type: cuda
    • VRAM Total: 8589410304
    • VRAM Free: 58045648
    • Torch VRAM Total: 10368319488
    • Torch VRAM Free: 58045648

Logs

2024-11-11 14:30:35,732 - root - INFO - Total VRAM 8192 MB, total RAM 16310 MB
2024-11-11 14:30:35,732 - root - INFO - pytorch version: 2.5.1+cu124
2024-11-11 14:30:35,733 - root - INFO - Set vram state to: NORMAL_VRAM
2024-11-11 14:30:35,733 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 3070 : cudaMallocAsync
2024-11-11 14:30:37,031 - root - INFO - Using pytorch cross attention
2024-11-11 14:30:38,711 - root - INFO - [Prompt Server] web root: C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\web
2024-11-11 14:30:39,923 - root - INFO - Total VRAM 8192 MB, total RAM 16310 MB
2024-11-11 14:30:39,923 - root - INFO - pytorch version: 2.5.1+cu124
2024-11-11 14:30:39,924 - root - INFO - Set vram state to: NORMAL_VRAM
2024-11-11 14:30:39,924 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 3070 : cudaMallocAsync
2024-11-11 14:30:42,236 - root - INFO - --------------
2024-11-11 14:30:42,236 - root - INFO - �[91m ### Mixlab Nodes: �[93mLoaded
2024-11-11 14:30:42,238 - root - INFO - ChatGPT.available False
2024-11-11 14:30:42,239 - root - INFO - edit_mask.available True
2024-11-11 14:30:42,749 - root - INFO - ClipInterrogator.available True
2024-11-11 14:30:42,808 - root - INFO - TextGenerateNode.available False
2024-11-11 14:30:42,808 - root - INFO - RembgNode_.available True
2024-11-11 14:30:42,871 - root - INFO - TripoSR.available
2024-11-11 14:30:42,872 - root - INFO - MiniCPMNode.available
2024-11-11 14:30:42,873 - root - INFO - Scenedetect.available False
2024-11-11 14:30:42,877 - root - INFO - FishSpeech.available False
2024-11-11 14:30:42,879 - root - INFO - SenseVoice.available False
2024-11-11 14:30:42,881 - root - INFO - Whisper.available False
2024-11-11 14:30:42,893 - root - INFO - FalVideo.available
2024-11-11 14:30:42,893 - root - INFO - �[93m -------------- �[0m
2024-11-11 14:30:42,932 - root - WARNING - Traceback (most recent call last):
  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\nodes.py", line 2012, in load_custom_node
    module_spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 991, in exec_module
  File "<frozen importlib._bootstrap_external>", line 1128, in get_code
  File "<frozen importlib._bootstrap_external>", line 1186, in get_data
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\giorg\\Documents\\ComfyUI_windows_portable\\ComfyUI\\custom_nodes\\comfyui_controlnet_aux\\__init__.py'

2024-11-11 14:30:42,933 - root - WARNING - Cannot import C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux module for custom nodes: [Errno 2] No such file or directory: 'C:\\Users\\giorg\\Documents\\ComfyUI_windows_portable\\ComfyUI\\custom_nodes\\comfyui_controlnet_aux\\__init__.py'
2024-11-11 14:30:42,988 - root - INFO - 
Import times for custom nodes:
2024-11-11 14:30:42,989 - root - INFO -    0.0 seconds: C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\websocket_image_save.py
2024-11-11 14:30:42,989 - root - INFO -    0.0 seconds: C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Unload-Model
2024-11-11 14:30:42,989 - root - INFO -    0.0 seconds (IMPORT FAILED): C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui_controlnet_aux
2024-11-11 14:30:42,989 - root - INFO -    0.0 seconds: C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MochiEdit
2024-11-11 14:30:42,989 - root - INFO -    0.0 seconds: C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_essentials
2024-11-11 14:30:42,989 - root - INFO -    0.0 seconds: C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\DJZ-Nodes
2024-11-11 14:30:42,989 - root - INFO -    0.0 seconds: C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MochiWrapper
2024-11-11 14:30:42,990 - root - INFO -    0.0 seconds: C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-VideoHelperSuite
2024-11-11 14:30:42,990 - root - INFO -    0.0 seconds: C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI_ExtraModels
2024-11-11 14:30:42,990 - root - INFO -    0.1 seconds: C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-DynamiCrafterWrapper
2024-11-11 14:30:42,990 - root - INFO -    0.1 seconds: C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-KJNodes
2024-11-11 14:30:42,990 - root - INFO -    0.3 seconds: C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Manager-main
2024-11-11 14:30:42,990 - root - INFO -    0.5 seconds: C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-Flowty-TripoSR
2024-11-11 14:30:42,990 - root - INFO -    2.6 seconds: C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\comfyui-mixlab-nodes
2024-11-11 14:30:42,990 - root - INFO - 
2024-11-11 14:30:42,996 - root - INFO - Starting server

2024-11-11 14:30:42,997 - root - INFO - To see the GUI go to: http://127.0.0.1:8188
2024-11-11 14:31:07,005 - root - INFO - got prompt
2024-11-11 14:31:07,051 - root - INFO - Initializing model...
2024-11-11 14:31:07,288 - root - INFO - Loading model state_dict from C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\models\diffusion_models\mochi\mochi_preview_dit_fp8_e4m3fn.safetensors...
2024-11-11 14:31:07,358 - root - INFO - Using accelerate to load and assign model weights to device...
2024-11-11 14:31:36,540 - root - ERROR - !!! Exception during processing !!! Allocation on device 
2024-11-11 14:31:36,557 - root - ERROR - Traceback (most recent call last):
  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\execution.py", line 323, in execute
    output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\execution.py", line 198, in get_output_data
    return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MochiWrapper\nodes.py", line 820, in encode
    latents = encoder(video)
              ^^^^^^^^^^^^^^
  File "C:\Users\giorg\Documents\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 "C:\Users\giorg\Documents\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MochiWrapper\mochi_preview\vae\model.py", line 896, in forward
    x = self.layers(x)
        ^^^^^^^^^^^^^^
  File "C:\Users\giorg\Documents\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 "C:\Users\giorg\Documents\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\container.py", line 250, in forward
    input = module(input)
            ^^^^^^^^^^^^^
  File "C:\Users\giorg\Documents\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 "C:\Users\giorg\Documents\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MochiWrapper\mochi_preview\vae\model.py", line 278, in forward
    x = self.stack(x)
        ^^^^^^^^^^^^^
  File "C:\Users\giorg\Documents\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 "C:\Users\giorg\Documents\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\container.py", line 250, in forward
    input = module(input)
            ^^^^^^^^^^^^^
  File "C:\Users\giorg\Documents\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 "C:\Users\giorg\Documents\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\ComfyUI\custom_nodes\ComfyUI-MochiWrapper\mochi_preview\vae\model.py", line 26, in forward
    output[b : b + chunk_size] = super().forward(x[b : b + chunk_size])
                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\modules\normalization.py", line 313, in forward
    return F.group_norm(input, self.num_groups, self.weight, self.bias, self.eps)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\giorg\Documents\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\nn\functional.py", line 2955, in group_norm
    return torch.group_norm(
           ^^^^^^^^^^^^^^^^^
torch.OutOfMemoryError: Allocation on device 

2024-11-11 14:31:36,560 - root - ERROR - Got an OOM, unloading all loaded models.
2024-11-11 14:32:01,713 - root - INFO - Prompt executed in 54.67 seconds

Attached Workflow

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

{"last_node_id":63,"last_link_id":103,"nodes":[{"id":22,"type":"MochiImageEncode","pos":{"0":431,"1":542},"size":{"0":210,"1":198},"flags":{},"order":13,"mode":0,"inputs":[{"name":"encoder","type":"MOCHIVAE","link":36},{"name":"images","type":"IMAGE","link":33}],"outputs":[{"name":"samples","type":"LATENT","links":[78,84],"slot_index":0}],"properties":{"Node name for S&R":"MochiImageEncode"},"widgets_values":[false,4,4,16,1,true]},{"id":46,"type":"MochiWrapperSamplerCustom","pos":{"0":1223.683349609375,"1":-130},"size":{"0":252.70352172851562,"1":230},"flags":{},"order":16,"mode":0,"inputs":[{"name":"model","type":"MOCHIMODEL","link":72},{"name":"positive","type":"CONDITIONING","link":73},{"name":"negative","type":"CONDITIONING","link":74},{"name":"sigmas","type":"SIGMAS","link":93},{"name":"latents","type":"LATENT","link":86},{"name":"sampler","type":"SAMPLER","link":79}],"outputs":[{"name":"samples","type":"LATENT","links":[94],"slot_index":0}],"properties":{"Node name for S&R":"MochiWrapperSamplerCustom"},"widgets_values":[4.5,0,"fixed",false]},{"id":2,"type":"CLIPLoader","pos":{"0":19,"1":179},"size":{"0":210,"1":82},"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"CLIP","type":"CLIP","links":[1,69],"slot_index":0}],"properties":{"Node name for S&R":"CLIPLoader"},"widgets_values":["t5xxl_fp16.safetensors","sd3"]},{"id":51,"type":"MochiPrepareSigmas","pos":{"0":1259.683349609375,"1":152},"size":{"0":195.5120391845703,"1":26},"flags":{},"order":10,"mode":0,"inputs":[{"name":"sigmas","type":"SIGMAS","link":92}],"outputs":[{"name":"SIGMAS","type":"SIGMAS","links":[93],"slot_index":0}],"properties":{"Node name for S&R":"MochiPrepareSigmas"},"widgets_values":[]},{"id":9,"type":"VHS_VideoCombine","pos":{"0":2040,"1":143},"size":[1261.0787353515625,310],"flags":{},"order":18,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":24},{"name":"audio","type":"AUDIO","link":null,"shape":7},{"name":"meta_batch","type":"VHS_BatchManager","link":null,"shape":7},{"name":"vae","type":"VAE","link":null,"shape":7}],"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":"Mochi_preview","format":"video/h264-mp4","pix_fmt":"yuv420p","crf":19,"save_metadata":false,"pingpong":false,"save_output":false,"videopreview":{"hidden":false,"paused":false,"params":{"filename":"Mochi_preview_00043.mp4","subfolder":"","type":"temp","format":"video/h264-mp4","frame_rate":24},"muted":false}}},{"id":15,"type":"MochiDecodeSpatialTiling","pos":{"0":1576,"1":82},"size":{"0":260.3999938964844,"1":222},"flags":{},"order":17,"mode":0,"inputs":[{"name":"vae","type":"MOCHIVAE","link":23},{"name":"samples","type":"LATENT","link":94}],"outputs":[{"name":"images","type":"IMAGE","links":[24],"slot_index":0}],"properties":{"Node name for S&R":"MochiDecodeSpatialTiling"},"widgets_values":[true,4,4,16,1,6,true]},{"id":48,"type":"MochiWrapperSamplerCustom","pos":{"0":844,"1":169},"size":{"0":243.60000610351562,"1":230},"flags":{},"order":15,"mode":0,"inputs":[{"name":"model","type":"MOCHIMODEL","link":81},{"name":"positive","type":"CONDITIONING","link":82},{"name":"negative","type":"CONDITIONING","link":83},{"name":"sigmas","type":"SIGMAS","link":85},{"name":"latents","type":"LATENT","link":84},{"name":"sampler","type":"SAMPLER","link":87}],"outputs":[{"name":"samples","type":"LATENT","links":[86],"slot_index":0}],"properties":{"Node name for S&R":"MochiWrapperSamplerCustom"},"widgets_values":[1,1,"fixed",false]},{"id":30,"type":"FlipSigmas","pos":{"0":893,"1":446},"size":{"0":145.175537109375,"1":26},"flags":{},"order":12,"mode":0,"inputs":[{"name":"sigmas","type":"SIGMAS","link":91}],"outputs":[{"name":"SIGMAS","type":"SIGMAS","links":[85],"slot_index":0}],"properties":{"Node name for S&R":"FlipSigmas"},"widgets_values":[]},{"id":50,"type":"MochiPrepareSigmas","pos":{"0":876,"1":526},"size":{"0":172.05398559570312,"1":26},"flags":{},"order":9,"mode":0,"inputs":[{"name":"sigmas","type":"SIGMAS","link":90}],"outputs":[{"name":"SIGMAS","type":"SIGMAS","links":[91],"slot_index":0}],"properties":{"Node name for S&R":"MochiPrepareSigmas"},"widgets_values":[]},{"id":49,"type":"MochiUnsampler","pos":{"0":855,"1":760},"size":{"0":210,"1":106},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"SAMPLER","type":"SAMPLER","links":[87],"slot_index":0}],"properties":{"Node name for S&R":"MochiUnsampler"},"widgets_values":[0,"fixed",0]},{"id":21,"type":"MochiSigmaSchedule","pos":{"0":854,"1":603},"size":{"0":210,"1":130},"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"sigmas","type":"SIGMAS","links":[90],"slot_index":0}],"properties":{"Node name for S&R":"MochiSigmaSchedule"},"widgets_values":[50,0.025,15,1]},{"id":47,"type":"MochiResampler","pos":{"0":1237.683349609375,"1":404},"size":{"0":210,"1":130},"flags":{},"order":14,"mode":0,"inputs":[{"name":"latents","type":"LATENT","link":78}],"outputs":[{"name":"SAMPLER","type":"SAMPLER","links":[79],"slot_index":0}],"properties":{"Node name for S&R":"MochiResampler"},"widgets_values":[0.8,5,20,"linear_decrease"]},{"id":33,"type":"MochiSigmaSchedule","pos":{"0":1236.683349609375,"1":247},"size":{"0":210,"1":130},"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[{"name":"sigmas","type":"SIGMAS","links":[92],"slot_index":0}],"properties":{"Node name for S&R":"MochiSigmaSchedule"},"widgets_values":[50,0.025,15,1]},{"id":8,"type":"MochiTextEncode","pos":{"0":439,"1":442},"size":{"0":379.5408020019531,"1":144},"flags":{"collapsed":true},"order":8,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":69}],"outputs":[{"name":"conditioning","type":"CONDITIONING","links":[74,82,83],"slot_index":0},{"name":"clip","type":"CLIP","links":null}],"properties":{"Node name for S&R":"MochiTextEncode"},"widgets_values":["",1,true]},{"id":1,"type":"MochiTextEncode","pos":{"0":297,"1":152},"size":{"0":380.0573425292969,"1":184.70144653320312},"flags":{},"order":7,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":1}],"outputs":[{"name":"conditioning","type":"CONDITIONING","links":[73],"slot_index":0},{"name":"clip","type":"CLIP","links":[],"slot_index":1}],"properties":{"Node name for S&R":"MochiTextEncode"},"widgets_values":["A sport car",1,true]},{"id":24,"type":"ImageScale","pos":{"0":434,"1":822},"size":{"0":210,"1":130},"flags":{},"order":11,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":32}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[33],"slot_index":0}],"properties":{"Node name for S&R":"ImageScale"},"widgets_values":["nearest-exact",848,480,"disabled"]},{"id":27,"type":"MochiVAEEncoderLoader","pos":{"0":-484,"1":523},"size":{"0":575.2158203125,"1":144.16976928710938},"flags":{},"order":4,"mode":0,"inputs":[{"name":"torch_compile_args","type":"MOCHICOMPILEARGS","link":null,"shape":7}],"outputs":[{"name":"mochi_vae","type":"MOCHIVAE","links":[36],"slot_index":0}],"properties":{"Node name for S&R":"MochiVAEEncoderLoader"},"widgets_values":["mochi\\mochi_preview_vae_encoder_bf16_.safetensors","bf16"]},{"id":4,"type":"DownloadAndLoadMochiModel","pos":{"0":275,"1":-123},"size":{"0":364.4028015136719,"1":198},"flags":{},"order":5,"mode":0,"inputs":[{"name":"trigger","type":"CONDITIONING","link":null,"shape":7},{"name":"compile_args","type":"MOCHICOMPILEARGS","link":null,"shape":7}],"outputs":[{"name":"mochi_model","type":"MOCHIMODEL","links":[72,81],"slot_index":0},{"name":"mochi_vae","type":"MOCHIVAE","links":[23],"slot_index":1}],"properties":{"Node name for S&R":"DownloadAndLoadMochiModel"},"widgets_values":["mochi_preview_dit_fp8_e4m3fn.safetensors","mochi_preview_vae_decoder_bf16.safetensors","fp8_e4m3fn","sdpa",false,"default"]},{"id":23,"type":"VHS_LoadVideo","pos":{"0":-132,"1":818},"size":[252.056640625,407.35281544811323],"flags":{},"order":6,"mode":0,"inputs":[{"name":"meta_batch","type":"VHS_BatchManager","link":null,"shape":7},{"name":"vae","type":"VAE","link":null,"shape":7}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[32],"slot_index":0},{"name":"frame_count","type":"INT","links":null},{"name":"audio","type":"AUDIO","links":null},{"name":"video_info","type":"VHS_VIDEOINFO","links":null}],"properties":{"Node name for S&R":"VHS_LoadVideo"},"widgets_values":{"video":"Comfyui_00023_.mp4","force_rate":0,"force_size":"Disabled","custom_width":512,"custom_height":512,"frame_load_cap":13,"skip_first_frames":0,"select_every_nth":1,"choose video to upload":"image","videopreview":{"hidden":false,"paused":false,"params":{"force_rate":0,"frame_load_cap":13,"skip_first_frames":0,"select_every_nth":1,"filename":"Comfyui_00023_.mp4","type":"input","format":"video/mp4"},"muted":false}}}],"links":[[1,2,0,1,0,"CLIP"],[23,4,1,15,0,"MOCHIVAE"],[24,15,0,9,0,"IMAGE"],[32,23,0,24,0,"IMAGE"],[33,24,0,22,1,"IMAGE"],[36,27,0,22,0,"MOCHIVAE"],[69,2,0,8,0,"CLIP"],[72,4,0,46,0,"MOCHIMODEL"],[73,1,0,46,1,"CONDITIONING"],[74,8,0,46,2,"CONDITIONING"],[78,22,0,47,0,"LATENT"],[79,47,0,46,5,"SAMPLER"],[81,4,0,48,0,"MOCHIMODEL"],[82,8,0,48,1,"CONDITIONING"],[83,8,0,48,2,"CONDITIONING"],[84,22,0,48,4,"LATENT"],[85,30,0,48,3,"SIGMAS"],[86,48,0,46,4,"LATENT"],[87,49,0,48,5,"SAMPLER"],[90,21,0,50,0,"SIGMAS"],[91,50,0,30,0,"SIGMAS"],[92,33,0,51,0,"SIGMAS"],[93,51,0,46,3,"SIGMAS"],[94,46,0,15,1,"LATENT"]],"groups":[{"title":"Unsampling","bounding":[834,95,264,805],"color":"#3f789e","font_size":24,"flags":{}},{"title":"Sampling","bounding":[1214,-204,273,748],"color":"#3f789e","font_size":24,"flags":{}}],"config":{},"extra":{"ds":{"scale":0.5445000000000003,"offset":[867.3061203096183,335.25341559516346]}},"version":0.4}

Additional Context

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

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

1 participant