ljleb / comfy-mecha

Executable Stable Diffusion merge recipes in comfyui
MIT License
56 stars 3 forks source link

Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! #15

Closed CyberLykan closed 2 months ago

CyberLykan commented 2 months ago

ComfyUI Error Report

Error Details

## System Information
- **ComfyUI Version:** v0.2.2-1-gc27ebeb
- **Arguments:** ComfyUI\main.py --port 7821 --extra-model-paths-config D:\My Stuff\Extra Stuff\SwarmUI\Data/comfy-auto-model.yaml --preview-method latent2rgb
- **OS:** nt
- **Python Version:** 3.11.8 (tags/v3.11.8:db85d51, Feb  6 2024, 22:03:32) [MSC v.1937 64 bit (AMD64)]
- **Embedded Python:** true
- **PyTorch Version:** 2.2.2+cu121
## Devices

- **Name:** cuda:0 NVIDIA GeForce RTX 3060 : cudaMallocAsync
  - **Type:** cuda
  - **VRAM Total:** 12884246528
  - **VRAM Free:** 11763501056
  - **Torch VRAM Total:** 1241513984
  - **Torch VRAM Free:** 1241040896

## Logs

2024-09-07 00:14:01,778 - root - INFO - Total VRAM 12287 MB, total RAM 32702 MB 2024-09-07 00:14:01,778 - root - INFO - pytorch version: 2.2.2+cu121 2024-09-07 00:14:01,778 - root - INFO - Set vram state to: NORMAL_VRAM 2024-09-07 00:14:01,778 - root - INFO - Device: cuda:0 NVIDIA GeForce RTX 3060 : cudaMallocAsync 2024-09-07 00:14:02,977 - root - INFO - Using pytorch cross attention 2024-09-07 00:14:03,433 - root - INFO - [Prompt Server] web root: D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\web 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path checkpoints D:\My Stuff\Extra Stuff\SwarmUI\Models\Stable-Diffusion 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path vae D:\My Stuff\Extra Stuff\SwarmUI\Models\VAE 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path vae D:\My Stuff\Extra Stuff\SwarmUI\Models\VAE 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path loras D:\My Stuff\Extra Stuff\SwarmUI\Models\Lora 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path loras D:\My Stuff\Extra Stuff\SwarmUI\Models\Lora 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path loras D:\My Stuff\Extra Stuff\SwarmUI\Models\LyCORIS 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path upscale_models D:\My Stuff\Extra Stuff\SwarmUI\Models\ESRGAN 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path upscale_models D:\My Stuff\Extra Stuff\SwarmUI\Models\RealESRGAN 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path upscale_models D:\My Stuff\Extra Stuff\SwarmUI\Models\SwinIR 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path upscale_models D:\My Stuff\Extra Stuff\SwarmUI\Models\upscale-models 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path upscale_models D:\My Stuff\Extra Stuff\SwarmUI\Models\upscale_models 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path embeddings D:\My Stuff\Extra Stuff\SwarmUI\Models\Embeddings 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path embeddings D:\My Stuff\Extra Stuff\SwarmUI\Models\embeddings 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path hypernetworks D:\My Stuff\Extra Stuff\SwarmUI\Models\hypernetworks 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path controlnet D:\My Stuff\Extra Stuff\SwarmUI\Models\controlnet 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path controlnet D:\My Stuff\Extra Stuff\SwarmUI\Models\ControlNet 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path clip_vision D:\My Stuff\Extra Stuff\SwarmUI\Models\clip_vision 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path clip_vision D:\My Stuff\Extra Stuff\SwarmUI\Models\clip_vision 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path custom_nodes D:\My Stuff\Extra Stuff\SwarmUI\src\BuiltinExtensions\ComfyUIBackend\DLNodes 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path custom_nodes D:\My Stuff\Extra Stuff\SwarmUI\src\BuiltinExtensions\ComfyUIBackend\ExtraNodes 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path clip D:\My Stuff\Extra Stuff\SwarmUI\Models\clip 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path unet D:\My Stuff\Extra Stuff\SwarmUI\Models\unet 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path diffusion_models D:\My Stuff\Extra Stuff\SwarmUI\Models\diffusion_models 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path gligen D:\My Stuff\Extra Stuff\SwarmUI\Models\gligen 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path ipadapter D:\My Stuff\Extra Stuff\SwarmUI\Models\ipadapter 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path yolov8 D:\My Stuff\Extra Stuff\SwarmUI\Models\yolov8 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path tensorrt D:\My Stuff\Extra Stuff\SwarmUI\Models\tensorrt 2024-09-07 00:14:03,438 - root - INFO - Adding extra search path clipseg D:\My Stuff\Extra Stuff\SwarmUI\Models\clipseg 2024-09-07 00:14:06,517 - root - INFO - Import times for custom nodes: 2024-09-07 00:14:06,517 - root - INFO - 0.0 seconds: D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\websocket_image_save.py 2024-09-07 00:14:06,517 - root - INFO - 0.0 seconds: D:\My Stuff\Extra Stuff\SwarmUI\src\BuiltinExtensions\ComfyUIBackend\DLNodes\sd-dynamic-thresholding 2024-09-07 00:14:06,517 - root - INFO - 0.0 seconds: D:\My Stuff\Extra Stuff\SwarmUI\src\BuiltinExtensions\ComfyUIBackend\DLNodes\ComfyUI-SAI_API 2024-09-07 00:14:06,517 - root - INFO - 0.0 seconds: D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI-Custom-Scripts 2024-09-07 00:14:06,517 - root - INFO - 0.0 seconds: D:\My Stuff\Extra Stuff\SwarmUI\src\BuiltinExtensions\ComfyUIBackend\DLNodes\ComfyUI-GGUF 2024-09-07 00:14:06,517 - root - INFO - 0.0 seconds: D:\My Stuff\Extra Stuff\SwarmUI\src\BuiltinExtensions\ComfyUIBackend\DLNodes\ComfyUI_bitsandbytes_NF4 2024-09-07 00:14:06,517 - root - INFO - 0.1 seconds: D:\My Stuff\Extra Stuff\SwarmUI\src\BuiltinExtensions\ComfyUIBackend\DLNodes\ComfyUI_TensorRT 2024-09-07 00:14:06,517 - root - INFO - 0.1 seconds: D:\My Stuff\Extra Stuff\SwarmUI\src\BuiltinExtensions\ComfyUIBackend\ExtraNodes\SwarmComfyCommon 2024-09-07 00:14:06,517 - root - INFO - 0.3 seconds: D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\ComfyUI-Manager 2024-09-07 00:14:06,517 - root - INFO - 0.5 seconds: D:\My Stuff\Extra Stuff\SwarmUI\src\BuiltinExtensions\ComfyUIBackend\DLNodes\comfyui_controlnet_aux 2024-09-07 00:14:06,517 - root - INFO - 0.6 seconds: D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\comfy-mecha 2024-09-07 00:14:06,517 - root - INFO - 0.9 seconds: D:\My Stuff\Extra Stuff\SwarmUI\src\BuiltinExtensions\ComfyUIBackend\ExtraNodes\SwarmComfyExtra 2024-09-07 00:14:06,517 - root - INFO - 2024-09-07 00:14:06,527 - root - INFO - Starting server

