Comfy-Org / Comfy-Org/ComfyUI

minimax h3 vae decode tiled error

Open
#15,274 11 comments 2 reactions 1 assignee Claimed by @rattus128 View on GitHub
User Support
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description


```
[ERROR] !!! Exception during processing !!! to() received an invalid combination of arguments - got (NestedTensor), but expected one of:
* (torch.device device = None, torch.dtype dtype = None, bool non_blocking = False, bool copy = False, *, torch.memory_format memory_format = None)
* (torch.dtype dtype, bool non_blocking = False, bool copy = False, *, torch.memory_format memory_format = None)
* (Tensor tensor, bool non_blocking = False, bool copy = False, *, torch.memory_format memory_format = None)

[ERROR] Traceback (most recent call last):
File "M:\ComfyUI\313tor212cu130\ComfyUI\execution.py", line 545, in execute
output_data, output_ui, has_subgraph, has_pending_tasks = await get_output_data(prompt_id, unique_id, obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "M:\ComfyUI\313tor212cu130\ComfyUI\execution.py", line 344, in get_output_data
return_values = await _async_map_node_over_list(prompt_id, unique_id, obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb, v3_data=v3_data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "M:\ComfyUI\313tor212cu130\ComfyUI\execution.py", line 318, in _async_map_node_over_list
await process_inputs(input_dict, i)
File "M:\ComfyUI\313tor212cu130\ComfyUI\execution.py", line 306, in process_inputs
result = f(**inputs)
File "M:\ComfyUI\313tor212cu130\ComfyUI\nodes.py", line 368, 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 "M:\ComfyUI\313tor212cu130\ComfyUI\comfy\sd.py", line 1234, in decode_tiled
output = self._decode_tiled_owned(samples, **self._owned_tiled_args(tile_x, tile_y, overlap, tile_t, overlap_t))
File "M:\ComfyUI\313tor212cu130\ComfyUI\comfy\sd.py", line 1097, in _decode_tiled_owned
out = self.first_stage_model.decode_tiled(samples.to(self.vae_dtype).to(self.device), **kwargs)
File "M:\ComfyUI\313tor212cu130\ComfyUI\comfy\ldm\minimax\vae.py", line 678, in decode_tiled
return self.decode(z)
~~~~~~~~~~~^^^
File "M:\ComfyUI\313tor212cu130\ComfyUI\comfy\ldm\minimax\vae.py", line 682, in decode
latents_mean = self.latents_mean.view(1, -1, 1, 1, 1).to(z)
TypeError: to() received an invalid combination of arguments - got (NestedTensor), but expected one of:
* (torch.device device = None, torch.dtype dtype = None, bool non_blocking = False, bool copy = False, *, torch.memory_format memory_format = None)
* (torch.dtype dtype, bool non_blocking = False, bool copy = False, *, torch.memory_format memory_format = None)
* (Tensor tensor, bool non_blocking = False, bool copy = False, *, torch.memory_format memory_format = None)

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.