VAEDecode error: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument mat1 in method wrapper_CUDA_addmm)

Hi I get this error with the report below:

ComfyUI Error Report

Error Details

  • Node ID: 8
  • Node Type: VAEDecode
  • Exception Type: RuntimeError
  • Exception Message: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument mat1 in method wrapper_CUDA_addmm)

Stack Trace

  File "C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 328, 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\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 203, 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\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)

  File "C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\nodes.py", line 285, in decode
    images = vae.decode(samples["samples"])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\sd.py", line 462, in decode
    out = self.process_output(self.first_stage_model.decode(samples).to(self.output_device).float())
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\ldm\lightricks\vae\causal_video_autoencoder.py", line 906, in decode
    return self.decoder(self.per_channel_statistics.un_normalize(x), timestep=timestep)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\graha\OneDrive\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1736, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\graha\OneDrive\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\ldm\lightricks\vae\causal_video_autoencoder.py", line 385, in forward
    sample = checkpoint_fn(up_block)(
             ^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\graha\OneDrive\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1736, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\graha\OneDrive\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\ldm\lightricks\vae\causal_video_autoencoder.py", line 493, in forward
    timestep_embed = self.time_embedder(
                     ^^^^^^^^^^^^^^^^^^^

  File "C:\Users\graha\OneDrive\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1736, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\graha\OneDrive\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\ldm\lightricks\model.py", line 152, in forward
    timesteps_emb = self.timestep_embedder(timesteps_proj.to(dtype=hidden_dtype))  # (N, D)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\graha\OneDrive\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1736, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\graha\OneDrive\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\ldm\lightricks\model.py", line 109, in forward
    sample = self.linear_2(sample)
             ^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\graha\OneDrive\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1736, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\graha\OneDrive\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\ops.py", line 70, in forward
    return super().forward(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "C:\Users\graha\OneDrive\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\linear.py", line 125, in forward
    return F.linear(input, self.weight, self.bias)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

System Information

  • ComfyUI Version: unknown
  • Arguments: C:\Users\graha\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\main.py --user-directory C:\Users\graha\OneDrive\Documents\ComfyUI\user --input-directory C:\Users\graha\OneDrive\Documents\ComfyUI\input --output-directory C:\Users\graha\OneDrive\Documents\ComfyUI\output --front-end-root C:\Users\graha\AppData\Local\Programs@comfyorgcomfyui-electron\resources\ComfyUI\web_custom_versions\desktop_app --extra-model-paths-config C:\Users\graha\AppData\Roaming\ComfyUI\extra_models_config.yaml --port 8000 --listen 127.0.0.1
  • OS: nt
  • Python Version: 3.12.4 (main, Jul 25 2024, 21:57:00) [MSC v.1929 64 bit (AMD64)]
  • Embedded Python: false
  • PyTorch Version: 2.5.1+cu121

Devices

  • Name: cuda:0 NVIDIA GeForce RTX 3050 Laptop GPU : cudaMallocAsync
    • Type: cuda
    • VRAM Total: 4294508544
    • VRAM Free: 2048580352
    • Torch VRAM Total: 1409286144
    • Torch VRAM Free: 35052288

Logs

2024-12-27T19:04:41.597928 - Adding extra search path checkpoints C:\Users\graha\OneDrive\Documents\ComfyUI\models\checkpoints\
2024-12-27T19:04:41.597928 - Adding extra search path classifiers C:\Users\graha\OneDrive\Documents\ComfyUI\models\classifiers\
2024-12-27T19:04:41.597928 - Adding extra search path clip C:\Users\graha\OneDrive\Documents\ComfyUI\models\clip\
2024-12-27T19:04:41.597928 - Adding extra search path clip_vision C:\Users\graha\OneDrive\Documents\ComfyUI\models\clip_vision\
2024-12-27T19:04:41.597928 - Adding extra search path configs C:\Users\graha\OneDrive\Documents\ComfyUI\models\configs\
2024-12-27T19:04:41.597928 - Adding extra search path controlnet C:\Users\graha\OneDrive\Documents\ComfyUI\models\controlnet\
2024-12-27T19:04:41.597928 - Adding extra search path diffusers C:\Users\graha\OneDrive\Documents\ComfyUI\models\diffusers\
2024-12-27T19:04:41.597928 - Adding extra search path diffusion_models C:\Users\graha\OneDrive\Documents\ComfyUI\models\diffusion_models\
2024-12-27T19:04:41.597928 - Adding extra search path embeddings C:\Users\graha\OneDrive\Documents\ComfyUI\models\embeddings\
2024-12-27T19:04:41.597928 - Adding extra search path gligen C:\Users\graha\OneDrive\Documents\ComfyUI\models\gligen\
2024-12-27T19:04:41.597928 - Adding extra search path hypernetworks C:\Users\graha\OneDrive\Documents\ComfyUI\models\hypernetworks\
2024-12-27T19:04:41.597928 - Adding extra search path loras C:\Users\graha\OneDrive\Documents\ComfyUI\models\loras\
2024-12-27T19:04:41.597928 - Adding extra search path photomaker C:\Users\graha\OneDrive\Documents\ComfyUI\models\photomaker\
2024-12-27T19:04:41.597928 - Adding extra search path style_models C:\Users\graha\OneDrive\Documents\ComfyUI\models\style_models\
2024-12-27T19:04:41.597928 - Adding extra search path unet C:\Users\graha\OneDrive\Documents\ComfyUI\models\unet\
2024-12-27T19:04:41.597928 - Adding extra search path upscale_models C:\Users\graha\OneDrive\Documents\ComfyUI\models\upscale_models\
2024-12-27T19:04:41.597928 - Adding extra search path vae C:\Users\graha\OneDrive\Documents\ComfyUI\models\vae\
2024-12-27T19:04:41.597928 - Adding extra search path vae_approx C:\Users\graha\OneDrive\Documents\ComfyUI\models\vae_approx\
2024-12-27T19:04:41.597928 - Adding extra search path animatediff_models C:\Users\graha\OneDrive\Documents\ComfyUI\models\animatediff_models\
2024-12-27T19:04:41.597928 - Adding extra search path animatediff_motion_lora C:\Users\graha\OneDrive\Documents\ComfyUI\models\animatediff_motion_lora\
2024-12-27T19:04:41.597928 - Adding extra search path animatediff_video_formats C:\Users\graha\OneDrive\Documents\ComfyUI\models\animatediff_video_formats\
2024-12-27T19:04:41.597928 - Adding extra search path ipadapter C:\Users\graha\OneDrive\Documents\ComfyUI\models\ipadapter\
2024-12-27T19:04:41.597928 - Adding extra search path liveportrait C:\Users\graha\OneDrive\Documents\ComfyUI\models\liveportrait\
2024-12-27T19:04:41.597928 - Adding extra search path insightface C:\Users\graha\OneDrive\Documents\ComfyUI\models\insightface\
2024-12-27T19:04:41.597928 - Adding extra search path layerstyle C:\Users\graha\OneDrive\Documents\ComfyUI\models\layerstyle\
2024-12-27T19:04:41.597928 - Adding extra search path LLM C:\Users\graha\OneDrive\Documents\ComfyUI\models\LLM\
2024-12-27T19:04:41.597928 - Adding extra search path Joy_caption C:\Users\graha\OneDrive\Documents\ComfyUI\models\Joy_caption\
2024-12-27T19:04:41.597928 - Adding extra search path sams C:\Users\graha\OneDrive\Documents\ComfyUI\models\sams\
2024-12-27T19:04:41.597928 - Adding extra search path blip C:\Users\graha\OneDrive\Documents\ComfyUI\models\blip\
2024-12-27T19:04:41.597928 - Adding extra search path CogVideo C:\Users\graha\OneDrive\Documents\ComfyUI\models\CogVideo\
2024-12-27T19:04:41.597928 - Adding extra search path xlabs C:\Users\graha\OneDrive\Documents\ComfyUI\models\xlabs\
2024-12-27T19:04:41.597928 - Adding extra search path instantid C:\Users\graha\OneDrive\Documents\ComfyUI\models\instantid\
2024-12-27T19:04:41.597928 - Adding extra search path custom_nodes C:\Users\graha\OneDrive\Documents\ComfyUI\custom_nodes/
2024-12-27T19:04:41.597928 - Adding extra search path download_model_base C:\Users\graha\OneDrive\Documents\ComfyUI\models
2024-12-27T19:04:41.597928 - Setting output directory to: C:\Users\graha\OneDrive\Documents\ComfyUI\output
2024-12-27T19:04:41.597928 - Setting input directory to: C:\Users\graha\OneDrive\Documents\ComfyUI\input
2024-12-27T19:04:41.597928 - Setting user directory to: C:\Users\graha\OneDrive\Documents\ComfyUI\user
2024-12-27T19:04:41.613353 - [START] Security scan2024-12-27T19:04:41.613353 - 
2024-12-27T19:04:42.660014 - [DONE] Security scan2024-12-27T19:04:42.660014 - 
2024-12-27T19:04:42.879507 - ## ComfyUI-Manager: installing dependencies done.2024-12-27T19:04:42.879507 - 
2024-12-27T19:04:42.879507 - ** ComfyUI startup time:2024-12-27T19:04:42.879507 -  2024-12-27T19:04:42.879507 - 2024-12-27 19:04:42.8795072024-12-27T19:04:42.879507 - 
2024-12-27T19:04:42.926536 - ** Platform:2024-12-27T19:04:42.926536 -  2024-12-27T19:04:42.926536 - Windows2024-12-27T19:04:42.926536 - 
2024-12-27T19:04:42.926536 - ** Python version:2024-12-27T19:04:42.926536 -  2024-12-27T19:04:42.926536 - 3.12.4 (main, Jul 25 2024, 21:57:00) [MSC v.1929 64 bit (AMD64)]2024-12-27T19:04:42.926536 - 
2024-12-27T19:04:42.926536 - ** Python executable:2024-12-27T19:04:42.926536 -  2024-12-27T19:04:42.926536 - C:\Users\graha\OneDrive\Documents\ComfyUI\.venv\Scripts\python.exe2024-12-27T19:04:42.926536 - 
2024-12-27T19:04:42.927536 - ** ComfyUI Path:2024-12-27T19:04:42.927536 -  2024-12-27T19:04:42.927536 - C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI2024-12-27T19:04:42.927536 - 
2024-12-27T19:04:42.927536 - ** Log path:2024-12-27T19:04:42.927536 -  2024-12-27T19:04:42.927536 - C:\Users\graha\OneDrive\Documents\ComfyUI\comfyui.log2024-12-27T19:04:42.927536 - 
2024-12-27T19:04:44.362991 - 
Prestartup times for custom nodes:2024-12-27T19:04:44.362991 - 
2024-12-27T19:04:44.362991 -    2.8 seconds:2024-12-27T19:04:44.362991 -  2024-12-27T19:04:44.362991 - C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager2024-12-27T19:04:44.362991 - 
2024-12-27T19:04:44.362991 - 
2024-12-27T19:04:46.793639 - Total VRAM 4096 MB, total RAM 32453 MB
2024-12-27T19:04:46.793639 - pytorch version: 2.5.1+cu121
2024-12-27T19:04:46.793639 - Set vram state to: NORMAL_VRAM
2024-12-27T19:04:46.793639 - Device: cuda:0 NVIDIA GeForce RTX 3050 Laptop GPU : cudaMallocAsync
2024-12-27T19:04:47.905014 - Using pytorch attention
2024-12-27T19:04:49.487893 - [Prompt Server] web root: C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\web_custom_versions\desktop_app
2024-12-27T19:04:51.387157 - Error:
[WinError 1314] A required privilege is not held by the client: 'C:\\Users\\graha\\OneDrive\\Documents\\ComfyUI\\custom_nodes\\ComfyLiterals\\js' -> 'C:\\Users\\graha\\AppData\\Local\\Programs\\@comfyorgcomfyui-electron\\resources\\ComfyUI\\web\\extensions\\ComfyLiterals'
Failed to create symlink to C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\web\extensions\ComfyLiterals. Please copy the folder manually.
Source: C:\Users\graha\OneDrive\Documents\ComfyUI\custom_nodes\ComfyLiterals\js
Target: C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\web\extensions\ComfyLiterals2024-12-27T19:04:51.387157 - 
2024-12-27T19:04:51.792177 - Total VRAM 4096 MB, total RAM 32453 MB
2024-12-27T19:04:51.792177 - pytorch version: 2.5.1+cu121
2024-12-27T19:04:51.792177 - Set vram state to: NORMAL_VRAM
2024-12-27T19:04:51.792177 - Device: cuda:0 NVIDIA GeForce RTX 3050 Laptop GPU : cudaMallocAsync
2024-12-27T19:04:52.816472 - e[92m[tinyterraNodes] e[32mLoadede[0m2024-12-27T19:04:52.816472 - 
2024-12-27T19:04:52.921307 - e[36;20m[comfy_mtb] | INFO -> loaded e[96m90e[0m nodes successfulye[0m
2024-12-27T19:04:52.931451 - e[36;20m[comfy_mtb] | INFO -> Some nodes (5) could not be loaded. This can be ignored, but go to http://127.0.0.1:8000/mtb if you want more information.e[0m
2024-12-27T19:04:53.832939 - e[34mWAS Node Suite: e[0mOpenCV Python FFMPEG support is enablede[0m2024-12-27T19:04:53.832939 - 
2024-12-27T19:04:53.832939 - e[34mWAS Node Suite e[93mWarning: e[0m`ffmpeg_bin_path` is not set in `C:\Users\graha\OneDrive\Documents\ComfyUI\custom_nodes\was-node-suite-comfyui\was_suite_config.json` config file. Will attempt to use system ffmpeg binaries if available.e[0m2024-12-27T19:04:53.832939 - 
2024-12-27T19:04:54.378924 - e[34mWAS Node Suite: e[0mFinished.e[0m e[32mLoadede[0m e[0m220e[0m e[32mnodes successfully.e[0m2024-12-27T19:04:54.378924 - 
2024-12-27T19:04:54.378924 - 
	e[3me[93m"Believe in yourself, and the rest will fall into place."e[0me[3m - Unknowne[0m
2024-12-27T19:04:54.378924 - 
2024-12-27T19:04:54.388939 - ### Loading: ComfyUI-Manager (V2.55.3)2024-12-27T19:04:54.388939 - 
2024-12-27T19:04:54.389938 - ### ComfyUI Revision: UNKNOWN (The currently installed ComfyUI is not a Git repository)2024-12-27T19:04:54.389938 - 
2024-12-27T19:04:54.394568 - 
Import times for custom nodes:
2024-12-27T19:04:54.394568 -    0.0 seconds: C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\websocket_image_save.py
2024-12-27T19:04:54.394568 -    0.0 seconds: C:\Users\graha\OneDrive\Documents\ComfyUI\custom_nodes/ComfyLiterals
2024-12-27T19:04:54.394568 -    0.0 seconds: C:\Users\graha\OneDrive\Documents\ComfyUI\custom_nodes/comfyui-various
2024-12-27T19:04:54.394568 -    0.0 seconds: C:\Users\graha\OneDrive\Documents\ComfyUI\custom_nodes/ComfyUI-LTXTricks
2024-12-27T19:04:54.394568 -    0.0 seconds: C:\Users\graha\OneDrive\Documents\ComfyUI\custom_nodes/comfy-image-saver
2024-12-27T19:04:54.394568 -    0.0 seconds: C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager
2024-12-27T19:04:54.394568 -    0.0 seconds: C:\Users\graha\OneDrive\Documents\ComfyUI\custom_nodes/ComfyUI-Custom-Scripts
2024-12-27T19:04:54.394568 -    0.0 seconds: C:\Users\graha\OneDrive\Documents\ComfyUI\custom_nodes/ComfyUI_tinyterraNodes
2024-12-27T19:04:54.394568 -    0.1 seconds: C:\Users\graha\OneDrive\Documents\ComfyUI\custom_nodes/comfy_mtb
2024-12-27T19:04:54.394568 -    0.1 seconds: C:\Users\graha\OneDrive\Documents\ComfyUI\custom_nodes/ComfyUI-KJNodes
2024-12-27T19:04:54.394568 -    0.2 seconds: C:\Users\graha\OneDrive\Documents\ComfyUI\custom_nodes/comfyui-tensorops
2024-12-27T19:04:54.394568 -    0.4 seconds: C:\Users\graha\OneDrive\Documents\ComfyUI\custom_nodes/ComfyUI-Florence2
2024-12-27T19:04:54.394568 -    0.7 seconds: C:\Users\graha\OneDrive\Documents\ComfyUI\custom_nodes/ComfyUI-VideoHelperSuite
2024-12-27T19:04:54.394568 -    1.4 seconds: C:\Users\graha\OneDrive\Documents\ComfyUI\custom_nodes/was-node-suite-comfyui
2024-12-27T19:04:54.394568 - 
2024-12-27T19:04:54.404721 - Starting server

2024-12-27T19:04:54.404721 - To see the GUI go to: http://127.0.0.1:8000
2024-12-27T19:04:54.498233 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json2024-12-27T19:04:54.498233 - 
2024-12-27T19:04:54.499234 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json2024-12-27T19:04:54.499234 - 
2024-12-27T19:04:54.507106 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json2024-12-27T19:04:54.507106 - 
2024-12-27T19:04:54.540719 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json2024-12-27T19:04:54.540719 - 
2024-12-27T19:04:54.558593 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json2024-12-27T19:04:54.558593 - 
2024-12-27T19:04:55.936315 - FETCH DATA from: C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json2024-12-27T19:04:55.936315 - 2024-12-27T19:04:55.936315 -  [DONE]2024-12-27T19:04:55.936315 - 
2024-12-27T19:04:56.117137 - e[36;20m[comfy_mtb] | INFO -> Found multiple match, we will pick the last C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\models\upscale_models
['C:\\Users\\graha\\OneDrive\\Documents\\ComfyUI\\models\\upscale_models\\', 'C:\\Users\\graha\\AppData\\Local\\Programs\\@comfyorgcomfyui-electron\\resources\\ComfyUI\\models\\upscale_models']e[0m
2024-12-27T19:05:00.133264 - got prompt
2024-12-27T19:05:00.249801 - model weight dtype torch.bfloat16, manual cast: None
2024-12-27T19:05:00.256307 - model_type FLUX
2024-12-27T19:05:03.710979 - no CLIP/text encoder weights in checkpoint, the text encoder model will not be loaded.
2024-12-27T19:05:14.185014 - Requested to load MochiTEModel_
2024-12-27T19:05:15.068472 - loaded partially 1885.05 1883.38671875 0
2024-12-27T19:05:17.403878 - 0 models unloaded.
2024-12-27T19:05:17.403878 - loaded partially 1883.3867188453673 1883.38671875 0
2024-12-27T19:05:18.545041 - Requested to load VideoVAE
2024-12-27T19:05:19.735271 - loaded completely 9.5367431640625e+25 1783.197114944458 True
2024-12-27T19:05:20.105306 - Requested to load LTXV
2024-12-27T19:05:21.729185 - loaded partially 1844.925 1843.015869140625 0
2024-12-27T19:07:35.261142 - 
100%|██████████| 30/30 [02:13<00:00,  4.37s/it]2024-12-27T19:07:35.261142 - 
100%|██████████| 30/30 [02:13<00:00,  4.45s/it]2024-12-27T19:07:35.261142 - 
2024-12-27T19:07:35.271158 - Requested to load VideoVAE
2024-12-27T19:07:35.794056 - 0 models unloaded.
2024-12-27T19:07:36.028219 - loaded partially 1302.45 1302.446533203125 0
2024-12-27T19:07:36.094419 - !!! Exception during processing !!! Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument mat1 in method wrapper_CUDA_addmm)
2024-12-27T19:07:36.103924 - Traceback (most recent call last):
  File "C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 328, 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\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 203, 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\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)
  File "C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\nodes.py", line 285, in decode
    images = vae.decode(samples["samples"])
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\sd.py", line 462, in decode
    out = self.process_output(self.first_stage_model.decode(samples).to(self.output_device).float())
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\ldm\lightricks\vae\causal_video_autoencoder.py", line 906, in decode
    return self.decoder(self.per_channel_statistics.un_normalize(x), timestep=timestep)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\graha\OneDrive\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1736, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\graha\OneDrive\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\ldm\lightricks\vae\causal_video_autoencoder.py", line 385, in forward
    sample = checkpoint_fn(up_block)(
             ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\graha\OneDrive\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1736, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\graha\OneDrive\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\ldm\lightricks\vae\causal_video_autoencoder.py", line 493, in forward
    timestep_embed = self.time_embedder(
                     ^^^^^^^^^^^^^^^^^^^
  File "C:\Users\graha\OneDrive\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1736, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\graha\OneDrive\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\ldm\lightricks\model.py", line 152, in forward
    timesteps_emb = self.timestep_embedder(timesteps_proj.to(dtype=hidden_dtype))  # (N, D)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\graha\OneDrive\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1736, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\graha\OneDrive\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\ldm\lightricks\model.py", line 109, in forward
    sample = self.linear_2(sample)
             ^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\graha\OneDrive\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1736, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\graha\OneDrive\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\module.py", line 1747, in _call_impl
    return forward_call(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\graha\AppData\Local\Programs\@comfyorgcomfyui-electron\resources\ComfyUI\comfy\ops.py", line 70, in forward
    return super().forward(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\graha\OneDrive\Documents\ComfyUI\.venv\Lib\site-packages\torch\nn\modules\linear.py", line 125, in forward
    return F.linear(input, self.weight, self.bias)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! (when checking argument for argument mat1 in method wrapper_CUDA_addmm)

2024-12-27T19:07:36.103924 - Prompt executed in 155.97 seconds
2024-12-27T19:07:36.669049 - Failed to get ComfyUI version: Command '['git', 'describe', '--tags']' returned non-zero exit status 128.

Attached Workflow

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

{"last_node_id":78,"last_link_id":190,"nodes":[{"id":69,"type":"LTXVConditioning","pos":[920,60],"size":[223.8660125732422,78],"flags":{},"order":8,"mode":0,"inputs":[{"name":"positive","type":"CONDITIONING","link":183},{"name":"negative","type":"CONDITIONING","link":184}],"outputs":[{"name":"positive","type":"CONDITIONING","links":[166],"slot_index":0},{"name":"negative","type":"CONDITIONING","links":[167],"slot_index":1}],"properties":{"Node name for S&R":"LTXVConditioning"},"widgets_values":[25]},{"id":72,"type":"SamplerCustom","pos":[1201,32],"size":[355.20001220703125,230],"flags":{},"order":10,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":181},{"name":"positive","type":"CONDITIONING","link":166},{"name":"negative","type":"CONDITIONING","link":167},{"name":"sampler","type":"SAMPLER","link":172},{"name":"sigmas","type":"SIGMAS","link":182},{"name":"latent_image","type":"LATENT","link":186}],"outputs":[{"name":"output","type":"LATENT","links":[171],"slot_index":0},{"name":"denoised_output","type":"LATENT","links":null}],"properties":{"Node name for S&R":"SamplerCustom"},"widgets_values":[true,355185069551160,"randomize",3]},{"id":71,"type":"LTXVScheduler","pos":[856,531],"size":[315,154],"flags":{},"order":9,"mode":0,"inputs":[{"name":"latent","type":"LATENT","link":185,"shape":7}],"outputs":[{"name":"SIGMAS","type":"SIGMAS","links":[182],"slot_index":0}],"properties":{"Node name for S&R":"LTXVScheduler"},"widgets_values":[30,2.05,0.95,true,0.1]},{"id":7,"type":"CLIPTextEncode","pos":[420,390],"size":[425.27801513671875,180.6060791015625],"flags":{},"order":6,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":75}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[188],"slot_index":0}],"title":"CLIP Text Encode (Negative Prompt)","properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["low quality, worst quality, deformed, distorted, disfigured, motion smear, motion artifacts, fused fingers, bad anatomy, weird hand, ugly"],"color":"#322","bgcolor":"#533"},{"id":76,"type":"Note","pos":[40,350],"size":[360,200],"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[],"properties":{},"widgets_values":["This model needs long descriptive prompts, if the prompt is too short the quality will suffer greatly."],"color":"#432","bgcolor":"#653"},{"id":77,"type":"LTXVImgToVideo","pos":[863,181],"size":[315,214],"flags":{},"order":7,"mode":0,"inputs":[{"name":"positive","type":"CONDITIONING","link":187},{"name":"negative","type":"CONDITIONING","link":188},{"name":"vae","type":"VAE","link":189},{"name":"image","type":"IMAGE","link":190}],"outputs":[{"name":"positive","type":"CONDITIONING","links":[183],"slot_index":0},{"name":"negative","type":"CONDITIONING","links":[184],"slot_index":1},{"name":"latent","type":"LATENT","links":[185,186],"slot_index":2}],"properties":{"Node name for S&R":"LTXVImgToVideo"},"widgets_values":[768,512,97,1,0.15]},{"id":6,"type":"CLIPTextEncode","pos":[420,190],"size":[422.84503173828125,164.31304931640625],"flags":{},"order":5,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":74}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[187],"slot_index":0}],"title":"CLIP Text Encode (Positive Prompt)","properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["The camera slowly zooms in focusing on a beautiful topless woman, with short pixie hair and blue eyes, standing in the middle of a beach as the breeze moves her hair gently, she smiles as she looks at the camera, the beautiful woman blinks as she looks at her chest and blushes. She moves gently. At the end the woman closes her eyes and smiles."],"color":"#232","bgcolor":"#353"},{"id":78,"type":"LoadImage","pos":[420,620],"size":[385.15606689453125,333.3305358886719],"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[190]},{"name":"MASK","type":"MASK","links":null}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["20241009 Beach01.png","image"]},{"id":73,"type":"KSamplerSelect","pos":[858.3032836914062,440.78472900390625],"size":[315,58],"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"SAMPLER","type":"SAMPLER","links":[172]}],"properties":{"Node name for S&R":"KSamplerSelect"},"widgets_values":["euler"]},{"id":44,"type":"CheckpointLoaderSimple","pos":[520,30],"size":[315,98],"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[{"name":"MODEL","type":"MODEL","links":[181],"slot_index":0},{"name":"CLIP","type":"CLIP","links":null},{"name":"VAE","type":"VAE","links":[87,189],"slot_index":2}],"properties":{"Node name for S&R":"CheckpointLoaderSimple"},"widgets_values":["lightricksLTXV_2b091.safetensors"]},{"id":38,"type":"CLIPLoader","pos":[60,190],"size":[315,82],"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[{"name":"CLIP","type":"CLIP","links":[74,75],"slot_index":0}],"properties":{"Node name for S&R":"CLIPLoader"},"widgets_values":["stableDiffusion3SD3_textEncoderT5XXLFP16.safetensors","ltxv"]},{"id":8,"type":"VAEDecode","pos":[1600,30],"size":[210,46],"flags":{"collapsed":false},"order":11,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":171},{"name":"vae","type":"VAE","link":87}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[106],"slot_index":0}],"properties":{"Node name for S&R":"VAEDecode"},"widgets_values":[]},{"id":41,"type":"SaveAnimatedWEBP","pos":[1830,30],"size":[680,610],"flags":{},"order":12,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":106}],"outputs":[],"properties":{},"widgets_values":["ComfyUI",24,false,90,"default"]}],"links":[[74,38,0,6,0,"CLIP"],[75,38,0,7,0,"CLIP"],[87,44,2,8,1,"VAE"],[106,8,0,41,0,"IMAGE"],[166,69,0,72,1,"CONDITIONING"],[167,69,1,72,2,"CONDITIONING"],[171,72,0,8,0,"LATENT"],[172,73,0,72,3,"SAMPLER"],[181,44,0,72,0,"MODEL"],[182,71,0,72,4,"SIGMAS"],[183,77,0,69,0,"CONDITIONING"],[184,77,1,69,1,"CONDITIONING"],[185,77,2,71,0,"LATENT"],[186,77,2,72,5,"LATENT"],[187,6,0,77,0,"CONDITIONING"],[188,7,0,77,1,"CONDITIONING"],[189,44,2,77,2,"VAE"],[190,78,0,77,3,"IMAGE"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.141024782062333,"offset":[-1003.4426400375266,74.03139761493193]},"VHS_latentpreview":false,"VHS_latentpreviewrate":0},"version":0.4}

Additional Context

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