ComfyUI icon indicating copy to clipboard operation
ComfyUI copied to clipboard

ComfyUI portable is using its own PyTorch version that cannot be updated

Open andreszs opened this issue 1 year ago • 5 comments

Your question

According to the attached error log, ComfyUI portable is using Pytorch 2.0.1, even when I executed the install comand in the python_embeded folder as follows:

pip install torch==2.5.0 torchvision==0.20.0 torchaudio==2.5.0 --index-url https://download.pytorch.org/whl/cu124

which said:

Requirement already satisfied: MarkupSafe>=2.0 in c:\users\andres\appdata\local\programs\python\python310\lib\site-packages (from jinja2->torch==2.5.0) (2.1.3)
Installing collected packages: torch, torchvision, torchaudio
  Attempting uninstall: torch
    Found existing installation: torch 2.5.1
    Uninstalling torch-2.5.1:
      Successfully uninstalled torch-2.5.1
  Attempting uninstall: torchvision
    Found existing installation: torchvision 0.20.1
    Uninstalling torchvision-0.20.1:
      Successfully uninstalled torchvision-0.20.1
  Attempting uninstall: torchaudio
    Found existing installation: torchaudio 2.5.1
    Uninstalling torchaudio-2.5.1:
      Successfully uninstalled torchaudio-2.5.1
Successfully installed torch-2.5.0+cu124 torchaudio-2.5.0+cu124 torchvision-0.20.0+cu124

Across Reddit, users have reported the issue of having two Python and two PyTorch versions installed in different locations. No one knows which versions ComfyUI is actually using, let alone how to update them.

This inconsistency introduced by the portable version is quite tedious. Is there an official MSI available to install ComfyUI in a more professional manner, allowing it to use the global Python and PyTorch installations? Also, how do I (really) update the (right) Pytorch version for ComfyUI (portable) now?

In some cases, portable apps cause more problems than they solve. I understand that developers here might consider installer a bad word, but why not distribute a simple MSI installer and display a message at the end such as:

"ComfyUI requires Python to run. Would you like to open a browser to download the official Python installer now? -YES PLEASE -NO, THANKS."

Logs

# ComfyUI Error Report
## Error Details
- **Node ID:** 73
- **Node Type:** VAEDecodeTiled
- **Exception Type:** RuntimeError
- **Exception Message:** "replication_pad3d_cuda" not implemented for 'BFloat16'

Other

System Information

  • ComfyUI Version: v0.3.9-17-gf18ebbd
  • Arguments: ComfyUI\main.py --windows-standalone-build --force-fp16
  • OS: nt
  • Python Version: 3.10.9 (tags/v3.10.9:1dd9be6, Dec 6 2022, 20:01:21) [MSC v.1934 64 bit (AMD64)]
  • Embedded Python: true
  • PyTorch Version: 2.0.1+cu118

Devices

  • Name: cuda:0 NVIDIA GeForce RTX 3060 Ti : cudaMallocAsync
    • Type: cuda
    • VRAM Total: 8589279232
    • VRAM Free: 6918246490
    • Torch VRAM Total: 536870912
    • Torch VRAM Free: 35393626

andreszs avatar Dec 24 '24 04:12 andreszs

ComfyUI windows portable is consistent and will always use the embedded environment contained within \<path to comfy folder>\python_embeded\. That's what makes it portable - you can move the whole folder anywhere on any PC and if permissions allow it to it will run.

As you can see from the console, by running pip it defaults to running from your system PATH.

So in this instance to update torch you need to make sure you're using comfyUI portable's embedded python environment by running **.\python.exe** -s pip install torch==2.5.0 torchvision==0.20.0 torchaudio==2.5.0 --index-url https://download.pytorch.org/whl/cu124

Using a path to the correct python.exe instead of just the exe filename will help to ensure that you don't accidentally invoke any other python instance on your system. -s ensures you don't mess around with your PATH instance of python (but it shouldn't anyway).

If you're dissatisfied with the portable setup and you want to use ComfyUI with a conda environment you can try following the manual installation instructions here - https://docs.comfy.org/get_started/manual_install.

hth, good luck!

DiffuzionDreamer avatar Dec 24 '24 11:12 DiffuzionDreamer

Yes, as DiffuzionDreamer said, you installed pytorch in your system rather than in your python embeded. I think instead of -s you have to use -m (and maybe also the --upgrade flag)

Open terminal inside python_embeded folder and run this command:

.\python.exe -m pip install --upgrade torch==2.5.0 torchvision==0.20.0 torchaudio==2.5.0 --index-url https://download.pytorch.org/whl/cu124

I'm no expert in coding, but I'm pretty used to dealing with ComfyUI portable 😆

LukeG89 avatar Dec 24 '24 12:12 LukeG89

"replication_pad3d_cuda" not implemented for 'BFloat16'

ComfyUI Error Report

Error Details

  • Node ID: 87
  • Node Type: VAEDecodeTiled
  • Exception Type: RuntimeError
  • Exception Message: "replication_pad3d_cuda" not implemented for 'BFloat16'

Stack Trace

  File "D:\ComfyUI-aki\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 "D:\ComfyUI-aki\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 "D:\ComfyUI-aki\execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)

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

  File "D:\ComfyUI-aki\nodes.py", line 318, in decode
    images = vae.decode_tiled(samples["samples"], tile_x=tile_size // compression, tile_y=tile_size // compression, overlap=overlap // compression, tile_t=temporal_size, overlap_t=temporal_overlap)

  File "D:\ComfyUI-aki\comfy\sd.py", line 516, in decode_tiled
    output = self.decode_tiled_3d(samples, **args)

  File "D:\ComfyUI-aki\comfy\sd.py", line 438, in decode_tiled_3d
    return self.process_output(comfy.utils.tiled_scale_multidim(samples, decode_fn, tile=(tile_t, tile_x, tile_y), overlap=overlap, upscale_amount=self.upscale_ratio, out_channels=self.output_channels, index_formulas=self.upscale_index_formula, output_device=self.output_device))

  File "D:\ComfyUI-aki\python\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)

  File "D:\ComfyUI-aki\comfy\utils.py", line 908, in tiled_scale_multidim
    ps = function(s_in).to(output_device)

  File "D:\ComfyUI-aki\comfy\sd.py", line 437, in <lambda>
    decode_fn = lambda a: self.first_stage_model.decode(a.to(self.vae_dtype).to(self.device)).float()

  File "D:\ComfyUI-aki\comfy\ldm\models\autoencoder.py", line 209, in decode
    dec = self.decoder(dec, **decoder_kwargs)

  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)

  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)

  File "D:\ComfyUI-aki\comfy\ldm\modules\diffusionmodules\model.py", line 709, in forward
    h = self.conv_in(z)

  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)

  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)

  File "D:\ComfyUI-aki\comfy\ldm\modules\diffusionmodules\model.py", line 61, in forward
    x = torch.nn.functional.pad(x, self.padding, mode=self.padding_mode)

System Information

  • ComfyUI Version: v0.3.10
  • Arguments: D:\ComfyUI-aki\main.py --auto-launch --preview-method auto --disable-cuda-malloc
  • OS: nt
  • Python Version: 3.10.11 (tags/v3.10.11:7d4cc5a, Apr 5 2023, 00:38:17) [MSC v.1929 64 bit (AMD64)]
  • Embedded Python: false
  • PyTorch Version: 2.1.2+cu118