2024-09-07 00:14:06,527 - root - INFO - To see the GUI go to: http://127.0.0.1:7821 2024-09-07 00:14:40,021 - root - INFO - got prompt 2024-09-07 00:14:41,346 - root - ERROR - !!! Exception during processing !!! Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu! 2024-09-07 00:14:41,346 - root - ERROR - Traceback (most recent call last): File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 317, 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:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 192, 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:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 158, in process_inputs results.append(getattr(obj, func)(inputs)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\comfy-mecha\nodes\merge_nodes.py", line 194, in execute merger.merge_and_save( File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_merger.py", line 107, in merge_and_save raise future.exception() File "concurrent\futures\thread.py", line 58, in run File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_merger.py", line 176, in thread_context return f(*args, *kwargs) ^^^^^^^^^^^^^^^^^^ File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_merger.py", line 150, in track_progress res = f(args, kwargs) ^^^^^^^^^^^^^^^^^^ File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_merger.py", line 166, in track_output output[key] = f(args, kwargs).to(to_kwargs) ^^^^^^^^^^^^^^^^^^ File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\model_detection.py", line 125, in merge_and_save return self.recipe.accept(key_merger) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_nodes.py", line 118, in accept return visitor.visit_merge(self, args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\model_detection.py", line 171, in visit_merge self.visit_deeper_first(node.models, merged), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\model_detection.py", line 192, in visit_deeper_first merged[index] = nodes[index].accept(self) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_nodes.py", line 118, in accept return visitor.visit_merge(self, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\model_detection.py", line 171, in visit_merge self.visit_deeper_first(node.models, merged), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\model_detection.py", line 192, in visit_deeper_first merged[index] = nodes[index].accept(self) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_nodes.py", line 118, in accept return visitor.visit_merge(self, *args, kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\model_detection.py", line 170, in visit_merge return node.merge_method( ^^^^^^^^^^^^^^^^^^ File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\extensions\merge_method.py", line 45, in call return self.__f(*args, *kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\merge_methods__init__.py", line 660, in ties_sum_with_dropout deltas = [delta torch.bernoulli(torch.full(delta.shape, 1 - probability)) for delta in deltas] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\merge_methods__init__.py", line 660, in deltas = [delta * torch.bernoulli(torch.full(delta.shape, 1 - probability)) for delta in deltas]


RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!

2024-09-07 00:14:41,346 - root - INFO - Prompt executed in 1.28 seconds
2024-09-07 00:14:54,106 - root - INFO - got prompt
2024-09-07 00:14:55,089 - root - ERROR - !!! Exception during processing !!! Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
2024-09-07 00:14:55,089 - root - ERROR - Traceback (most recent call last):
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 317, 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:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 192, 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:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\comfy-mecha\nodes\merge_nodes.py", line 194, in execute
    merger.merge_and_save(
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_merger.py", line 107, in merge_and_save
    raise future.exception()
  File "concurrent\futures\thread.py", line 58, in run
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_merger.py", line 176, in thread_context
    return f(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_merger.py", line 150, in track_progress
    res = f(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_merger.py", line 166, in track_output
    output[key] = f(*args, **kwargs).to(**to_kwargs)
                  ^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\model_detection.py", line 125, in merge_and_save
    return self.recipe.accept(key_merger)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_nodes.py", line 118, in accept
    return visitor.visit_merge(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\model_detection.py", line 171, in visit_merge
    self.__visit_deeper_first(node.models, merged),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\model_detection.py", line 192, in __visit_deeper_first
    merged[index] = nodes[index].accept(self)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_nodes.py", line 118, in accept
    return visitor.visit_merge(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\model_detection.py", line 171, in visit_merge
    self.__visit_deeper_first(node.models, merged),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\model_detection.py", line 192, in __visit_deeper_first
    merged[index] = nodes[index].accept(self)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_nodes.py", line 118, in accept
    return visitor.visit_merge(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\model_detection.py", line 170, in visit_merge
    return node.merge_method(
           ^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\extensions\merge_method.py", line 45, in __call__
    return self.__f(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\merge_methods\__init__.py", line 660, in ties_sum_with_dropout
    deltas = [delta * torch.bernoulli(torch.full(delta.shape, 1 - probability)) for delta in deltas]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\merge_methods\__init__.py", line 660, in <listcomp>
    deltas = [delta * torch.bernoulli(torch.full(delta.shape, 1 - probability)) for delta in deltas]
              ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!

2024-09-07 00:14:55,096 - root - INFO - Prompt executed in 0.94 seconds
2024-09-07 00:15:18,606 - root - INFO - got prompt
2024-09-07 00:15:19,608 - root - ERROR - !!! Exception during processing !!! Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
2024-09-07 00:15:19,608 - root - ERROR - Traceback (most recent call last):
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 317, 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:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 192, 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:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\comfy-mecha\nodes\merge_nodes.py", line 194, in execute
    merger.merge_and_save(
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_merger.py", line 107, in merge_and_save
    raise future.exception()
  File "concurrent\futures\thread.py", line 58, in run
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_merger.py", line 176, in thread_context
    return f(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_merger.py", line 150, in track_progress
    res = f(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_merger.py", line 166, in track_output
    output[key] = f(*args, **kwargs).to(**to_kwargs)
                  ^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\model_detection.py", line 125, in merge_and_save
    return self.recipe.accept(key_merger)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_nodes.py", line 118, in accept
    return visitor.visit_merge(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\model_detection.py", line 171, in visit_merge
    self.__visit_deeper_first(node.models, merged),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\model_detection.py", line 192, in __visit_deeper_first
    merged[index] = nodes[index].accept(self)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_nodes.py", line 118, in accept
    return visitor.visit_merge(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\model_detection.py", line 171, in visit_merge
    self.__visit_deeper_first(node.models, merged),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\model_detection.py", line 192, in __visit_deeper_first
    merged[index] = nodes[index].accept(self)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_nodes.py", line 118, in accept
    return visitor.visit_merge(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\model_detection.py", line 170, in visit_merge
    return node.merge_method(
           ^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\extensions\merge_method.py", line 45, in __call__
    return self.__f(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\merge_methods\__init__.py", line 660, in ties_sum_with_dropout
    deltas = [delta * torch.bernoulli(torch.full(delta.shape, 1 - probability)) for delta in deltas]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\merge_methods\__init__.py", line 660, in <listcomp>
    deltas = [delta * torch.bernoulli(torch.full(delta.shape, 1 - probability)) for delta in deltas]
              ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!

2024-09-07 00:15:19,608 - root - INFO - Prompt executed in 0.95 seconds
2024-09-07 00:15:39,715 - root - INFO - got prompt
2024-09-07 00:15:40,665 - root - ERROR - !!! Exception during processing !!! Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
2024-09-07 00:15:40,665 - root - ERROR - Traceback (most recent call last):
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 317, 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:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 192, 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:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 169, in _map_node_over_list
    process_inputs(input_dict, i)
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\execution.py", line 158, in process_inputs
    results.append(getattr(obj, func)(**inputs))
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\ComfyUI\custom_nodes\comfy-mecha\nodes\merge_nodes.py", line 194, in execute
    merger.merge_and_save(
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_merger.py", line 107, in merge_and_save
    raise future.exception()
  File "concurrent\futures\thread.py", line 58, in run
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_merger.py", line 176, in thread_context
    return f(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_merger.py", line 150, in track_progress
    res = f(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_merger.py", line 166, in track_output
    output[key] = f(*args, **kwargs).to(**to_kwargs)
                  ^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\model_detection.py", line 125, in merge_and_save
    return self.recipe.accept(key_merger)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_nodes.py", line 118, in accept
    return visitor.visit_merge(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\model_detection.py", line 171, in visit_merge
    self.__visit_deeper_first(node.models, merged),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\model_detection.py", line 192, in __visit_deeper_first
    merged[index] = nodes[index].accept(self)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_nodes.py", line 118, in accept
    return visitor.visit_merge(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\model_detection.py", line 171, in visit_merge
    self.__visit_deeper_first(node.models, merged),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\model_detection.py", line 192, in __visit_deeper_first
    merged[index] = nodes[index].accept(self)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\recipe_nodes.py", line 118, in accept
    return visitor.visit_merge(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\model_detection.py", line 170, in visit_merge
    return node.merge_method(
           ^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\extensions\merge_method.py", line 45, in __call__
    return self.__f(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\merge_methods\__init__.py", line 660, in ties_sum_with_dropout
    deltas = [delta * torch.bernoulli(torch.full(delta.shape, 1 - probability)) for delta in deltas]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "D:\My Stuff\Extra Stuff\SwarmUI\dlbackend\comfy\python_embeded\Lib\site-packages\sd_mecha\merge_methods\__init__.py", line 660, in <listcomp>
    deltas = [delta * torch.bernoulli(torch.full(delta.shape, 1 - probability)) for delta in deltas]
              ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!

2024-09-07 00:15:40,665 - root - INFO - Prompt executed in 0.90 seconds
```
## Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
```
{"last_node_id":24,"last_link_id":31,"nodes":[{"id":6,"type":"Float Mecha Hyper","pos":{"0":780,"1":80},"size":{"0":315,"1":58},"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"hyper","type":"MECHA_HYPER","links":[2],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"Float Mecha Hyper"},"widgets_values":[0.1],"color":"#222","bgcolor":"#000"},{"id":8,"type":"Float Mecha Hyper","pos":{"0":780,"1":218},"size":{"0":315,"1":58},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"hyper","type":"MECHA_HYPER","links":[4],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"Float Mecha Hyper"},"widgets_values":[240830],"color":"#222","bgcolor":"#000"},{"id":2,"type":"Model Mecha Recipe","pos":{"0":50,"1":80},"size":{"0":315,"1":82},"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"recipe","type":"MECHA_RECIPE","links":[18],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"Model Mecha Recipe"},"widgets_values":["4thTailAnimeHentai_v045.safetensors","sdxl"],"color":"#223","bgcolor":"#335"},{"id":1,"type":"Model Mecha Recipe","pos":{"0":1590.39990234375,"1":80},"size":{"0":315,"1":82},"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[{"name":"recipe","type":"MECHA_RECIPE","links":[23],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"Model Mecha Recipe"},"widgets_values":["nai3likediffusion_v10.safetensors","sdxl"],"color":"#223","bgcolor":"#335"},{"id":7,"type":"Float Mecha Hyper","pos":{"0":780,"1":357},"size":{"0":315,"1":58},"flags":{},"order":4,"mode":0,"inputs":[],"outputs":[{"name":"hyper","type":"MECHA_HYPER","links":[3,9,10,25],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"Float Mecha Hyper"},"widgets_values":[1],"color":"#222","bgcolor":"#000"},{"id":15,"type":"Model Mecha Recipe","pos":{"0":50,"1":242},"size":{"0":315,"1":82},"flags":{},"order":5,"mode":0,"inputs":[],"outputs":[{"name":"recipe","type":"MECHA_RECIPE","links":[19,20,26],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"Model Mecha Recipe"},"widgets_values":["sd_xl_base_1.0.safetensors","sdxl"],"color":"#223","bgcolor":"#335"},{"id":18,"type":"Mecha Recipe List","pos":{"0":780,"1":497},"size":{"0":315,"1":78},"flags":{},"order":9,"mode":0,"inputs":[{"name":"recipe_0","type":"MECHA_RECIPE","link":21},{"name":"recipe_1","type":"MECHA_RECIPE","link":28}],"outputs":[{"name":"recipes","type":"MECHA_RECIPE_LIST","links":[22],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"Mecha Recipe List"},"widgets_values":[2],"color":"#432","bgcolor":"#653"},{"id":24,"type":"ShowText|pysssss","pos":{"0":2743.199951171875,"1":80},"size":{"0":315,"1":58},"flags":{},"order":14,"mode":0,"inputs":[{"name":"text","type":"STRING","link":31,"widget":{"name":"text"}}],"outputs":[{"name":"STRING","type":"STRING","links":null,"shape":6}],"properties":{"Node name for S&R":"ShowText|pysssss"},"widgets_values":[""]},{"id":20,"type":"Model Mecha Recipe","pos":{"0":50,"1":405},"size":{"0":315,"1":82},"flags":{},"order":6,"mode":0,"inputs":[],"outputs":[{"name":"recipe","type":"MECHA_RECIPE","links":[27],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"Model Mecha Recipe"},"widgets_values":["realvisxlV40_v40LightningBakedvae.safetensors","sdxl"],"color":"#223","bgcolor":"#335"},{"id":3,"type":"Ties Sum With Dropout Mecha Recipe","pos":{"0":1145,"1":80},"size":{"0":342.5999755859375,"1":302},"flags":{},"order":10,"mode":0,"inputs":[{"name":"deltas (delta space)","type":"MECHA_RECIPE_LIST","link":22},{"name":"apply_median (0.0)","type":"MECHA_HYPER","link":10},{"name":"apply_stock (0.0)","type":"MECHA_HYPER","link":null},{"name":"cos_eps (1e-06)","type":"MECHA_HYPER","link":null},{"name":"eps (1e-06)","type":"MECHA_HYPER","link":null},{"name":"ftol (1e-20)","type":"MECHA_HYPER","link":null},{"name":"k (0.2)","type":"MECHA_HYPER","link":2},{"name":"maxiter (100)","type":"MECHA_HYPER","link":null},{"name":"no_rescale (0.0)","type":"MECHA_HYPER","link":9},{"name":"probability (0.9)","type":"MECHA_HYPER","link":null},{"name":"seed (-1)","type":"MECHA_HYPER","link":4},{"name":"vote_sgn (0.0)","type":"MECHA_HYPER","link":3}],"outputs":[{"name":"recipe","type":"MECHA_RECIPE","links":[11],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"Ties Sum With Dropout Mecha Recipe"},"widgets_values":["cuda:0","default"],"color":"#432","bgcolor":"#653"},{"id":16,"type":"Subtract Mecha Recipe","pos":{"0":415,"1":80},"size":{"0":315,"1":102},"flags":{},"order":7,"mode":0,"inputs":[{"name":"a (weight space)","type":"MECHA_RECIPE","link":18},{"name":"b (weight space)","type":"MECHA_RECIPE","link":19}],"outputs":[{"name":"recipe","type":"MECHA_RECIPE","links":[21],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"Subtract Mecha Recipe"},"widgets_values":["cuda:0","default"],"color":"#322","bgcolor":"#533"},{"id":21,"type":"Subtract Mecha Recipe","pos":{"0":415,"1":262},"size":{"0":315,"1":102},"flags":{},"order":8,"mode":0,"inputs":[{"name":"a (weight space)","type":"MECHA_RECIPE","link":27},{"name":"b (weight space)","type":"MECHA_RECIPE","link":26}],"outputs":[{"name":"recipe","type":"MECHA_RECIPE","links":[28],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"Subtract Mecha Recipe"},"widgets_values":["cuda:0","default"],"color":"#322","bgcolor":"#533"},{"id":13,"type":"Add Difference Mecha Recipe","pos":{"0":1537.5999755859375,"1":242},"size":{"0":367.79998779296875,"1":122},"flags":{},"order":11,"mode":0,"inputs":[{"name":"a (weight|delta space)","type":"MECHA_RECIPE","link":20},{"name":"b (delta space)","type":"MECHA_RECIPE","link":11},{"name":"alpha (1.0)","type":"MECHA_HYPER","link":null}],"outputs":[{"name":"recipe","type":"MECHA_RECIPE","links":[24],"shape":3}],"properties":{"Node name for S&R":"Add Difference Mecha Recipe"},"widgets_values":["cuda:0","default"],"color":"#232","bgcolor":"#353"},{"id":19,"type":"Weighted Sum Mecha Recipe","pos":{"0":1955.39990234375,"1":80},"size":{"0":367.79998779296875,"1":122},"flags":{},"order":12,"mode":0,"inputs":[{"name":"a (weight|delta space)","type":"MECHA_RECIPE","link":23},{"name":"b (weight|delta space)","type":"MECHA_RECIPE","link":24},{"name":"alpha (0.5)","type":"MECHA_HYPER","link":25}],"outputs":[{"name":"recipe","type":"MECHA_RECIPE","links":[29],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"Weighted Sum Mecha Recipe"},"widgets_values":["cuda:0","default"],"color":"#232","bgcolor":"#353"},{"id":22,"type":"Mecha Merger","pos":{"0":2373.199951171875,"1":80},"size":{"0":320,"1":290},"flags":{},"order":13,"mode":0,"inputs":[{"name":"recipe","type":"MECHA_RECIPE","link":29}],"outputs":[{"name":"MODEL","type":"MODEL","links":null,"shape":3},{"name":"CLIP","type":"CLIP","links":null,"shape":3},{"name":"recipe_txt","type":"STRING","links":[31],"slot_index":2,"shape":3}],"properties":{"Node name for S&R":"Mecha Merger"},"widgets_values":["none","cuda:0","fp64","cuda:0","fp16","0.5G",0,true]}],"links":[[2,6,0,3,6,"MECHA_HYPER"],[3,7,0,3,11,"MECHA_HYPER"],[4,8,0,3,10,"MECHA_HYPER"],[9,7,0,3,8,"MECHA_HYPER"],[10,7,0,3,1,"MECHA_HYPER"],[11,3,0,13,1,"MECHA_RECIPE"],[18,2,0,16,0,"MECHA_RECIPE"],[19,15,0,16,1,"MECHA_RECIPE"],[20,15,0,13,0,"MECHA_RECIPE"],[21,16,0,18,0,"MECHA_RECIPE"],[22,18,0,3,0,"MECHA_RECIPE_LIST"],[23,1,0,19,0,"MECHA_RECIPE"],[24,13,0,19,1,"MECHA_RECIPE"],[25,7,0,19,2,"MECHA_HYPER"],[26,15,0,21,1,"MECHA_RECIPE"],[27,20,0,21,0,"MECHA_RECIPE"],[28,21,0,18,1,"MECHA_RECIPE"],[29,19,0,22,0,"MECHA_RECIPE"],[31,22,2,24,0,"STRING"]],"groups":[],"config":{},"extra":{"ds":{"scale":0.7513148009015777,"offset":[-1085.2790000000005,131.82400000000007]}},"version":0.4}
```

## Additional Context
Error thrown despite all nodes set to cuda:0.
`def ties_sum_with_dropout` in `sd-mecha` doesn't seem to have a `.device` compared to `def dropout`.
ljleb commented 2 months ago

Thanks for the detailed report. It should be fixed as of the version 0.0.26 of the backing lib. Let me know if the error persists or something related does not work as intended.