brianfitzgerald / style_aligned_comfy

MIT License
286 stars 16 forks source link

StyleAlignedReferenceSampler.patch() got an unexpected keyword argument 'ref_latent' #26

Open enslaved2die opened 2 weeks ago

enslaved2die commented 2 weeks ago

Title says everything. I got this from the example workflow

enslaved2die commented 2 weeks ago

`# ComfyUI Error Report

Error Details

## System Information
- **ComfyUI Version:** v0.2.7-22-g122c9ca
- **Arguments:** main.py --port 7834 --extra-model-paths-config /opt/ai/StableSwarmUI/Data/comfy-auto-model.yaml --preview-method latent2rgb --front-end-version Comfy-Org/ComfyUI_frontend@v1.2.47
- **OS:** posix
- **Python Version:** 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
- **Embedded Python:** false
- **PyTorch Version:** 2.2.2+cu121
## Devices

- **Name:** cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync
  - **Type:** cuda
  - **VRAM Total:** 25363087360
  - **VRAM Free:** 16885003234
  - **Torch VRAM Total:** 6979321856
  - **Torch VRAM Free:** 6861794

## Logs

2024-11-19T14:23:37.073258 - [START] Security scan2024-11-19T14:23:37.073269 - 2024-11-19T14:23:37.510555 - [DONE] Security scan2024-11-19T14:23:37.510567 - 2024-11-19T14:23:37.531484 - ## ComfyUI-Manager: installing dependencies done.2024-11-19T14:23:37.531499 - 2024-11-19T14:23:37.531506 - ComfyUI startup time:2024-11-19T14:23:37.531512 - 2024-11-19T14:23:37.531519 - 2024-11-19 14:23:37.5315022024-11-19T14:23:37.531525 - 2024-11-19T14:23:37.531532 - Platform:2024-11-19T14:23:37.531537 - 2024-11-19T14:23:37.531543 - Linux2024-11-19T14:23:37.531548 - 2024-11-19T14:23:37.531554 - Python version:2024-11-19T14:23:37.531559 - 2024-11-19T14:23:37.531565 - 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]2024-11-19T14:23:37.531570 - 2024-11-19T14:23:37.531576 - Python executable:2024-11-19T14:23:37.531582 - 2024-11-19T14:23:37.531587 - /opt/ai/StableSwarmUI/dlbackend/ComfyUI/venv/bin/python32024-11-19T14:23:37.531593 - 2024-11-19T14:23:37.531598 - ComfyUI Path:2024-11-19T14:23:37.531603 - 2024-11-19T14:23:37.531609 - /opt/ai/StableSwarmUI/dlbackend/ComfyUI2024-11-19T14:23:37.531614 - 2024-11-19T14:23:37.531628 - Log path:2024-11-19T14:23:37.531633 - 2024-11-19T14:23:37.531639 - /opt/ai/StableSwarmUI/dlbackend/ComfyUI/comfyui.log2024-11-19T14:23:37.531645 - 2024-11-19T14:23:37.534631 - #######################################################################2024-11-19T14:23:37.534642 - 2024-11-19T14:23:37.534650 - [ComfyUI-Manager] Starting dependency installation/(de)activation for the extension 2024-11-19T14:23:37.534656 - 2024-11-19T14:23:37.534744 - [ComfyUI-Manager] Startup script completed.2024-11-19T14:23:37.534752 - 2024-11-19T14:23:37.534758 - ####################################################################### 2024-11-19T14:23:37.534764 - 2024-11-19T14:23:37.534869 - Prestartup times for custom nodes:2024-11-19T14:23:37.534876 - 2024-11-19T14:23:37.534886 - 0.0 seconds:2024-11-19T14:23:37.534892 - 2024-11-19T14:23:37.534897 - /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/rgthree-comfy2024-11-19T14:23:37.534902 - 2024-11-19T14:23:37.534908 - 0.0 seconds:2024-11-19T14:23:37.534914 - 2024-11-19T14:23:37.534924 - /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/ComfyUI-Marigold2024-11-19T14:23:37.534929 - 2024-11-19T14:23:37.534935 - 0.5 seconds:2024-11-19T14:23:37.534941 - 2024-11-19T14:23:37.534951 - /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/ComfyUI-Manager2024-11-19T14:23:37.534956 - 2024-11-19T14:23:37.534962 - 2024-11-19T14:23:38.157308 - Total VRAM 24188 MB, total RAM 63500 MB 2024-11-19T14:23:38.157374 - pytorch version: 2.2.2+cu121 2024-11-19T14:23:38.157488 - Set vram state to: NORMAL_VRAM 2024-11-19T14:23:38.157536 - Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync 2024-11-19T14:23:38.573516 - Using pytorch cross attention 2024-11-19T14:23:38.814455 - Using existing copy of specific frontend version tag: Comfy-Org/ComfyUI_frontend@v1.2.47 2024-11-19T14:23:38.814506 - [Prompt Server] web root: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/web_custom_versions/Comfy-Org_ComfyUI_frontend/1.2.47 2024-11-19T14:23:38.815661 - Adding extra search path checkpoints /opt/ai/StableSwarmUI/Models/Stable-Diffusion 2024-11-19T14:23:38.815693 - Adding extra search path vae /opt/ai/StableSwarmUI/Models/VAE 2024-11-19T14:23:38.815713 - Adding extra search path loras /opt/ai/StableSwarmUI/Models/Lora 2024-11-19T14:23:38.815729 - Adding extra search path loras /opt/ai/StableSwarmUI/Models/LyCORIS 2024-11-19T14:23:38.815745 - Adding extra search path upscale_models /opt/ai/StableSwarmUI/Models/ESRGAN 2024-11-19T14:23:38.815761 - Adding extra search path upscale_models /opt/ai/StableSwarmUI/Models/RealESRGAN 2024-11-19T14:23:38.815777 - Adding extra search path upscale_models /opt/ai/StableSwarmUI/Models/SwinIR 2024-11-19T14:23:38.815792 - Adding extra search path upscale_models /opt/ai/StableSwarmUI/Models/upscale-models 2024-11-19T14:23:38.815806 - Adding extra search path upscale_models /opt/ai/StableSwarmUI/Models/upscale_models 2024-11-19T14:23:38.815820 - Adding extra search path embeddings /opt/ai/StableSwarmUI/Models/Embeddings 2024-11-19T14:23:38.815834 - Adding extra search path embeddings /opt/ai/StableSwarmUI/Models/embeddings 2024-11-19T14:23:38.815847 - Adding extra search path hypernetworks /opt/ai/StableSwarmUI/Models/hypernetworks 2024-11-19T14:23:38.815862 - Adding extra search path controlnet /opt/ai/StableSwarmUI/Models/controlnet 2024-11-19T14:23:38.815875 - Adding extra search path controlnet /opt/ai/StableSwarmUI/Models/ControlNet 2024-11-19T14:23:38.815889 - Adding extra search path clip /opt/ai/StableSwarmUI/Models/clip 2024-11-19T14:23:38.815903 - Adding extra search path clip /opt/ai/StableSwarmUI/Models/CLIP 2024-11-19T14:23:38.815916 - Adding extra search path clip_vision /opt/ai/StableSwarmUI/Models/clip_vision 2024-11-19T14:23:38.815931 - Adding extra search path custom_nodes /opt/ai/StableSwarmUI/src/BuiltinExtensions/ComfyUIBackend/DLNodes 2024-11-19T14:23:38.815944 - Adding extra search path custom_nodes /opt/ai/StableSwarmUI/src/BuiltinExtensions/ComfyUIBackend/ExtraNodes 2024-11-19T14:23:38.815958 - Adding extra search path unet /opt/ai/StableSwarmUI/Models/unet 2024-11-19T14:23:38.815972 - Adding extra search path diffusion_models /opt/ai/StableSwarmUI/Models/diffusion_models 2024-11-19T14:23:38.815992 - Adding extra search path gligen /opt/ai/StableSwarmUI/Models/gligen 2024-11-19T14:23:38.816006 - Adding extra search path ipadapter /opt/ai/StableSwarmUI/Models/ipadapter 2024-11-19T14:23:38.816021 - Adding extra search path yolov8 /opt/ai/StableSwarmUI/Models/yolov8 2024-11-19T14:23:38.816035 - Adding extra search path tensorrt /opt/ai/StableSwarmUI/Models/tensorrt 2024-11-19T14:23:38.816048 - Adding extra search path clipseg /opt/ai/StableSwarmUI/Models/clipseg 2024-11-19T14:23:38.816062 - Adding extra search path luts /opt/ai/StableSwarmUI/Models/luts 2024-11-19T14:23:39.135719 - /opt/ai/StableSwarmUI/dlbackend/ComfyUI/venv/lib/python3.10/site-packages/numba/np/ufunc/parallel.py:371: NumbaWarning: The TBB threading layer requires TBB version 2021 update 6 or later i.e., TBB_INTERFACE_VERSION >= 12060. Found TBB_INTERFACE_VERSION = 12050. The TBB threading layer is disabled. warnings.warn(problem) 2024-11-19T14:23:39.956761 - [ReActor] - STATUS - Running v0.5.1-b2 in ComfyUI2024-11-19T14:23:39.956782 - 2024-11-19T14:23:39.967280 - Torch version: 2.2.2+cu1212024-11-19T14:23:39.967295 - 2024-11-19T14:23:40.054705 - Total VRAM 24188 MB, total RAM 63500 MB 2024-11-19T14:23:40.054763 - pytorch version: 2.2.2+cu121 2024-11-19T14:23:40.054866 - Set vram state to: NORMAL_VRAM 2024-11-19T14:23:40.054906 - Device: cuda:0 NVIDIA GeForce RTX 4090 : cudaMallocAsync 2024-11-19T14:23:40.066051 - ### Loading: ComfyUI-Impact-Pack (V7.10.6)2024-11-19T14:23:40.066067 - 2024-11-19T14:23:40.090534 - ### Loading: ComfyUI-Impact-Pack (Subpack: V0.7)2024-11-19T14:23:40.090549 - 2024-11-19T14:23:40.099991 - [Impact Pack] Wildcards loading done.2024-11-19T14:23:40.100022 - 2024-11-19T14:23:40.161848 - FaceDetailer: Model directory already exists2024-11-19T14:23:40.161866 - 2024-11-19T14:23:40.161900 - FaceDetailer: Model already exists2024-11-19T14:23:40.161908 - 2024-11-19T14:23:40.162639 - ### Loading: ComfyUI-Manager (V2.51.9)2024-11-19T14:23:40.162651 - 2024-11-19T14:23:40.179055 - ### ComfyUI Revision: 2830 [122c9ca1] | Released on '2024-11-14'2024-11-19T14:23:40.179067 - 2024-11-19T14:23:40.185458 - 2024-11-19T14:23:40.185478 - [rgthree-comfy] Loaded 42 fantastic nodes. 🎉2024-11-19T14:23:40.185487 - 2024-11-19T14:23:40.185497 - 2024-11-19T14:23:40.211443 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json2024-11-19T14:23:40.211460 - 2024-11-19T14:23:40.222498 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json2024-11-19T14:23:40.222513 - 2024-11-19T14:23:40.238587 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json2024-11-19T14:23:40.238603 - 2024-11-19T14:23:40.246286 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json2024-11-19T14:23:40.246300 - 2024-11-19T14:23:40.326251 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json2024-11-19T14:23:40.326268 - 2024-11-19T14:23:40.489440 - [comfyui_controlnet_aux] | INFO -> Using ckpts path: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts 2024-11-19T14:23:40.489486 - [comfyui_controlnet_aux] | INFO -> Using symlinks: False 2024-11-19T14:23:40.489519 - [comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider'] 2024-11-19T14:23:40.495268 - [WAS Extras] Loading extra custom nodes...2024-11-19T14:23:40.495285 - 2024-11-19T14:23:40.495802 - [WAS Extras] Import times for extras:2024-11-19T14:23:40.495814 - 2024-11-19T14:23:40.495826 - 0.0 seconds: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/WAS_Extras/ConditioningBlend.py2024-11-19T14:23:40.495837 - 2024-11-19T14:23:40.495846 - 0.0 seconds: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/WAS_Extras/DebugThis.py2024-11-19T14:23:40.495853 - 2024-11-19T14:23:40.495862 - 0.0 seconds: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/WAS_Extras/VAEEncodeForInpaint.py2024-11-19T14:23:40.495869 - 2024-11-19T14:23:40.495877 - 0.0 seconds: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/WAS_Extras/VividSharpen.py2024-11-19T14:23:40.495885 - 2024-11-19T14:23:40.495893 - 0.0 seconds: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/WAS_Extras/ksampler_sequence.py2024-11-19T14:23:40.495900 - 2024-11-19T14:23:40.495913 - 0.0 seconds: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/WAS_Extras/BLVaeEncode.py2024-11-19T14:23:40.495921 - 2024-11-19T14:23:40.496016 - ### Loading: ComfyUI-Inspire-Pack (V0.84)2024-11-19T14:23:40.496024 - 2024-11-19T14:23:40.526825 - Import times for custom nodes: 2024-11-19T14:23:40.526873 - 0.0 seconds: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/websocket_image_save.py 2024-11-19T14:23:40.526900 - 0.0 seconds: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/style_aligned_comfy 2024-11-19T14:23:40.526921 - 0.0 seconds: /opt/ai/StableSwarmUI/src/BuiltinExtensions/ComfyUIBackend/DLNodes/sd-dynamic-thresholding 2024-11-19T14:23:40.526940 - 0.0 seconds: /opt/ai/StableSwarmUI/src/BuiltinExtensions/ComfyUIBackend/DLNodes/ComfyUI-SAI_API 2024-11-19T14:23:40.526957 - 0.0 seconds: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/WAS_Extras 2024-11-19T14:23:40.526974 - 0.0 seconds: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/ComfyUI-HF 2024-11-19T14:23:40.526992 - 0.0 seconds: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/ComfyMath 2024-11-19T14:23:40.527009 - 0.0 seconds: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/ComfyUI_UltimateSDUpscale 2024-11-19T14:23:40.527026 - 0.0 seconds: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/ComfyUI_IPAdapter_plus 2024-11-19T14:23:40.527042 - 0.0 seconds: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/rgthree-comfy 2024-11-19T14:23:40.527058 - 0.0 seconds: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/comfyui_controlnet_aux 2024-11-19T14:23:40.527074 - 0.0 seconds: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/facerestore_cf 2024-11-19T14:23:40.527090 - 0.0 seconds: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/ComfyUI-Manager 2024-11-19T14:23:40.527106 - 0.0 seconds: /opt/ai/StableSwarmUI/src/BuiltinExtensions/ComfyUIBackend/DLNodes/ComfyUI_TensorRT 2024-11-19T14:23:40.527125 - 0.0 seconds: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/ComfyUI-Inspire-Pack 2024-11-19T14:23:40.527141 - 0.0 seconds: /opt/ai/StableSwarmUI/src/BuiltinExtensions/ComfyUIBackend/ExtraNodes/SwarmComfyCommon 2024-11-19T14:23:40.527157 - 0.0 seconds: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/ComfyUI-Impact-Pack 2024-11-19T14:23:40.527173 - 0.0 seconds: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/ComfyUI-Marigold 2024-11-19T14:23:40.527189 - 0.1 seconds: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/DZ-FaceDetailer 2024-11-19T14:23:40.527205 - 0.3 seconds: /opt/ai/StableSwarmUI/src/BuiltinExtensions/ComfyUIBackend/DLNodes/comfyui-propost 2024-11-19T14:23:40.527220 - 0.3 seconds: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/comfy_PoP 2024-11-19T14:23:40.527236 - 0.4 seconds: /opt/ai/StableSwarmUI/src/BuiltinExtensions/ComfyUIBackend/DLNodes/comfyui-reactor-node 2024-11-19T14:23:40.527252 - 0.4 seconds: /opt/ai/StableSwarmUI/src/BuiltinExtensions/ComfyUIBackend/ExtraNodes/SwarmComfyExtra 2024-11-19T14:23:40.527267 - 2024-11-19T14:23:40.531852 - Starting server

2024-11-19T14:23:40.531994 - To see the GUI go to: http://127.0.0.1:7834 2024-11-19T14:24:29.455675 - FETCH DATA from: /opt/ai/StableSwarmUI/dlbackend/ComfyUI/custom_nodes/ComfyUI-Manager/extension-node-map.json2024-11-19T14:24:29.455691 - 2024-11-19T14:24:29.457983 - [DONE]2024-11-19T14:24:29.458000 - 2024-11-19T14:24:41.270871 - got prompt 2024-11-19T14:24:41.275916 - !!! Exception during processing !!! Model in folder 'checkpoints' with filename 'sd_xl_base_1.0.safetensors' not found. 2024-11-19T14:24:41.285172 - Traceback (most recent call last): File "/opt/ai/StableSwarmUI/dlbackend/ComfyUI/execution.py", line 323, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "/opt/ai/StableSwarmUI/dlbackend/ComfyUI/execution.py", line 198, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "/opt/ai/StableSwarmUI/dlbackend/ComfyUI/execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "/opt/ai/StableSwarmUI/dlbackend/ComfyUI/execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) File "/opt/ai/StableSwarmUI/dlbackend/ComfyUI/nodes.py", line 548, in load_checkpoint ckpt_path = folder_paths.get_full_path_or_raise("checkpoints", ckpt_name) File "/opt/ai/StableSwarmUI/dlbackend/ComfyUI/folder_paths.py", line 280, in get_full_path_or_raise raise FileNotFoundError(f"Model in folder '{folder_name}' with filename '{filename}' not found.") FileNotFoundError: Model in folder 'checkpoints' with filename 'sd_xl_base_1.0.safetensors' not found.

2024-11-19T14:24:41.285459 - Prompt executed in 0.01 seconds 2024-11-19T14:24:52.462284 - got prompt 2024-11-19T14:24:52.536579 - model weight dtype torch.float16, manual cast: None 2024-11-19T14:24:52.537371 - model_type EPS 2024-11-19T14:24:52.913995 - Using pytorch attention in VAE 2024-11-19T14:24:52.914629 - Using pytorch attention in VAE 2024-11-19T14:24:53.344869 - Requested to load AutoencoderKL 2024-11-19T14:24:53.345023 - Loading 1 new model 2024-11-19T14:24:53.382831 - loaded completely 0.0 159.55708122253418 True 2024-11-19T14:24:53.763490 - Requested to load SDXLClipModel 2024-11-19T14:24:53.763600 - Loading 1 new model 2024-11-19T14:24:53.875005 - loaded completely 0.0 1560.802734375 True 2024-11-19T14:24:53.963358 - Requested to load SDXL 2024-11-19T14:24:53.963418 - Loading 1 new model 2024-11-19T14:24:54.287305 - loaded completely 0.0 4897.0483474731445 True 2024-11-19T14:24:56.039923 - 97%|█████████▋| 31/32 [00:01<00:00, 18.49it/s]2024-11-19T14:24:56.094018 - 100%|██████████| 32/32 [00:01<00:00, 17.79it/s]2024-11-19T14:24:56.094033 - 2024-11-19T14:24:56.148954 - !!! Exception during processing !!! StyleAlignedReferenceSampler.patch() got an unexpected keyword argument 'ref_latent' 2024-11-19T14:24:56.149073 - Traceback (most recent call last): File "/opt/ai/StableSwarmUI/dlbackend/ComfyUI/execution.py", line 323, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "/opt/ai/StableSwarmUI/dlbackend/ComfyUI/execution.py", line 198, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "/opt/ai/StableSwarmUI/dlbackend/ComfyUI/execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "/opt/ai/StableSwarmUI/dlbackend/ComfyUI/execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) TypeError: StyleAlignedReferenceSampler.patch() got an unexpected keyword argument 'ref_latent'

2024-11-19T14:24:56.149207 - Prompt executed in 3.69 seconds 2024-11-19T14:25:13.041309 - got prompt 2024-11-19T14:25:13.047393 - !!! Exception during processing !!! StyleAlignedReferenceSampler.patch() missing 2 required positional arguments: 'ref_positive' and 'ref_latents' 2024-11-19T14:25:13.047501 - Traceback (most recent call last): File "/opt/ai/StableSwarmUI/dlbackend/ComfyUI/execution.py", line 323, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "/opt/ai/StableSwarmUI/dlbackend/ComfyUI/execution.py", line 198, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "/opt/ai/StableSwarmUI/dlbackend/ComfyUI/execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "/opt/ai/StableSwarmUI/dlbackend/ComfyUI/execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) TypeError: StyleAlignedReferenceSampler.patch() missing 2 required positional arguments: 'ref_positive' and 'ref_latents'

2024-11-19T14:25:13.047635 - Prompt executed in 0.00 seconds 2024-11-19T14:25:22.025312 - got prompt 2024-11-19T14:25:22.032554 - !!! Exception during processing !!! StyleAlignedReferenceSampler.patch() got an unexpected keyword argument 'ref_latent' 2024-11-19T14:25:22.032690 - Traceback (most recent call last): File "/opt/ai/StableSwarmUI/dlbackend/ComfyUI/execution.py", line 323, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "/opt/ai/StableSwarmUI/dlbackend/ComfyUI/execution.py", line 198, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "/opt/ai/StableSwarmUI/dlbackend/ComfyUI/execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "/opt/ai/StableSwarmUI/dlbackend/ComfyUI/execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) TypeError: StyleAlignedReferenceSampler.patch() got an unexpected keyword argument 'ref_latent'

2024-11-19T14:25:22.032881 - Prompt executed in 0.01 seconds 2024-11-19T14:27:16.967748 - got prompt 2024-11-19T14:27:16.974647 - !!! Exception during processing !!! StyleAlignedReferenceSampler.patch() got an unexpected keyword argument 'ref_latent' 2024-11-19T14:27:16.974747 - Traceback (most recent call last): File "/opt/ai/StableSwarmUI/dlbackend/ComfyUI/execution.py", line 323, in execute output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "/opt/ai/StableSwarmUI/dlbackend/ComfyUI/execution.py", line 198, in get_output_data return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb) File "/opt/ai/StableSwarmUI/dlbackend/ComfyUI/execution.py", line 169, in _map_node_over_list process_inputs(input_dict, i) File "/opt/ai/StableSwarmUI/dlbackend/ComfyUI/execution.py", line 158, in process_inputs results.append(getattr(obj, func)(**inputs)) TypeError: StyleAlignedReferenceSampler.patch() got an unexpected keyword argument 'ref_latent'

2024-11-19T14:27:16.974911 - Prompt executed in 0.01 seconds

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

{"last_node_id":46,"last_link_id":151,"nodes":[{"id":13,"type":"FlipSigmas","pos":{"0":81,"1":907},"size":{"0":210,"1":26},"flags":{},"order":10,"mode":0,"inputs":[{"name":"sigmas","type":"SIGMAS","link":14,"slot_index":0}],"outputs":[{"name":"SIGMAS","type":"SIGMAS","links":[13],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"FlipSigmas"}},{"id":20,"type":"VAEEncode","pos":{"0":424,"1":1105},"size":{"0":210,"1":46},"flags":{},"order":9,"mode":0,"inputs":[{"name":"pixels","type":"IMAGE","link":43,"slot_index":0},{"name":"vae","type":"VAE","link":22}],"outputs":[{"name":"LATENT","type":"LATENT","links":[25],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"VAEEncode"}},{"id":23,"type":"ImageScale","pos":{"0":-128,"1":1321},"size":{"0":315,"1":130},"flags":{},"order":4,"mode":0,"inputs":[{"name":"image","type":"IMAGE","link":42}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[43],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"ImageScale"},"widgets_values":["nearest-exact",512,512,"center"]},{"id":38,"type":"EmptyLatentImage","pos":{"0":988,"1":145},"size":{"0":315,"1":106},"flags":{},"order":0,"mode":0,"inputs":[],"outputs":[{"name":"LATENT","type":"LATENT","links":[122],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"EmptyLatentImage"},"widgets_values":[512,512,4]},{"id":36,"type":"VAEDecode","pos":{"0":1446,"1":84},"size":{"0":210,"1":46},"flags":{},"order":8,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":122,"slot_index":0},{"name":"vae","type":"VAE","link":117}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[118],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"VAEDecode"}},{"id":37,"type":"PreviewImage","pos":{"0":1683,"1":45},"size":{"0":210,"1":246},"flags":{},"order":11,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":118}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"}},{"id":17,"type":"VAEDecode","pos":{"0":1313,"1":1013},"size":{"0":210,"1":46},"flags":{},"order":14,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":136,"slot_index":0},{"name":"vae","type":"VAE","link":16}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[135],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"VAEDecode"}},{"id":43,"type":"PreviewImage","pos":{"0":1604,"1":1039},"size":{"0":210,"1":246},"flags":{},"order":16,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":135}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"}},{"id":8,"type":"VAEDecode","pos":{"0":1436,"1":449},"size":{"0":210,"1":46},"flags":{},"order":15,"mode":0,"inputs":[{"name":"samples","type":"LATENT","link":144},{"name":"vae","type":"VAE","link":8}],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[10],"slot_index":0}],"properties":{"Node name for S&R":"VAEDecode"}},{"id":7,"type":"CLIPTextEncode","pos":{"0":168,"1":643},"size":{"0":425.27801513671875,"1":180.6060791015625},"flags":{},"order":7,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":5}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[65,146],"slot_index":0}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":[""]},{"id":6,"type":"CLIPTextEncode","pos":{"0":368,"1":159},"size":{"0":422.84503173828125,"1":164.31304931640625},"flags":{},"order":6,"mode":0,"inputs":[{"name":"clip","type":"CLIP","link":3}],"outputs":[{"name":"CONDITIONING","type":"CONDITIONING","links":[60,145],"slot_index":0}],"properties":{"Node name for S&R":"CLIPTextEncode"},"widgets_values":["Scene from le heine, in full colour, Kodak, soho, London, night, Neo - noir, noir, mist, moody\n\n"]},{"id":19,"type":"KSamplerSelect","pos":{"0":471,"1":387},"size":{"0":315,"1":58},"flags":{},"order":1,"mode":0,"inputs":[],"outputs":[{"name":"SAMPLER","type":"SAMPLER","links":[21,148],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"KSamplerSelect"},"widgets_values":["ddim"]},{"id":16,"type":"BasicScheduler","pos":{"0":471,"1":524},"size":{"0":315,"1":106},"flags":{},"order":5,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":24,"slot_index":0}],"outputs":[{"name":"SIGMAS","type":"SIGMAS","links":[14,147],"slot_index":0,"shape":3}],"properties":{"Node name for S&R":"BasicScheduler"},"widgets_values":["ddim_uniform",32,1]},{"id":10,"type":"PreviewImage","pos":{"0":1891,"1":412},"size":{"0":485.727294921875,"1":517.061767578125},"flags":{},"order":17,"mode":0,"inputs":[{"name":"images","type":"IMAGE","link":10}],"outputs":[],"properties":{"Node name for S&R":"PreviewImage"}},{"id":21,"type":"LoadImage","pos":{"0":1891,"1":1018},"size":{"0":480.172607421875,"1":588.647705078125},"flags":{},"order":2,"mode":0,"inputs":[],"outputs":[{"name":"IMAGE","type":"IMAGE","links":[42],"slot_index":0,"shape":3},{"name":"MASK","type":"MASK","links":null,"shape":3}],"properties":{"Node name for S&R":"LoadImage"},"widgets_values":["persona_style_2.png","image"]},{"id":4,"type":"CheckpointLoaderSimple","pos":{"0":-305,"1":251},"size":{"0":315,"1":98},"flags":{},"order":3,"mode":0,"inputs":[],"outputs":[{"name":"MODEL","type":"MODEL","links":[20,24,149],"slot_index":0},{"name":"CLIP","type":"CLIP","links":[3,5],"slot_index":1},{"name":"VAE","type":"VAE","links":[8,16,22,117],"slot_index":2}],"properties":{"Node name for S&R":"CheckpointLoaderSimple"},"widgets_values":["sdxl/sd_xl_base_1.0.safetensors"]},{"id":45,"type":"StyleAlignedReferenceSampler","pos":{"0":1058,"1":514},"size":{"0":330,"1":322},"flags":{},"order":13,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":149},{"name":"positive","type":"CONDITIONING","link":145},{"name":"negative","type":"CONDITIONING","link":146},{"name":"sampler","type":"SAMPLER","link":148},{"name":"sigmas","type":"SIGMAS","link":147},{"name":"ref_latent","type":"LATENT","link":151,"slot_index":5},{"name":"ref_latents","type":"STEP_LATENTS","link":null}],"outputs":[{"name":"output","type":"LATENT","links":null,"shape":3},{"name":"denoised_output","type":"LATENT","links":[144],"slot_index":1,"shape":3}],"properties":{"Node name for S&R":"StyleAlignedReferenceSampler"},"widgets_values":["both","q+k",1,2,654925034450981,"randomize",8]},{"id":15,"type":"SamplerCustom","pos":{"0":655,"1":846},"size":{"0":355.20001220703125,"1":442},"flags":{},"order":12,"mode":0,"inputs":[{"name":"model","type":"MODEL","link":20},{"name":"positive","type":"CONDITIONING","link":60},{"name":"negative","type":"CONDITIONING","link":65,"slot_index":2},{"name":"sampler","type":"SAMPLER","link":21,"slot_index":3},{"name":"sigmas","type":"SIGMAS","link":13},{"name":"latent_image","type":"LATENT","link":25}],"outputs":[{"name":"output","type":"LATENT","links":[151],"slot_index":0,"shape":3},{"name":"denoised_output","type":"LATENT","links":[136],"slot_index":1,"shape":3}],"properties":{"Node name for S&R":"SamplerCustom"},"widgets_values":[false,156680208709678,"fixed",1.1]}],"links":[[3,4,1,6,0,"CLIP"],[5,4,1,7,0,"CLIP"],[8,4,2,8,1,"VAE"],[10,8,0,10,0,"IMAGE"],[13,13,0,15,4,"SIGMAS"],[14,16,0,13,0,"SIGMAS"],[16,4,2,17,1,"VAE"],[20,4,0,15,0,"MODEL"],[21,19,0,15,3,"SAMPLER"],[22,4,2,20,1,"VAE"],[24,4,0,16,0,"MODEL"],[25,20,0,15,5,"LATENT"],[42,21,0,23,0,"IMAGE"],[43,23,0,20,0,"IMAGE"],[60,6,0,15,1,"CONDITIONING"],[65,7,0,15,2,"CONDITIONING"],[117,4,2,36,1,"VAE"],[118,36,0,37,0,"IMAGE"],[122,38,0,36,0,"LATENT"],[135,17,0,43,0,"IMAGE"],[136,15,1,17,0,"LATENT"],[144,45,1,8,0,"LATENT"],[145,6,0,45,1,"CONDITIONING"],[146,7,0,45,2,"CONDITIONING"],[147,16,0,45,4,"SIGMAS"],[148,19,0,45,3,"SAMPLER"],[149,4,0,45,0,"MODEL"],[151,15,0,45,5,"LATENT"]],"groups":[],"config":{},"extra":{"ds":{"scale":1.9487171000000014,"offset":[-360.342663079882,-743.5312963240393]}},"version":0.4}