Devices

  • Name: cuda:0 NVIDIA GeForce RTX 4060 Ti : cudaMallocAsync
    • Type: cuda
    • VRAM Total: 17175150592
    • VRAM Free: 15320862810
    • Torch VRAM Total: 637534208
    • Torch VRAM Free: 58839130

Logs

2025-01-12T21:51:56.065239 -  [DONE]2025-01-12T21:51:56.065239 - 
2025-01-12T21:51:56.119650 - FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json2025-01-12T21:51:56.119650 - 2025-01-12T21:51:56.121411 - [2025-01-12T21:51:56.121916 - ComfyUI-Manager2025-01-12T21:51:56.121916 - ]2025-01-12T21:51:56.121916 -  Due to a network error, switching to local mode.2025-01-12T21:51:56.121916 - 
2025-01-12T21:51:56.121916 - => extension-node-map.json2025-01-12T21:51:56.121916 - 
2025-01-12T21:51:56.121916 - => Cannot connect to host raw.githubusercontent.com:2025-01-12T21:51:56.121916 - 4432025-01-12T21:51:56.121916 -  ssl:default 2025-01-12T21:51:56.121916 - 
2025-01-12T21:51:56.121916 - FETCH DATA from: D:\ComfyUI-aki\custom_nodes\ComfyUI-Manager\extension-node-map.json2025-01-12T21:51:56.121916 - 2025-01-12T21:51:56.124357 -  [DONE]2025-01-12T21:51:56.124357 - 
2025-01-12T21:51:59.725041 - FETCH DATA from: D:\ComfyUI-aki\custom_nodes\ComfyUI-Manager\custom-node-list.json2025-01-12T21:51:59.725041 - 2025-01-12T21:51:59.739419 -  [DONE]2025-01-12T21:51:59.739419 - 
2025-01-12T21:51:59.739419 - FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json2025-01-12T21:51:59.739419 - 2025-01-12T21:51:59.741739 - [2025-01-12T21:51:59.741739 - ComfyUI-Manager2025-01-12T21:51:59.741739 - ]2025-01-12T21:51:59.741739 -  Due to a network error, switching to local mode.2025-01-12T21:51:59.741739 - 
2025-01-12T21:51:59.741739 - => custom-node-list.json2025-01-12T21:51:59.741739 - 
2025-01-12T21:51:59.741739 - => Cannot connect to host raw.githubusercontent.com:2025-01-12T21:51:59.741739 - 4432025-01-12T21:51:59.741739 -  ssl:default 2025-01-12T21:51:59.741739 - 
2025-01-12T21:51:59.742739 - FETCH DATA from: D:\ComfyUI-aki\custom_nodes\ComfyUI-Manager\custom-node-list.json2025-01-12T21:51:59.742739 - 2025-01-12T21:51:59.752357 -  [DONE]2025-01-12T21:51:59.752999 - 
2025-01-12T21:51:59.754506 - Download: git clone 2025-01-12T21:51:59.754506 - 'https://github.com/TTPlanetPig/Comfyui_TTP_Toolset'2025-01-12T21:51:59.755506 - 
2025-01-12T21:52:03.913285 - Installation was successful.2025-01-12T21:52:03.913285 - 
2025-01-12T21:54:33.473023 - got prompt
2025-01-12T21:54:33.497741 - Failed to validate prompt for output 83:
2025-01-12T21:54:33.497741 - * UNETLoader 12:
2025-01-12T21:54:33.497741 -   - Value not in list: unet_name: 'hunyuan_video_720_cfgdistill_bf16.safetensors' not in ['Flux-blackforest-Controlnet\\flux1-fill-dev.safetensors', 'Kijai-flux1-dev-fp8.safetensors', 'hunyuan_video_720_fp8_e4m3fn.safetensors', 'iclight\\iclight_sd15_fbc.safetensors', 'iclight\\iclight_sd15_fc.safetensors']
2025-01-12T21:54:33.497741 - * LoraLoaderModelOnly 99:
2025-01-12T21:54:33.497741 -   - Value not in list: lora_name: 'hy\Yor_hyvid_v1.safetensors' not in (list of length 57)
2025-01-12T21:54:33.497741 - * DualCLIPLoader 11:
2025-01-12T21:54:33.498744 -   - Value not in list: clip_name2: 'llava_llama3_fp8_scaled.safe.safetensors' not in ['EVA02_CLIP_L_336_psz14_s6B.pt', 'brushnet-models-1.5-fp16.safetensors', 'clip-vit-large-patch14\\model.safetensors', 'clip-vit-large-patch14\\pytorch_model.bin', 'clip_g.safetensors', 'clip_l.safetensors', 'llava_llama3_fp8_scaled.safetensors', 'siglip-so400m-patch14-384\\model.safetensors', 't5xxl_fp16.safetensors', 't5xxl_fp8_e4m3fn.safetensors']
2025-01-12T21:54:33.498744 - Output will be ignored
2025-01-12T21:54:33.498744 - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
2025-01-12T21:55:04.551652 - got prompt
2025-01-12T21:55:04.609631 - end_vram - start_vram: 33554432 - 33554432 = 02025-01-12T21:55:04.609631 - 
2025-01-12T21:55:04.609631 - #45 [EmptyHunyuanLatentVideo]: 0.01s - vram 0b2025-01-12T21:55:04.609631 - 
2025-01-12T21:55:04.618631 - end_vram - start_vram: 33554432 - 33554432 = 02025-01-12T21:55:04.618631 - 
2025-01-12T21:55:04.618631 - #17 [BasicScheduler]: 0.01s - vram 0b2025-01-12T21:55:04.618631 - 
2025-01-12T21:55:04.618631 - end_vram - start_vram: 33554432 - 33554432 = 02025-01-12T21:55:04.618631 - 
2025-01-12T21:55:04.618631 - #16 [KSamplerSelect]: 0.00s - vram 0b2025-01-12T21:55:04.618631 - 
2025-01-12T21:55:05.488289 - CLIP model load device: cuda:0, offload device: cpu, current: cpu, dtype: torch.float16
2025-01-12T21:55:05.592022 - clip missing: ['text_projection.weight']
2025-01-12T21:55:09.828130 - end_vram - start_vram: 33554432 - 33554432 = 02025-01-12T21:55:09.828130 - 
2025-01-12T21:55:09.828130 - #11 [DualCLIPLoader]: 5.21s - vram 0b2025-01-12T21:55:09.828130 - 
2025-01-12T21:55:09.843523 - Requested to load HunyuanVideoClipModel_
2025-01-12T21:55:11.559413 - loaded completely 9.5367431640625e+25 7894.8529052734375 True
2025-01-12T21:55:12.076910 - end_vram - start_vram: 8576215880 - 33554432 = 85426614482025-01-12T21:55:12.076910 - 
2025-01-12T21:55:12.077415 - #44 [CLIPTextEncode]: 2.25s - vram 8542661448b2025-01-12T21:55:12.077415 - 
2025-01-12T21:55:12.077415 - end_vram - start_vram: 8311907720 - 8311907720 = 02025-01-12T21:55:12.077415 - 
2025-01-12T21:55:12.077415 - #26 [FluxGuidance]: 0.00s - vram 0b2025-01-12T21:55:12.077415 - 
2025-01-12T21:55:12.080972 - end_vram - start_vram: 8311907720 - 8311907720 = 02025-01-12T21:55:12.080972 - 
2025-01-12T21:55:12.080972 - #67 [ModelSamplingSD3]: 0.00s - vram 0b2025-01-12T21:55:12.080972 - 
2025-01-12T21:55:12.081972 - end_vram - start_vram: 8311907720 - 8311907720 = 02025-01-12T21:55:12.081972 - 
2025-01-12T21:55:12.081972 - #22 [BasicGuider]: 0.00s - vram 0b2025-01-12T21:55:12.081972 - 
2025-01-12T21:55:12.081972 - end_vram - start_vram: 8311907720 - 8311907720 = 02025-01-12T21:55:12.081972 - 
2025-01-12T21:55:12.081972 - #25 [RandomNoise]: 0.00s - vram 0b2025-01-12T21:55:12.081972 - 
2025-01-12T21:55:12.103952 - Requested to load HunyuanVideo
2025-01-12T21:55:25.994376 - loaded completely 9.5367431640625e+25 12227.070373535156 True
2025-01-12T21:56:19.023004 - end_vram - start_vram: 13446008386 - 8311907720 = 51341006662025-01-12T21:56:19.023004 - 
2025-01-12T21:56:19.023004 - #100 [TeaCacheHunyuanVideoSampler_FOK]: 66.94s - vram 5134100666b2025-01-12T21:56:19.023004 - 
2025-01-12T21:56:19.024007 - Requested to load AutoencoderKL
2025-01-12T21:56:21.668845 - loaded completely 9.5367431640625e+25 470.1210079193115 True
2025-01-12T21:56:21.715583 - !!! Exception during processing !!! "replication_pad3d_cuda" not implemented for 'BFloat16'
2025-01-12T21:56:21.718027 - Traceback (most recent call last):
  File "D:\ComfyUI-aki\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 "D:\ComfyUI-aki\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 "D:\ComfyUI-aki\execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)
  File "D:\ComfyUI-aki\execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "D:\ComfyUI-aki\nodes.py", line 318, in decode
    images = vae.decode_tiled(samples["samples"], tile_x=tile_size // compression, tile_y=tile_size // compression, overlap=overlap // compression, tile_t=temporal_size, overlap_t=temporal_overlap)
  File "D:\ComfyUI-aki\comfy\sd.py", line 516, in decode_tiled
    output = self.decode_tiled_3d(samples, **args)
  File "D:\ComfyUI-aki\comfy\sd.py", line 438, in decode_tiled_3d
    return self.process_output(comfy.utils.tiled_scale_multidim(samples, decode_fn, tile=(tile_t, tile_x, tile_y), overlap=overlap, upscale_amount=self.upscale_ratio, out_channels=self.output_channels, index_formulas=self.upscale_index_formula, output_device=self.output_device))
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "D:\ComfyUI-aki\comfy\utils.py", line 908, in tiled_scale_multidim
    ps = function(s_in).to(output_device)
  File "D:\ComfyUI-aki\comfy\sd.py", line 437, in <lambda>
    decode_fn = lambda a: self.first_stage_model.decode(a.to(self.vae_dtype).to(self.device)).float()
  File "D:\ComfyUI-aki\comfy\ldm\models\autoencoder.py", line 209, in decode
    dec = self.decoder(dec, **decoder_kwargs)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "D:\ComfyUI-aki\comfy\ldm\modules\diffusionmodules\model.py", line 709, in forward
    h = self.conv_in(z)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "D:\ComfyUI-aki\comfy\ldm\modules\diffusionmodules\model.py", line 61, in forward
    x = torch.nn.functional.pad(x, self.padding, mode=self.padding_mode)
RuntimeError: "replication_pad3d_cuda" not implemented for 'BFloat16'

2025-01-12T21:56:21.719027 - end_vram - start_vram: 12877651936 - 12877651936 = 02025-01-12T21:56:21.719027 - 
2025-01-12T21:56:21.719027 - #87 [VAEDecodeTiled]: 2.70s - vram 0b2025-01-12T21:56:21.719027 - 
2025-01-12T21:56:21.719967 - Prompt executed in 77.14 seconds
2025-01-12T22:01:01.979063 - got prompt
2025-01-12T22:01:01.991992 - Failed to validate prompt for output 83:
2025-01-12T22:01:01.991992 - * LoraLoaderModelOnly 99:
2025-01-12T22:01:01.991992 -   - Value not in list: lora_name: 'hy\Yor_hyvid_v1.safetensors' not in (list of length 57)
2025-01-12T22:01:01.991992 - Output will be ignored
2025-01-12T22:01:01.991992 - invalid prompt: {'type': 'prompt_outputs_failed_validation', 'message': 'Prompt outputs failed validation', 'details': '', 'extra_info': {}}
2025-01-12T22:01:11.860341 - got prompt
2025-01-12T22:01:11.895836 - end_vram - start_vram: 3702642502 - 3702642502 = 02025-01-12T22:01:11.895836 - 
2025-01-12T22:01:11.896836 - #45 [EmptyHunyuanLatentVideo]: 0.00s - vram 0b2025-01-12T22:01:11.896836 - 
2025-01-12T22:01:13.182351 - loaded partially 7043.0 7042.87109375 0
2025-01-12T22:07:47.704779 - Exception in callback _ProactorBasePipeTransport._call_connection_lost(None)
handle: <Handle _ProactorBasePipeTransport._call_connection_lost(None)>
Traceback (most recent call last):
  File "D:\ComfyUI-aki\python\lib\asyncio\events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "D:\ComfyUI-aki\python\lib\asyncio\proactor_events.py", line 165, in _call_connection_lost
    self._sock.shutdown(socket.SHUT_RDWR)
ConnectionResetError: [WinError 10054] 远程主机强迫关闭了一个现有的连接。
2025-01-12T22:07:51.671501 - []2025-01-12T22:07:51.671501 - 
2025-01-12T22:07:51.671501 - []2025-01-12T22:07:51.671501 - 
2025-01-12T22:07:54.007836 - FETCH DATA from: D:\ComfyUI-aki\custom_nodes\ComfyUI-Manager\extension-node-map.json2025-01-12T22:07:54.007836 - 2025-01-12T22:07:54.010836 -  [DONE]2025-01-12T22:07:54.010836 - 
2025-01-12T22:07:54.018836 - [LogConsole] client [e45d96d5bb714526bf0cfe9d54168cea], console [140cbe88-2c49-4cb4-b102-e5d2587f6bc8], disconnected2025-01-12T22:07:54.018836 - 
2025-01-12T22:07:54.589993 - []2025-01-12T22:07:54.589993 - 
2025-01-12T22:07:54.589993 - []2025-01-12T22:07:54.589993 - 
2025-01-12T22:07:55.536558 - [LogConsole] client [e45d96d5bb714526bf0cfe9d54168cea], console [ea5c147a-5273-4368-afcb-388956e723ff], connected2025-01-12T22:07:55.536558 - 
2025-01-12T22:07:57.612371 - Processing interrupted
2025-01-12T22:07:57.612371 - end_vram - start_vram: 14821389122 - 3702642502 = 111187466202025-01-12T22:07:57.612371 - 
2025-01-12T22:07:57.612371 - #100 [TeaCacheHunyuanVideoSampler_FOK]: 405.72s - vram 11118746620b2025-01-12T22:07:57.612371 - 
2025-01-12T22:07:57.621889 - Prompt executed in 405.73 seconds
2025-01-12T22:09:08.911291 - got prompt
2025-01-12T22:09:08.936830 - end_vram - start_vram: 7712073632 - 7712073632 = 02025-01-12T22:09:08.936830 - 
2025-01-12T22:09:08.936830 - #45 [EmptyHunyuanLatentVideo]: 0.00s - vram 0b2025-01-12T22:09:08.937831 - 
2025-01-12T22:09:08.937831 - end_vram - start_vram: 7712073632 - 7712073632 = 02025-01-12T22:09:08.937831 - 
2025-01-12T22:09:08.937831 - #25 [RandomNoise]: 0.00s - vram 0b2025-01-12T22:09:08.938831 - 
2025-01-12T22:09:08.943831 - Token indices sequence length is longer than the specified maximum sequence length for this model (253 > 77). Running this sequence through the model will result in indexing errors
2025-01-12T22:09:08.947831 - Requested to load HunyuanVideoClipModel_
2025-01-12T22:09:11.652467 - loaded completely 9.5367431640625e+25 7894.8529052734375 True
2025-01-12T22:09:12.759812 - end_vram - start_vram: 13867007784 - 7712073632 = 61549341522025-01-12T22:09:12.759812 - 
2025-01-12T22:09:12.759812 - #44 [CLIPTextEncode]: 3.82s - vram 6154934152b2025-01-12T22:09:12.759812 - 
2025-01-12T22:09:12.759812 - end_vram - start_vram: 13561563432 - 13561563432 = 02025-01-12T22:09:12.759812 - 
2025-01-12T22:09:12.759812 - #26 [FluxGuidance]: 0.00s - vram 0b2025-01-12T22:09:12.759812 - 
2025-01-12T22:09:12.760812 - end_vram - start_vram: 13561563432 - 13561563432 = 02025-01-12T22:09:12.760812 - 
2025-01-12T22:09:12.760812 - #22 [BasicGuider]: 0.00s - vram 0b2025-01-12T22:09:12.761814 - 
2025-01-12T22:09:16.368790 - loaded completely 9.5367431640625e+25 12227.070373535156 True
2025-01-12T22:10:37.900370 - end_vram - start_vram: 14217609554 - 13561563432 = 6560461222025-01-12T22:10:37.900370 - 
2025-01-12T22:10:37.900370 - #100 [TeaCacheHunyuanVideoSampler_FOK]: 85.14s - vram 656046122b2025-01-12T22:10:37.900370 - 
2025-01-12T22:10:42.889344 - end_vram - start_vram: 12906754016 - 12906754016 = 02025-01-12T22:10:42.889344 - 
2025-01-12T22:10:42.890344 - #101 [easy cleanGpuUsed]: 4.99s - vram 0b2025-01-12T22:10:42.890344 - 
2025-01-12T22:10:42.890344 - Requested to load AutoencoderKL
2025-01-12T22:10:42.891344 - 0 models unloaded.
2025-01-12T22:10:43.001883 - loaded completely 9.5367431640625e+25 470.1210079193115 True
2025-01-12T22:10:43.020883 - !!! Exception during processing !!! "replication_pad3d_cuda" not implemented for 'BFloat16'
2025-01-12T22:10:43.021883 - Traceback (most recent call last):
  File "D:\ComfyUI-aki\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 "D:\ComfyUI-aki\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 "D:\ComfyUI-aki\execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)
  File "D:\ComfyUI-aki\execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "D:\ComfyUI-aki\nodes.py", line 318, in decode
    images = vae.decode_tiled(samples["samples"], tile_x=tile_size // compression, tile_y=tile_size // compression, overlap=overlap // compression, tile_t=temporal_size, overlap_t=temporal_overlap)
  File "D:\ComfyUI-aki\comfy\sd.py", line 516, in decode_tiled
    output = self.decode_tiled_3d(samples, **args)
  File "D:\ComfyUI-aki\comfy\sd.py", line 438, in decode_tiled_3d
    return self.process_output(comfy.utils.tiled_scale_multidim(samples, decode_fn, tile=(tile_t, tile_x, tile_y), overlap=overlap, upscale_amount=self.upscale_ratio, out_channels=self.output_channels, index_formulas=self.upscale_index_formula, output_device=self.output_device))
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "D:\ComfyUI-aki\comfy\utils.py", line 908, in tiled_scale_multidim
    ps = function(s_in).to(output_device)
  File "D:\ComfyUI-aki\comfy\sd.py", line 437, in <lambda>
    decode_fn = lambda a: self.first_stage_model.decode(a.to(self.vae_dtype).to(self.device)).float()
  File "D:\ComfyUI-aki\comfy\ldm\models\autoencoder.py", line 209, in decode
    dec = self.decoder(dec, **decoder_kwargs)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "D:\ComfyUI-aki\comfy\ldm\modules\diffusionmodules\model.py", line 709, in forward
    h = self.conv_in(z)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "D:\ComfyUI-aki\comfy\ldm\modules\diffusionmodules\model.py", line 61, in forward
    x = torch.nn.functional.pad(x, self.padding, mode=self.padding_mode)
RuntimeError: "replication_pad3d_cuda" not implemented for 'BFloat16'

2025-01-12T22:10:43.022883 - end_vram - start_vram: 580101926 - 85737472 = 4943644542025-01-12T22:10:43.022883 - 
2025-01-12T22:10:43.022883 - #87 [VAEDecodeTiled]: 0.13s - vram 494364454b2025-01-12T22:10:43.022883 - 
2025-01-12T22:10:43.022883 - Prompt executed in 94.09 seconds
2025-01-12T22:11:23.676109 - got prompt
2025-01-12T22:11:23.703108 - end_vram - start_vram: 578695078 - 578695078 = 02025-01-12T22:11:23.703108 - 
2025-01-12T22:11:23.703108 - #25 [RandomNoise]: 0.00s - vram 0b2025-01-12T22:11:23.704108 - 
2025-01-12T22:11:23.707108 - Requested to load HunyuanVideo
2025-01-12T22:11:26.546773 - loaded completely 9.5367431640625e+25 12227.070373535156 True
2025-01-12T22:12:57.757342 - end_vram - start_vram: 14217609554 - 578695078 = 136389144762025-01-12T22:12:57.757342 - 
2025-01-12T22:12:57.757342 - #100 [TeaCacheHunyuanVideoSampler_FOK]: 94.05s - vram 13638914476b2025-01-12T22:12:57.757342 - 
2025-01-12T22:13:00.923065 - end_vram - start_vram: 12906754016 - 12906754016 = 02025-01-12T22:13:00.923065 - 
2025-01-12T22:13:00.923065 - #101 [easy cleanGpuUsed]: 3.17s - vram 0b2025-01-12T22:13:00.923065 - 
2025-01-12T22:13:00.924066 - Requested to load AutoencoderKL
2025-01-12T22:13:00.924066 - 0 models unloaded.
2025-01-12T22:13:01.020607 - loaded completely 9.5367431640625e+25 470.1210079193115 True
2025-01-12T22:13:01.040967 - !!! Exception during processing !!! "replication_pad3d_cuda" not implemented for 'BFloat16'
2025-01-12T22:13:01.040967 - Traceback (most recent call last):
  File "D:\ComfyUI-aki\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 "D:\ComfyUI-aki\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 "D:\ComfyUI-aki\execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)
  File "D:\ComfyUI-aki\execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "D:\ComfyUI-aki\nodes.py", line 318, in decode
    images = vae.decode_tiled(samples["samples"], tile_x=tile_size // compression, tile_y=tile_size // compression, overlap=overlap // compression, tile_t=temporal_size, overlap_t=temporal_overlap)
  File "D:\ComfyUI-aki\comfy\sd.py", line 516, in decode_tiled
    output = self.decode_tiled_3d(samples, **args)
  File "D:\ComfyUI-aki\comfy\sd.py", line 438, in decode_tiled_3d
    return self.process_output(comfy.utils.tiled_scale_multidim(samples, decode_fn, tile=(tile_t, tile_x, tile_y), overlap=overlap, upscale_amount=self.upscale_ratio, out_channels=self.output_channels, index_formulas=self.upscale_index_formula, output_device=self.output_device))
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "D:\ComfyUI-aki\comfy\utils.py", line 908, in tiled_scale_multidim
    ps = function(s_in).to(output_device)
  File "D:\ComfyUI-aki\comfy\sd.py", line 437, in <lambda>
    decode_fn = lambda a: self.first_stage_model.decode(a.to(self.vae_dtype).to(self.device)).float()
  File "D:\ComfyUI-aki\comfy\ldm\models\autoencoder.py", line 209, in decode
    dec = self.decoder(dec, **decoder_kwargs)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "D:\ComfyUI-aki\comfy\ldm\modules\diffusionmodules\model.py", line 709, in forward
    h = self.conv_in(z)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "D:\ComfyUI-aki\comfy\ldm\modules\diffusionmodules\model.py", line 61, in forward
    x = torch.nn.functional.pad(x, self.padding, mode=self.padding_mode)
RuntimeError: "replication_pad3d_cuda" not implemented for 'BFloat16'

2025-01-12T22:13:01.041612 - end_vram - start_vram: 580101926 - 85737472 = 4943644542025-01-12T22:13:01.041612 - 
2025-01-12T22:13:01.041612 - #87 [VAEDecodeTiled]: 0.12s - vram 494364454b2025-01-12T22:13:01.041612 - 
2025-01-12T22:13:01.041612 - Prompt executed in 97.35 seconds
2025-01-12T22:13:15.050443 - got prompt
2025-01-12T22:13:15.069442 - end_vram - start_vram: 578695078 - 578695078 = 02025-01-12T22:13:15.069442 - 
2025-01-12T22:13:15.069442 - #25 [RandomNoise]: 0.00s - vram 0b2025-01-12T22:13:15.070443 - 
2025-01-12T22:13:15.071442 - end_vram - start_vram: 578695078 - 578695078 = 02025-01-12T22:13:15.071442 - 
2025-01-12T22:13:15.071442 - #103 [TeaCacheForVidGen]: 0.00s - vram 0b2025-01-12T22:13:15.071442 - 
2025-01-12T22:13:15.072442 - end_vram - start_vram: 578695078 - 578695078 = 02025-01-12T22:13:15.072442 - 
2025-01-12T22:13:15.072442 - #67 [ModelSamplingSD3]: 0.00s - vram 0b2025-01-12T22:13:15.072442 - 
2025-01-12T22:13:15.073442 - end_vram - start_vram: 578695078 - 578695078 = 02025-01-12T22:13:15.073442 - 
2025-01-12T22:13:15.073442 - #22 [BasicGuider]: 0.00s - vram 0b2025-01-12T22:13:15.073442 - 
2025-01-12T22:13:15.075442 - Requested to load HunyuanVideo
2025-01-12T22:13:17.750000 - loaded completely 9.5367431640625e+25 12227.070373535156 True
2025-01-12T22:13:24.037744 - []2025-01-12T22:13:24.037744 - 
2025-01-12T22:13:24.037744 - []2025-01-12T22:13:24.037744 - 
2025-01-12T22:16:33.716003 - end_vram - start_vram: 14371006802 - 578695078 = 137923117242025-01-12T22:16:33.716003 - 
2025-01-12T22:16:33.716003 - #100 [TeaCacheHunyuanVideoSampler_FOK]: 198.64s - vram 13792311724b2025-01-12T22:16:33.716003 - 
2025-01-12T22:16:36.806779 - end_vram - start_vram: 12906754016 - 12906754016 = 02025-01-12T22:16:36.806779 - 
2025-01-12T22:16:36.806779 - #101 [easy cleanGpuUsed]: 3.09s - vram 0b2025-01-12T22:16:36.806779 - 
2025-01-12T22:16:36.806779 - Requested to load AutoencoderKL
2025-01-12T22:16:36.807779 - 0 models unloaded.
2025-01-12T22:16:36.902778 - loaded completely 9.5367431640625e+25 470.1210079193115 True
2025-01-12T22:16:36.919778 - !!! Exception during processing !!! "replication_pad3d_cuda" not implemented for 'BFloat16'
2025-01-12T22:16:36.920779 - Traceback (most recent call last):
  File "D:\ComfyUI-aki\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 "D:\ComfyUI-aki\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 "D:\ComfyUI-aki\execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)
  File "D:\ComfyUI-aki\execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "D:\ComfyUI-aki\nodes.py", line 318, in decode
    images = vae.decode_tiled(samples["samples"], tile_x=tile_size // compression, tile_y=tile_size // compression, overlap=overlap // compression, tile_t=temporal_size, overlap_t=temporal_overlap)
  File "D:\ComfyUI-aki\comfy\sd.py", line 516, in decode_tiled
    output = self.decode_tiled_3d(samples, **args)
  File "D:\ComfyUI-aki\comfy\sd.py", line 438, in decode_tiled_3d
    return self.process_output(comfy.utils.tiled_scale_multidim(samples, decode_fn, tile=(tile_t, tile_x, tile_y), overlap=overlap, upscale_amount=self.upscale_ratio, out_channels=self.output_channels, index_formulas=self.upscale_index_formula, output_device=self.output_device))
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "D:\ComfyUI-aki\comfy\utils.py", line 908, in tiled_scale_multidim
    ps = function(s_in).to(output_device)
  File "D:\ComfyUI-aki\comfy\sd.py", line 437, in <lambda>
    decode_fn = lambda a: self.first_stage_model.decode(a.to(self.vae_dtype).to(self.device)).float()
  File "D:\ComfyUI-aki\comfy\ldm\models\autoencoder.py", line 209, in decode
    dec = self.decoder(dec, **decoder_kwargs)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "D:\ComfyUI-aki\comfy\ldm\modules\diffusionmodules\model.py", line 709, in forward
    h = self.conv_in(z)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "D:\ComfyUI-aki\comfy\ldm\modules\diffusionmodules\model.py", line 61, in forward
    x = torch.nn.functional.pad(x, self.padding, mode=self.padding_mode)
RuntimeError: "replication_pad3d_cuda" not implemented for 'BFloat16'

2025-01-12T22:16:36.920779 - end_vram - start_vram: 580101926 - 85737472 = 4943644542025-01-12T22:16:36.920779 - 
2025-01-12T22:16:36.920779 - #87 [VAEDecodeTiled]: 0.11s - vram 494364454b2025-01-12T22:16:36.920779 - 
2025-01-12T22:16:36.921779 - Prompt executed in 201.86 seconds
2025-01-12T22:16:48.206713 - got prompt
2025-01-12T22:16:48.276715 - Using xformers attention in VAE
2025-01-12T22:16:48.278718 - Using xformers attention in VAE
2025-01-12T22:16:48.721937 - VAE load device: cuda:0, offload device: cpu, dtype: torch.bfloat16
2025-01-12T22:16:48.763937 - end_vram - start_vram: 85737472 - 85737472 = 02025-01-12T22:16:48.763937 - 
2025-01-12T22:16:48.763937 - #10 [VAELoader]: 0.53s - vram 0b2025-01-12T22:16:48.763937 - 
2025-01-12T22:16:48.763937 - Requested to load AutoencoderKL
2025-01-12T22:16:48.764937 - 0 models unloaded.
2025-01-12T22:16:48.993501 - loaded completely 9.5367431640625e+25 470.1210079193115 True
2025-01-12T22:16:49.009501 - !!! Exception during processing !!! "replication_pad3d_cuda" not implemented for 'BFloat16'
2025-01-12T22:16:49.009501 - Traceback (most recent call last):
  File "D:\ComfyUI-aki\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 "D:\ComfyUI-aki\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 "D:\ComfyUI-aki\execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)
  File "D:\ComfyUI-aki\execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "D:\ComfyUI-aki\nodes.py", line 318, in decode
    images = vae.decode_tiled(samples["samples"], tile_x=tile_size // compression, tile_y=tile_size // compression, overlap=overlap // compression, tile_t=temporal_size, overlap_t=temporal_overlap)
  File "D:\ComfyUI-aki\comfy\sd.py", line 516, in decode_tiled
    output = self.decode_tiled_3d(samples, **args)
  File "D:\ComfyUI-aki\comfy\sd.py", line 438, in decode_tiled_3d
    return self.process_output(comfy.utils.tiled_scale_multidim(samples, decode_fn, tile=(tile_t, tile_x, tile_y), overlap=overlap, upscale_amount=self.upscale_ratio, out_channels=self.output_channels, index_formulas=self.upscale_index_formula, output_device=self.output_device))
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "D:\ComfyUI-aki\comfy\utils.py", line 908, in tiled_scale_multidim
    ps = function(s_in).to(output_device)
  File "D:\ComfyUI-aki\comfy\sd.py", line 437, in <lambda>
    decode_fn = lambda a: self.first_stage_model.decode(a.to(self.vae_dtype).to(self.device)).float()
  File "D:\ComfyUI-aki\comfy\ldm\models\autoencoder.py", line 209, in decode
    dec = self.decoder(dec, **decoder_kwargs)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "D:\ComfyUI-aki\comfy\ldm\modules\diffusionmodules\model.py", line 709, in forward
    h = self.conv_in(z)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "D:\ComfyUI-aki\comfy\ldm\modules\diffusionmodules\model.py", line 61, in forward
    x = torch.nn.functional.pad(x, self.padding, mode=self.padding_mode)
RuntimeError: "replication_pad3d_cuda" not implemented for 'BFloat16'

2025-01-12T22:16:49.010501 - end_vram - start_vram: 580101926 - 85737472 = 4943644542025-01-12T22:16:49.010501 - 
2025-01-12T22:16:49.010501 - #87 [VAEDecodeTiled]: 0.25s - vram 494364454b2025-01-12T22:16:49.010501 - 
2025-01-12T22:16:49.010501 - Prompt executed in 0.78 seconds
2025-01-12T22:16:59.563243 - got prompt
2025-01-12T22:16:59.599200 - 0 models unloaded.
2025-01-12T22:16:59.612200 - !!! Exception during processing !!! "replication_pad3d_cuda" not implemented for 'BFloat16'
2025-01-12T22:16:59.612200 - Traceback (most recent call last):
  File "D:\ComfyUI-aki\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 "D:\ComfyUI-aki\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 "D:\ComfyUI-aki\execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)
  File "D:\ComfyUI-aki\execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "D:\ComfyUI-aki\nodes.py", line 285, in decode
    images = vae.decode(samples["samples"])
  File "D:\ComfyUI-aki\comfy\sd.py", line 472, in decode
    out = self.process_output(self.first_stage_model.decode(samples).to(self.output_device).float())
  File "D:\ComfyUI-aki\comfy\ldm\models\autoencoder.py", line 209, in decode
    dec = self.decoder(dec, **decoder_kwargs)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "D:\ComfyUI-aki\comfy\ldm\modules\diffusionmodules\model.py", line 709, in forward
    h = self.conv_in(z)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "D:\ComfyUI-aki\comfy\ldm\modules\diffusionmodules\model.py", line 61, in forward
    x = torch.nn.functional.pad(x, self.padding, mode=self.padding_mode)
RuntimeError: "replication_pad3d_cuda" not implemented for 'BFloat16'

2025-01-12T22:16:59.612200 - end_vram - start_vram: 582155558 - 578695078 = 34604802025-01-12T22:16:59.612200 - 
2025-01-12T22:16:59.613200 - #104 [VAEDecode]: 0.01s - vram 3460480b2025-01-12T22:16:59.613200 - 
2025-01-12T22:16:59.613200 - Prompt executed in 0.02 seconds
2025-01-12T22:17:35.286649 - got prompt
2025-01-12T22:17:35.312648 - 0 models unloaded.
2025-01-12T22:17:35.325649 - !!! Exception during processing !!! "replication_pad3d_cuda" not implemented for 'BFloat16'
2025-01-12T22:17:35.326648 - Traceback (most recent call last):
  File "D:\ComfyUI-aki\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 "D:\ComfyUI-aki\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 "D:\ComfyUI-aki\execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)
  File "D:\ComfyUI-aki\execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "D:\ComfyUI-aki\nodes.py", line 285, in decode
    images = vae.decode(samples["samples"])
  File "D:\ComfyUI-aki\comfy\sd.py", line 472, in decode
    out = self.process_output(self.first_stage_model.decode(samples).to(self.output_device).float())
  File "D:\ComfyUI-aki\comfy\ldm\models\autoencoder.py", line 209, in decode
    dec = self.decoder(dec, **decoder_kwargs)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "D:\ComfyUI-aki\comfy\ldm\modules\diffusionmodules\model.py", line 709, in forward
    h = self.conv_in(z)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "D:\ComfyUI-aki\comfy\ldm\modules\diffusionmodules\model.py", line 61, in forward
    x = torch.nn.functional.pad(x, self.padding, mode=self.padding_mode)
RuntimeError: "replication_pad3d_cuda" not implemented for 'BFloat16'

2025-01-12T22:17:35.326648 - end_vram - start_vram: 582155558 - 578695078 = 34604802025-01-12T22:17:35.326648 - 
2025-01-12T22:17:35.326648 - #104 [VAEDecode]: 0.01s - vram 3460480b2025-01-12T22:17:35.326648 - 
2025-01-12T22:17:35.327649 - Prompt executed in 0.02 seconds
2025-01-12T22:17:45.632078 - got prompt
2025-01-12T22:17:45.650078 - 0 models unloaded.
2025-01-12T22:17:45.669078 - !!! Exception during processing !!! "replication_pad3d_cuda" not implemented for 'BFloat16'
2025-01-12T22:17:45.669078 - Traceback (most recent call last):
  File "D:\ComfyUI-aki\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 "D:\ComfyUI-aki\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 "D:\ComfyUI-aki\execution.py", line 174, in _map_node_over_list
    process_inputs(input_dict, i)
  File "D:\ComfyUI-aki\execution.py", line 163, in process_inputs
    results.append(getattr(obj, func)(**inputs))
  File "D:\ComfyUI-aki\nodes.py", line 318, in decode
    images = vae.decode_tiled(samples["samples"], tile_x=tile_size // compression, tile_y=tile_size // compression, overlap=overlap // compression, tile_t=temporal_size, overlap_t=temporal_overlap)
  File "D:\ComfyUI-aki\comfy\sd.py", line 516, in decode_tiled
    output = self.decode_tiled_3d(samples, **args)
  File "D:\ComfyUI-aki\comfy\sd.py", line 438, in decode_tiled_3d
    return self.process_output(comfy.utils.tiled_scale_multidim(samples, decode_fn, tile=(tile_t, tile_x, tile_y), overlap=overlap, upscale_amount=self.upscale_ratio, out_channels=self.output_channels, index_formulas=self.upscale_index_formula, output_device=self.output_device))
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\utils\_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "D:\ComfyUI-aki\comfy\utils.py", line 908, in tiled_scale_multidim
    ps = function(s_in).to(output_device)
  File "D:\ComfyUI-aki\comfy\sd.py", line 437, in <lambda>
    decode_fn = lambda a: self.first_stage_model.decode(a.to(self.vae_dtype).to(self.device)).float()
  File "D:\ComfyUI-aki\comfy\ldm\models\autoencoder.py", line 209, in decode
    dec = self.decoder(dec, **decoder_kwargs)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "D:\ComfyUI-aki\comfy\ldm\modules\diffusionmodules\model.py", line 709, in forward
    h = self.conv_in(z)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "D:\ComfyUI-aki\python\lib\site-packages\torch\nn\modules\module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "D:\ComfyUI-aki\comfy\ldm\modules\diffusionmodules\model.py", line 61, in forward
    x = torch.nn.functional.pad(x, self.padding, mode=self.padding_mode)
RuntimeError: "replication_pad3d_cuda" not implemented for 'BFloat16'

2025-01-12T22:17:45.669078 - end_vram - start_vram: 580101926 - 578695078 = 14068482025-01-12T22:17:45.669078 - 
2025-01-12T22:17:45.670078 - #87 [VAEDecodeTiled]: 0.02s - vram 1406848b2025-01-12T22:17:45.670078 - 
2025-01-12T22:17:45.670078 - Prompt executed in 0.02 seconds

Attached Workflow

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

{"last_node_id":104,"last_link_id":304,"nodes":[{"id":67,"type":"ModelSamplingSD3","pos":[436.50927734375,42.78289794921875],"size":[210,58],"flags":{},"order":10,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":299,"label":"模型"}],"outputs":[{"name":"MODEL","type":"MODEL","links":[195],"slot_index":0,"label":"模型"}],"properties":{"Node name for S&R":"ModelSamplingSD3"},"widgets_values":[7]},{"id":17,"type":"BasicScheduler","pos":[502.6555480957031,810.0426025390625],"size":[315,106],"flags":{},"order":7,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":296,"slot_index":0,"label":"模型"}],"outputs":[{"name":"SIGMAS","type":"SIGMAS","links":[289],"slot_index":0,"shape":3,"label":"Sigmas"}],"properties":{"Node name for S&R":"BasicScheduler"},"widgets_values":["simple",30,1]},{"id":16,"type":"KSamplerSelect","pos":[500.4138488769531,695.1591796875],"size":[315,58],"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"SAMPLER","type":"SAMPLER","links":[288],"slot_index":0,"shape":3,"label":"采样器"}],"properties":{"Node name for S&R":"KSamplerSelect"},"widgets_values":["euler"]},{"id":22,"type":"BasicGuider","pos":[691.5621337890625,42.78289794921875],"size":[222.3482666015625,46],"flags":{},"order":11,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":195,"slot_index":0,"label":"模型"},{"name":"conditioning","type":"CONDITIONING","link":129,"slot_index":1,"label":"条件"}],"outputs":[{"name":"GUIDER","type":"GUIDER","links":[286],"slot_index":0,"shape":3,"label":"引导"}],"properties":{"Node name for S&R":"BasicGuider"},"widgets_values":[]},{"id":83,"type":"VHS_VideoCombine","pos":[1661.2330322265625,63.6126708984375],"size":[494.6632385253906,334],"flags":{},"order":16,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":303,"label":"图像"},{"name":"audio","type":"AUDIO","link":null,"shape":7,"label":"音频"},{"name":"meta_batch","type":"VHS_BatchManager","link":null,"shape":7,"label":"批次管理"},{"name":"vae","type":"VAE","link":null,"shape":7}],"outputs":[{"name":"Filenames","type":"VHS_FILENAMES","links":null,"label":"文件名"}],"properties":{"Node name for S&R":"VHS_VideoCombine"},"widgets_values":{"frame_rate":16,"loop_count":0,"filename_prefix":"mix1/HunyuanVideo","format":"video/h264-mp4","pix_fmt":"yuv420p","crf":18,"save_metadata":true,"trim_to_audio":false,"pingpong":false,"save_output":true,"videopreview":{"hidden":false,"paused":false,"params":{"filename":"HunyuanVideo_00291.mp4","subfolder":"mix1","type":"output","format":"video/h264-mp4","frame_rate":16,"workflow":"HunyuanVideo_00291.png","fullpath":"D:\\ComfyUI_windows_portable\\ComfyUI\\output\\mix1\\HunyuanVideo_00291.mp4"},"muted":false}}},{"id":11,"type":"DualCLIPLoader","pos":[46.695133209228516,196.85635375976562],"size":[350,106],"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"CLIP","type":"CLIP","links":[205],"slot_index":0,"shape":3,"label":"CLIP"}],"properties":{"Node name for S&R":"DualCLIPLoader"},"widgets_values":["clip_l.safetensors","llava_llama3_fp8_scaled.safetensors","hunyuan_video"]},{"id":101,"type":"easy cleanGpuUsed","pos":[1390.07666015625,139.8502960205078],"size":[210,26],"flags":{},"order":14,"mode":0,"inputs":[{"name":"anything","type":"*","link":297,"label":"输入任何"}],"outputs":[{"name":"output","type":"*","links":null}],"properties":{"Node name for S&R":"easy cleanGpuUsed"},"widgets_values":[]},{"id":45,"type":"EmptyHunyuanLatentVideo","pos":[500.3776550292969,377.4806213378906],"size":[315,130],"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"LATENT","type":"LATENT","links":[294],"slot_index":0,"label":"LATENT"}],"properties":{"Node name for S&R":"EmptyHunyuanLatentVideo"},"widgets_values":[512,320,49,1]},{"id":44,"type":"CLIPTextEncode","pos":[441.91876220703125,160.78236389160156],"size":[408.67877197265625,149.13497924804688],"flags":{"collapsed":false},"order":6,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":205,"label":"CLIP"}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[175],"slot_index":0,"label":"条件"}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["Realistic style, natural light, Chinese movie style HDR. In a magnificent Asian palace garden, cherry blossoms fall like snow. Soft and warm light poured down, casting a dreamy glow over the entire scene. An Asian state makeup goddess dressed in white Tang style Hanfu stands in a martial arts posture amidst the splendor, her long hair flowing in the wind, beautiful eyes and gaze firm, delicate nose and plump lips outlining a stunning face. A huge snake with colorful stripes wrapped around her, its body made of transparent ice sculpture, and the ice reflecting the surrounding light, appearing crystal clear. The snake face is engraved with the face of a female otaku, with a mysterious expression as if it is casting a magical spell. The camera zooms in from afar, first showcasing the grand beauty of the entire garden, and then focusing on the goddess and snake. The scenery is mainly composed of medium and close ups, highlighting the goddess's demeanor and posture, as well as the details of the snake. The whole picture is brightly colored, with the pink of cherry blossoms, the white of the goddess Hanfu, and the colorful stripes on the snake's body shining together, creating a realistic and sacred atmosphere that makes people feel like they are in a fairyland.\n",[false,true]],"color":"#232","bgcolor":"#353"},{"id":26,"type":"FluxGuidance","pos":[997.6729736328125,46.830413818359375],"size":[317.4000244140625,58],"flags":{},"order":9,"mode":0,"inputs":[{"name":"conditioning","type":"CONDITIONING","link":175,"label":"条件"}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[129],"slot_index":0,"shape":3,"label":"条件"}],"properties":{"Node name for S&R":"FluxGuidance"},"widgets_values":[6],"color":"#233","bgcolor":"#355"},{"id":25,"type":"RandomNoise","pos":[503.8368835449219,562.80712890625],"size":[315,82],"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[{"name":"NOISE","type":"NOISE","links":[287],"slot_index":0,"shape":3,"label":"噪波生成"}],"properties":{"Node name for S&R":"RandomNoise"},"widgets_values":[1,"fixed"],"color":"#2a363b","bgcolor":"#3f5159"},{"id":12,"type":"UNETLoader","pos":[-340.5149230957031,31.798425674438477],"size":[350,82],"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[{"name":"MODEL","type":"MODEL","links":[296,298],"slot_index":0,"shape":3,"label":"模型"}],"properties":{"Node name for S&R":"UNETLoader"},"widgets_values":["hunyuan_video_720_fp8_e4m3fn.safetensors","fp8_e4m3fn_fast"],"color":"#223","bgcolor":"#335"},{"id":103,"type":"TeaCacheForVidGen","pos":[68.51069641113281,10.215432167053223],"size":[315,130],"flags":{},"order":8,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":298,"label":"model"}],"outputs":[{"name":"MODEL","type":"MODEL","links":[299],"label":"MODEL","slot_index":0}],"properties":{"Node name for S&R":"TeaCacheForVidGen"},"widgets_values":[true,"hunyuan_video",0.15,25]},{"id":100,"type":"TeaCacheHunyuanVideoSampler_FOK","pos":[985.2409057617188,171.87326049804688],"size":[365.4000244140625,350],"flags":{},"order":12,"mode":0,"inputs":[{"name":"noise","type":"NOISE","link":287,"label":"noise"},{"name":"guider","type":"GUIDER","link":286,"label":"guider"},{"name":"sampler","type":"SAMPLER","link":288,"label":"sampler"},{"name":"sigmas","type":"SIGMAS","link":289,"label":"sigmas"},{"name":"latent_image","type":"LATENT","link":294,"label":"latent_image"}],"outputs":[{"name":"output","type":"LATENT","links":[293,297,300],"slot_index":0,"label":"output"},{"name":"denoised_output","type":"LATENT","links":null,"label":"denoised_output"}],"properties":{"Node name for S&R":"TeaCacheHunyuanVideoSampler_FOK"},"widgets_values":["Faster (2.1x)"]},{"id":104,"type":"VAEDecode","pos":[1411.0374755859375,434.7372131347656],"size":[210,46],"flags":{},"order":15,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":300,"label":"Latent"},{"name":"vae","type":"VAE","link":302,"label":"VAE"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[],"label":"图像","slot_index":0}],"properties":{"Node name for S&R":"VAEDecode"}},{"id":87,"type":"VAEDecodeTiled","pos":[1385.35791015625,226.82131958007812],"size":[210,150],"flags":{},"order":13,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":293,"label":"Latent"},{"name":"vae","type":"VAE","link":304,"label":"VAE"}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[303],"label":"图像","slot_index":0}],"properties":{"Node name for S&R":"VAEDecodeTiled"},"widgets_values":[256,64,64,8]},{"id":10,"type":"VAELoader","pos":[981.481201171875,596.050537109375],"size":[350,60],"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[{"name":"VAE","type":"VAE","links":[302,304],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"VAELoader"},"widgets_values":["hunyuan_video_vae_fp32.safetensors"]}],"links":[[129,26,0,22,1,"CONDITIONING"],[175,44,0,26,0,"CONDITIONING"],[195,67,0,22,0,"MODEL"],[205,11,0,44,0,"CLIP"],[286,22,0,100,1,"GUIDER"],[287,25,0,100,0,"NOISE"],[288,16,0,100,2,"SAMPLER"],[289,17,0,100,3,"SIGMAS"],[293,100,0,87,0,"LATENT"],[294,45,0,100,4,"LATENT"],[296,12,0,17,0,"MODEL"],[297,100,0,101,0,"*"],[298,12,0,103,0,"MODEL"],[299,103,0,67,0,"MODEL"],[300,100,0,104,0,"LATENT"],[302,10,0,104,1,"VAE"],[303,87,0,83,0,"IMAGE"],[304,10,0,87,1,"VAE"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.0610764609500045,"offset":[-599.4832361037746,38.061634289308984]},"groupNodes":{},"ue_links":[],"node_versions":{"comfy-core":"v0.3.10","ComfyUI-VideoHelperSuite":"c47b10ca1798b4925ff5a5f07d80c51ca80a837d","ComfyUI-Easy-Use":"be8306b17ad96aa7326bcc8012cc7c3489a94ab5","ComfyUI-TeaCache":"e1939f0822f30afa4fe46017f310a28b66fa38d1","teacachehunyuanvideo":"1.0.0"}},"version":0.4}

Additional Context

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

dddd605 avatar Jan 12 '25 14:01 dddd605

same error

whisky-12 avatar Mar 20 '25 02:03 whisky-12

Missing Node Types When loading the graph, the following node types were not found

TeaCacheForVidGen

euss3 avatar May 03 '25 17:05 euss3