bytedance / bytedance/ComfyUI-HyperLoRA

OOM错误,真的是硬件配置不够吗?

Open
#25 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
499
Forks
29
PR merge metrics
No merged PRs in 30d

Description

只是测试示例工作流HyperLoRA-T2I.json,总是告知torch.OOM错误:-(
真的是硬件配置不够吗,还是说可以修改什么参数能让它跑起来。
`
# ComfyUI Error Report
## Error Details
- **Node ID:** 11
- **Node Type:** KSampler
- **Exception Type:** torch.OutOfMemoryError
- **Exception Message:** Allocation on device
## Stack Trace
```
File "/home/liuq/ComfyUI/execution.py", line 347, 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 "/home/liuq/ComfyUI/execution.py", line 222, 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 "/home/liuq/ComfyUI/execution.py", line 194, in _map_node_over_list
process_inputs(input_dict, i)

File "/home/liuq/ComfyUI/execution.py", line 183, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/home/liuq/ComfyUI/nodes.py", line 1525, in sample
return common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/home/liuq/ComfyUI/nodes.py", line 1492, in common_ksampler
samples = comfy.sample.sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/home/liuq/ComfyUI/comfy/sample.py", line 45, in sample
samples = sampler.sample(noise, positive, negative, cfg=cfg, latent_image=latent_image, start_step=start_step, last_step=last_step, force_full_denoise=force_full_denoise, denoise_mask=noise_mask, sigmas=sigmas, callback=callback, disable_pbar=disable_pbar, seed=seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/home/liuq/ComfyUI/custom_nodes/comfyui_smznodes/smZNodes.py", line 131, in KSampler_sample
return orig_fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^

File "/home/liuq/ComfyUI/comfy/samplers.py", line 1133, in sample
return sample(self.model, noise, positive, negative, cfg, self.device, sampler, sigmas, self.model_options, latent_image=latent_image, denoise_mask=denoise_mask, callback=callback, disable_pbar=disable_pbar, seed=seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/home/liuq/ComfyUI/custom_nodes/comfyui_smznodes/smZNodes.py", line 149, in sample
return orig_fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^

File "/home/liuq/ComfyUI/comfy/samplers.py", line 1023, in sample
return cfg_guider.sample(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/home/liuq/ComfyUI/comfy/samplers.py", line 1008, in sample
output = executor.execute(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/home/liuq/ComfyUI/comfy/patcher_extension.py", line 111, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/home/liuq/ComfyUI/comfy/samplers.py", line 963, in outer_sample
self.inner_model, self.conds, self.loaded_models = comfy.sampler_helpers.prepare_sampling(self.model_patcher, noise.shape, self.conds, self.model_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/home/liuq/ComfyUI/comfy/sampler_helpers.py", line 113, in prepare_sampling
return executor.execute(model, noise_shape, conds, model_options=model_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/home/liuq/ComfyUI/comfy/patcher_extension.py", line 111, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/home/liuq/ComfyUI/comfy/sampler_helpers.py", line 122, in _prepare_sampling
comfy.model_management.load_models_gpu([model] + models, memory_required=memory_required, minimum_memory_required=minimum_memory_required)

File "/home/liuq/ComfyUI/comfy/model_management.py", line 625, in load_models_gpu
loaded_model.model_load(lowvram_model_memory, force_patch_weights=force_patch_weights)

File "/home/liuq/ComfyUI/comfy/model_management.py", line 444, in model_load
self.model_use_more_vram(use_more_vram, force_patch_weights=force_patch_weights)

File "/home/liuq/ComfyUI/comfy/model_management.py", line 473, in model_use_more_vram
return self.model.partially_load(self.device, extra_memory, force_patch_weights=force_patch_weights)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

File "/home/liuq/ComfyUI/comfy/model_patcher.py", line 832, in partially_load
raise e

File "/home/liuq/ComfyUI/comfy/model_patcher.py", line 829, in partially_load
self.load(device_to, lowvram_model_memory=current_used + extra_memory, force_patch_weights=force_patch_weights, full_load=full_load)

File "/home/liuq/ComfyUI/comfy/model_patcher.py", line 670, in load
x[2].to(device_to)

File "/home/liuq/anaconda3/envs/cf/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1356, in to
return self._apply(convert)
^^^^^^^^^^^^^^^^^^^^

File "/home/liuq/anaconda3/envs/cf/lib/python3.12/site-packages/torch/nn/modules/module.py", line 941, in _apply
param_applied = fn(param)
^^^^^^^^^

File "/home/liuq/anaconda3/envs/cf/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1342, in convert
return t.to(
^^^^^

```
## System Information
- **ComfyUI Version:** 0.3.32
- **Arguments:** main.py --listen --dont-upcast-attention --normalvram
- **OS:** posix
- **Python Version:** 3.12.9 | packaged by Anaconda, Inc. | (main, Feb 6 2025, 18:56:27) [GCC 11.2.0]
- **Embedded Python:** false
- **PyTorch Version:** 2.8.0.dev20250502+rocm6.4
## Devices

- **Name:** cuda:0 AMD Radeon RX 7700 XT : hipMallocAsync
- **Type:** cuda
- **VRAM Total:** 12868124672
- **VRAM Free:** 8137107196
- **Torch VRAM Total:** 3514302220
- **Torch VRAM Free:** 323118844

## Logs
```
2025-05-11T17:03:00.198351 -
2025-05-11T17:03:00.198368 -
2025-05-11T17:03:00.213038 - ### Loading: ComfyUI-Manager (V3.31.13)
2025-05-11T17:03:00.213292 - [ComfyUI-Manager] network_mode: public
2025-05-11T17:03:00.241603 - ### ComfyUI Version: v0.3.32-3-g16417b40 | Released on '2025-05-07'
2025-05-11T17:03:00.280749 - ### Loading: ComfyUI-Impact-Pack (V8.14.2)2025-05-11T17:03:00.280775 -
2025-05-11T17:03:00.326942 - [Impact Pack] Wildcards loading done.2025-05-11T17:03:00.326970 -
2025-05-11T17:03:00.532668 - WAS Node Suite: BlenderNeko's Advanced CLIP Text Encode found, attempting to enable `CLIPTextEncode` support.2025-05-11T17:03:00.532700 -
2025-05-11T17:03:00.532754 - WAS Node Suite: `CLIPTextEncode (BlenderNeko Advanced + NSP)` node enabled under `WAS Suite/Conditioning` menu.2025-05-11T17:03:00.532772 -
2025-05-11T17:03:00.837839 - WAS Node Suite: OpenCV Python FFMPEG support is enabled2025-05-11T17:03:00.837881 -
2025-05-11T17:03:00.837932 - WAS Node Suite Warning: `ffmpeg_bin_path` is not set in `/home/liuq/ComfyUI/custom_nodes/was-node-suite-comfyui/was_suite_config.json` config file. Will attempt to use system ffmpeg binaries if available.2025-05-11T17:03:00.837959 -
2025-05-11T17:03:00.881686 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/model-list.json
2025-05-11T17:03:01.137761 - WAS Node Suite: Finished. Loaded 221 nodes successfully.2025-05-11T17:03:01.137798 -
2025-05-11T17:03:01.137849 -
"Art is not freedom from discipline, but disciplined freedom." - John F. Kennedy
2025-05-11T17:03:01.137882 -
2025-05-11T17:03:01.382957 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/alter-list.json
2025-05-11T17:03:01.624248 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/extension-node-map.json
2025-05-11T17:03:01.887820 - /home/liuq/anaconda3/envs/cf/lib/python3.12/site-packages/timm/models/layers/__init__.py:48: FutureWarning: Importing from timm.models.layers is deprecated, please import via timm.layers
warnings.warn(f"Importing from {__name__} is deprecated, please import via timm.layers", FutureWarning)
2025-05-11T17:03:01.888391 - /home/liuq/anaconda3/envs/cf/lib/python3.12/site-packages/timm/models/registry.py:4: FutureWarning: Importing from timm.models.registry is deprecated, please import via timm.models
warnings.warn(f"Importing from {__name__} is deprecated, please import via timm.models", FutureWarning)
2025-05-11T17:03:02.057912 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json
2025-05-11T17:03:04.339586 -
Efficiency Nodes: Attempting to add Control Net options to the 'HiRes-Fix Script' Node (comfyui_controlnet_aux add-on)...Success!2025-05-11T17:03:04.339620 -
2025-05-11T17:03:04.670868 - [ComfyUI-Manager] default cache updated: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/github-stats.json
2025-05-11T17:03:04.700468 - ### Loading: ComfyUI-Impact-Subpack (V1.3.2)
2025-05-11T17:03:04.702241 - [Impact Pack/Subpack] Using folder_paths to determine whitelist path: /home/liuq/ComfyUI/user/default/ComfyUI-Impact-Subpack/model-whitelist.txt
2025-05-11T17:03:04.702360 - [Impact Pack/Subpack] Ensured whitelist directory exists: /home/liuq/ComfyUI/user/default/ComfyUI-Impact-Subpack
2025-05-11T17:03:04.702764 - [Impact Pack/Subpack] Loaded 0 model(s) from whitelist: /home/liuq/ComfyUI/user/default/ComfyUI-Impact-Subpack/model-whitelist.txt
2025-05-11T17:03:04.947271 - [Impact Subpack] ultralytics_bbox: /home/liuq/ComfyUI/models/ultralytics/bbox
2025-05-11T17:03:04.947354 - [Impact Subpack] ultralytics_segm: /home/liuq/ComfyUI/models/ultralytics/segm
2025-05-11T17:03:05.000404 - AMD GPU Monitor thread started2025-05-11T17:03:05.000465 - Using AMD SMI tool: /opt/rocm/bin/rocm-smi2025-05-11T17:03:05.000500 -
2025-05-11T17:03:05.000543 -
2025-05-11T17:03:05.000687 - AMD GPU Monitor: Web directory set to /home/liuq/ComfyUI/custom_nodes/amdgpumonitor/web2025-05-11T17:03:05.000711 -
2025-05-11T17:03:05.003944 -
[ReActor] - STATUS - Running v0.6.0-a1 in ComfyUI2025-05-11T17:03:05.003973 -
2025-05-11T17:03:05.039893 - Torch version: 2.8.0.dev20250502+rocm6.42025-05-11T17:03:05.039923 -
2025-05-11T17:03:05.616550 - [05/11/25 17:03:05] WARNING Your inference package version 0.48.3 is out of date! Please upgrade to version __init__.py:41
0.49.1 of inference for the latest features and bug fixes by running `pip
install --upgrade inference`.
2025-05-11T17:03:06.016780 - SupervisionWarnings: BoundingBoxAnnotator is deprecated: `BoundingBoxAnnotator` is deprecated and has been renamed to `BoxAnnotator`. `BoundingBoxAnnotator` will be removed in supervision-0.26.0.
2025-05-11T17:03:06.022419 - Total VRAM 12272 MB, total RAM 15916 MB
2025-05-11T17:03:06.022484 - pytorch version: 2.8.0.dev20250502+rocm6.4
2025-05-11T17:03:06.022742 - AMD arch: gfx1101
2025-05-11T17:03:06.022803 - Set vram state to: NORMAL_VRAM
2025-05-11T17:03:06.022863 - Device: cuda:0 AMD Radeon RX 7700 XT : hipMallocAsync
2025-05-11T17:03:06.033645 - [/home/liuq/ComfyUI/custom_nodes/comfyui_controlnet_aux] | INFO -> Using ckpts path: /home/liuq/ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts
2025-05-11T17:03:06.033790 - [/home/liuq/ComfyUI/custom_nodes/comfyui_controlnet_aux] | INFO -> Using symlinks: False
2025-05-11T17:03:06.033914 - [/home/liuq/ComfyUI/custom_nodes/comfyui_controlnet_aux] | INFO -> Using ort providers: ['CUDAExecutionProvider', 'DirectMLExecutionProvider', 'OpenVINOExecutionProvider', 'ROCMExecutionProvider', 'CPUExecutionProvider', 'CoreMLExecutionProvider']
2025-05-11T17:03:06.041951 -
Import times for custom nodes:
2025-05-11T17:03:06.042013 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/websocket_image_save.py
2025-05-11T17:03:06.042051 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/ComfyUI-NodeAligner
2025-05-11T17:03:06.042083 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/cg-use-everywhere
2025-05-11T17:03:06.042114 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/comfyui-portrait-master-zh-cn
2025-05-11T17:03:06.042154 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/ComfyUI-SDXL-Style-Preview
2025-05-11T17:03:06.042185 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/ComfyUI_ADV_CLIP_emb
2025-05-11T17:03:06.042214 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/stability-ComfyUI-nodes
2025-05-11T17:03:06.042242 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/amdgpumonitor
2025-05-11T17:03:06.042269 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/image-resize-comfyui
2025-05-11T17:03:06.042296 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/comfyui_ipadapter_plus
2025-05-11T17:03:06.042323 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/comfyui-inpaint-nodes
2025-05-11T17:03:06.042353 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/comfyui_essentials
2025-05-11T17:03:06.042386 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/ComfyUI-Custom-Scripts
2025-05-11T17:03:06.042418 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/comfyui_ultimatesdupscale
2025-05-11T17:03:06.042447 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/comfyui-florence2
2025-05-11T17:03:06.042474 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/comfyui-clipseg
2025-05-11T17:03:06.042501 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/rgthree-comfy
2025-05-11T17:03:06.042528 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/comfyui-brushnet
2025-05-11T17:03:06.042556 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/comfyui-advanced-controlnet
2025-05-11T17:03:06.042593 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/comfyui-frame-interpolation
2025-05-11T17:03:06.042621 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/comfyui_controlnet_aux
2025-05-11T17:03:06.042648 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/comfyui-kjnodes
2025-05-11T17:03:06.042679 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/comfyui_smznodes
2025-05-11T17:03:06.042707 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/efficiency-nodes-comfyui
2025-05-11T17:03:06.042733 - 0.0 seconds: /home/liuq/ComfyUI/custom_nodes/comfyui-impact-pack
2025-05-11T17:03:06.042760 - 0.1 seconds: /home/liuq/ComfyUI/custom_nodes/comfyui-reactor
2025-05-11T17:03:06.042788 - 0.1 seconds: /home/liuq/ComfyUI/custom_nodes/ComfyUI-Manager
2025-05-11T17:03:06.042814 - 0.2 seconds: /home/liuq/ComfyUI/custom_nodes/comfyui-impact-subpack
2025-05-11T17:03:06.042839 - 0.4 seconds: /home/liuq/ComfyUI/custom_nodes/comfyui_layerstyle
2025-05-11T17:03:06.042865 - 0.4 seconds: /home/liuq/ComfyUI/custom_nodes/comfyui-videohelpersuite
2025-05-11T17:03:06.042896 - 0.8 seconds: /home/liuq/ComfyUI/custom_nodes/comfyui_segment_anything
2025-05-11T17:03:06.042922 - 0.8 seconds: /home/liuq/ComfyUI/custom_nodes/was-node-suite-comfyui
2025-05-11T17:03:06.042948 - 1.0 seconds: /home/liuq/ComfyUI/custom_nodes/ComfyUI-YoloWorld-EfficientSAM
2025-05-11T17:03:06.042976 - 1.9 seconds: /home/liuq/ComfyUI/custom_nodes/hyperlora
2025-05-11T17:03:06.043003 - 5.1 seconds: /home/liuq/ComfyUI/custom_nodes/ComfyUI-Easy-Use
2025-05-11T17:03:06.043030 -
2025-05-11T17:03:06.054587 - Starting server

2025-05-11T17:03:06.054781 - To see the GUI go to: http://0.0.0.0:8188
2025-05-11T17:03:06.054898 - To see the GUI go to: http://[::]:8188
2025-05-11T17:03:11.082051 - FETCH ComfyRegistry Data: 5/842025-05-11T17:03:11.082086 -
2025-05-11T17:03:17.974399 - FETCH ComfyRegistry Data: 10/842025-05-11T17:03:17.974430 -
2025-05-11T17:03:25.317455 - FETCH ComfyRegistry Data: 15/842025-05-11T17:03:25.317491 -
2025-05-11T17:03:32.278794 - FETCH ComfyRegistry Data: 20/842025-05-11T17:03:32.278828 -
2025-05-11T17:03:39.221040 - FETCH ComfyRegistry Data: 25/842025-05-11T17:03:39.221076 -
2025-05-11T17:03:46.177438 - FETCH ComfyRegistry Data: 30/842025-05-11T17:03:46.177475 -
2025-05-11T17:03:52.892639 - FETCH ComfyRegistry Data: 35/842025-05-11T17:03:52.892680 -
2025-05-11T17:03:59.877848 - FETCH ComfyRegistry Data: 40/842025-05-11T17:03:59.877885 -
2025-05-11T17:04:07.555102 - FETCH ComfyRegistry Data: 45/842025-05-11T17:04:07.555136 -
2025-05-11T17:04:14.796700 - FETCH ComfyRegistry Data: 50/842025-05-11T17:04:14.796738 -
2025-05-11T17:04:21.774775 - FETCH ComfyRegistry Data: 55/842025-05-11T17:04:21.774814 -
2025-05-11T17:04:28.739504 - FETCH ComfyRegistry Data: 60/842025-05-11T17:04:28.739541 -
2025-05-11T17:04:35.554812 - FETCH ComfyRegistry Data: 65/842025-05-11T17:04:35.554853 -
2025-05-11T17:04:44.337878 - FETCH ComfyRegistry Data: 70/842025-05-11T17:04:44.337938 -
2025-05-11T17:04:50.504909 - Warning: Invalid content in file /home/liuq/ComfyUI/custom_nodes/ComfyUI-SDXL-Style-Preview/config.json2025-05-11T17:04:50.504941 -
2025-05-11T17:04:50.523812 - Warning: Invalid content in file /home/liuq/ComfyUI/custom_nodes/ComfyUI-SDXL-Style-Preview/config.json2025-05-11T17:04:50.523834 -
2025-05-11T17:04:50.536512 - Warning: Invalid content in file /home/liuq/ComfyUI/custom_nodes/ComfyUI-SDXL-Style-Preview/config.json2025-05-11T17:04:50.536533 -
2025-05-11T17:04:50.549432 - Warning: Invalid content in file /home/liuq/ComfyUI/custom_nodes/ComfyUI-SDXL-Style-Preview/config.json2025-05-11T17:04:50.549454 -
2025-05-11T17:04:51.345710 - FETCH ComfyRegistry Data: 75/842025-05-11T17:04:51.345753 -
2025-05-11T17:04:58.294836 - FETCH ComfyRegistry Data: 80/842025-05-11T17:04:58.294871 -
2025-05-11T17:05:04.122998 - FETCH ComfyRegistry Data [DONE]2025-05-11T17:05:04.123042 -
2025-05-11T17:05:04.177271 - [ComfyUI-Manager] default cache updated: https://api.comfy.org/nodes
2025-05-11T17:05:04.194407 - FETCH DATA from: https://raw.githubusercontent.com/ltdrdata/ComfyUI-Manager/main/custom-node-list.json2025-05-11T17:05:04.194434 - 2025-05-11T17:05:11.228842 - [DONE]2025-05-11T17:05:11.228872 -
2025-05-11T17:05:11.255885 - [ComfyUI-Manager] All startup tasks have been completed.
2025-05-11T17:05:18.256358 - got prompt
2025-05-11T17:05:19.134342 - model weight dtype torch.float16, manual cast: None
2025-05-11T17:05:19.145243 - model_type EPS
2025-05-11T17:05:24.573502 - Using split attention in VAE
2025-05-11T17:05:24.576674 - Using split attention in VAE
2025-05-11T17:05:24.987224 - VAE load device: cuda:0, offload device: cpu, dtype: torch.float32
2025-05-11T17:05:25.151470 - Requested to load SDXLClipModel
2025-05-11T17:05:25.160517 - loaded completely 9.5367431640625e+25 1560.802734375 True
2025-05-11T17:05:25.163718 - CLIP/text encoder model load device: cuda:0, offload device: cpu, current: cuda:0, dtype: torch.float16
2025-05-11T17:05:29.958363 - loaded diffusion model directly to GPU
2025-05-11T17:05:29.958474 - Requested to load SDXL
2025-05-11T17:05:35.966460 - loaded completely 9.5367431640625e+25 4897.0483474731445 True
2025-05-11T17:05:37.064642 - Requested to load SDXLClipModel
2025-05-11T17:05:37.366919 - loaded completely 5076.8 1560.802734375 True
2025-05-11T17:05:47.327821 - Value of key "pretrained_model" was changed from "None" to "/home/liuq/ComfyUI/models/hyper_lora/clip_processor/clip_vit_large_14_processor"2025-05-11T17:05:47.328818 -
2025-05-11T17:05:47.328852 - Value of key "pretrained_model" was changed from "None" to "/home/liuq/ComfyUI/models/hyper_lora/clip_vit/clip_vir_large_14"2025-05-11T17:05:47.328875 -
2025-05-11T17:05:47.328902 - Value of key "encoder_types" was changed from "['clip']" to "['clip', 'arcface']"2025-05-11T17:05:47.328921 -
2025-05-11T17:05:47.328941 - Value of key "insightface_root" was changed from "./" to "/home/liuq/ComfyUI/models/insightface"2025-05-11T17:05:47.328959 -
2025-05-11T17:05:47.328978 - Value of key "num_id_tokens" was changed from "4" to "16"2025-05-11T17:05:47.328995 -
2025-05-11T17:05:47.329014 - Value of key "hyper_dim" was changed from "1024" to "128"2025-05-11T17:05:47.329030 -
2025-05-11T17:05:47.329048 - Value of key "lora_rank" was changed from "4" to "8"2025-05-11T17:05:47.329064 -
2025-05-11T17:05:47.329087 - image_processor:2025-05-11T17:05:47.329104 -
2025-05-11T17:05:47.329123 - pretrained_model: /home/liuq/ComfyUI/models/hyper_lora/clip_processor/clip_vit_large_14_processor2025-05-11T17:05:47.329140 -
2025-05-11T17:05:47.329158 - image_encoder:2025-05-11T17:05:47.329174 -
2025-05-11T17:05:47.329193 - pretrained_model: /home/liuq/ComfyUI/models/hyper_lora/clip_vit/clip_vir_large_142025-05-11T17:05:47.329210 -
2025-05-11T17:05:47.329227 - resampler:2025-05-11T17:05:47.329244 -
2025-05-11T17:05:47.329263 - dim: 10242025-05-11T17:05:47.329280 -
2025-05-11T17:05:47.329299 - dim_head: 642025-05-11T17:05:47.329318 -
2025-05-11T17:05:47.329336 - heads: 122025-05-11T17:05:47.329352 -
2025-05-11T17:05:47.329370 - depth: 42025-05-11T17:05:47.329386 -
2025-05-11T17:05:47.329402 - ff_mult: 42025-05-11T17:05:47.329418 -
2025-05-11T17:05:47.329440 - encoder_types: ['clip', 'arcface']2025-05-11T17:05:47.329456 -
2025-05-11T17:05:47.329474 - face_analyzer: antelopev22025-05-11T17:05:47.329490 -
2025-05-11T17:05:47.329507 - insightface_root: /home/liuq/ComfyUI/models/insightface2025-05-11T17:05:47.329523 -
2025-05-11T17:05:47.329540 - id_embed_dim: 5122025-05-11T17:05:47.329557 -
2025-05-11T17:05:47.329616 - num_id_tokens: 162025-05-11T17:05:47.329633 -
2025-05-11T17:05:47.329650 - hyper_dim: 1282025-05-11T17:05:47.329665 -
2025-05-11T17:05:47.329681 - lora_rank: 82025-05-11T17:05:47.329695 -
2025-05-11T17:05:47.329712 - has_base_lora: False2025-05-11T17:05:47.329727 -
2025-05-11T17:05:54.852486 - !!! Exception during processing !!! Allocation on device
2025-05-11T17:05:55.087126 - Traceback (most recent call last):
File "/home/liuq/ComfyUI/execution.py", line 347, 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 "/home/liuq/ComfyUI/execution.py", line 222, 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 "/home/liuq/ComfyUI/execution.py", line 194, in _map_node_over_list
process_inputs(input_dict, i)
File "/home/liuq/ComfyUI/execution.py", line 183, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/liuq/ComfyUI/custom_nodes/hyperlora/hyperlora/nodes.py", line 194, in execute
hyper_lora.hyper_lora_modules.to(device, dtype).eval()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/liuq/anaconda3/envs/cf/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1356, in to
return self._apply(convert)
^^^^^^^^^^^^^^^^^^^^
File "/home/liuq/anaconda3/envs/cf/lib/python3.12/site-packages/torch/nn/modules/module.py", line 914, in _apply
module._apply(fn)
File "/home/liuq/anaconda3/envs/cf/lib/python3.12/site-packages/torch/nn/modules/module.py", line 914, in _apply
module._apply(fn)
File "/home/liuq/anaconda3/envs/cf/lib/python3.12/site-packages/torch/nn/modules/module.py", line 941, in _apply
param_applied = fn(param)
^^^^^^^^^
File "/home/liuq/anaconda3/envs/cf/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1342, in convert
return t.to(
^^^^^
torch.OutOfMemoryError: Allocation on device

2025-05-11T17:05:55.100437 - Got an OOM, unloading all loaded models.
2025-05-11T17:05:59.122889 - Prompt executed in 40.85 seconds
2025-05-11T17:11:29.002408 - got prompt
2025-05-11T17:17:32.066207 - HyperLoRA modules loaded.2025-05-11T17:17:32.077863 -
2025-05-11T17:18:04.491665 - Resampler loaded.2025-05-11T17:18:04.491776 -
2025-05-11T17:18:21.961658 - ID projector loaded.2025-05-11T17:18:21.961709 -
2025-05-11T17:18:39.615842 - Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}2025-05-11T17:18:39.615922 -
2025-05-11T17:18:40.577211 - find model:2025-05-11T17:18:40.577281 - 2025-05-11T17:18:40.577311 - /home/liuq/ComfyUI/models/insightface/models/antelopev2/1k3d68.onnx2025-05-11T17:18:40.577749 - 2025-05-11T17:18:40.578133 - landmark_3d_682025-05-11T17:18:40.578192 - 2025-05-11T17:18:40.578227 - ['None', 3, 192, 192]2025-05-11T17:18:40.578682 - 2025-05-11T17:18:40.578720 - 0.02025-05-11T17:18:40.581838 - 2025-05-11T17:18:40.582126 - 1.02025-05-11T17:18:40.582646 -
2025-05-11T17:18:40.610094 - Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}2025-05-11T17:18:40.611411 -
2025-05-11T17:18:40.612975 - find model:2025-05-11T17:18:40.613010 - 2025-05-11T17:18:40.615108 - /home/liuq/ComfyUI/models/insightface/models/antelopev2/2d106det.onnx2025-05-11T17:18:40.616114 - 2025-05-11T17:18:40.617393 - landmark_2d_1062025-05-11T17:18:40.618046 - 2025-05-11T17:18:40.619239 - ['None', 3, 192, 192]2025-05-11T17:18:40.620032 - 2025-05-11T17:18:40.620579 - 0.02025-05-11T17:18:40.621085 - 2025-05-11T17:18:40.621940 - 1.02025-05-11T17:18:40.621968 -
2025-05-11T17:18:40.656279 - Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}2025-05-11T17:18:40.656706 -
2025-05-11T17:18:40.661167 - find model:2025-05-11T17:18:40.661240 - 2025-05-11T17:18:40.661298 - /home/liuq/ComfyUI/models/insightface/models/antelopev2/genderage.onnx2025-05-11T17:18:40.661335 - 2025-05-11T17:18:40.662487 - genderage2025-05-11T17:18:40.662570 - 2025-05-11T17:18:40.663883 - ['None', 3, 96, 96]2025-05-11T17:18:40.664179 - 2025-05-11T17:18:40.664359 - 0.02025-05-11T17:18:40.665103 - 2025-05-11T17:18:40.665146 - 1.02025-05-11T17:18:40.665627 -
2025-05-11T17:18:41.513640 - Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}2025-05-11T17:18:41.513924 -
2025-05-11T17:18:43.828393 - find model:2025-05-11T17:18:43.828447 - 2025-05-11T17:18:43.828478 - /home/liuq/ComfyUI/models/insightface/models/antelopev2/glintr100.onnx2025-05-11T17:18:43.828506 - 2025-05-11T17:18:43.828532 - recognition2025-05-11T17:18:43.828557 - 2025-05-11T17:18:44.100596 - ['None', 3, 112, 112]2025-05-11T17:18:44.100663 - 2025-05-11T17:18:44.100707 - 127.52025-05-11T17:18:44.100787 - 2025-05-11T17:18:44.296009 - 127.52025-05-11T17:18:44.296076 -
2025-05-11T17:18:44.349422 - Applied providers: ['CPUExecutionProvider'], with options: {'CPUExecutionProvider': {}}2025-05-11T17:18:44.349501 -
2025-05-11T17:18:44.354174 - find model:2025-05-11T17:18:44.354216 - 2025-05-11T17:18:44.354247 - /home/liuq/ComfyUI/models/insightface/models/antelopev2/scrfd_10g_bnkps.onnx2025-05-11T17:18:44.355322 - 2025-05-11T17:18:44.356044 - detection2025-05-11T17:18:44.356071 - 2025-05-11T17:18:44.357188 - [1, 3, '?', '?']2025-05-11T17:18:44.359666 - 2025-05-11T17:18:44.362128 - 127.52025-05-11T17:18:44.362165 - 2025-05-11T17:18:44.363373 - 128.02025-05-11T17:18:44.363786 -
2025-05-11T17:18:44.366207 - set det-size:2025-05-11T17:18:44.367863 - 2025-05-11T17:18:44.369583 - (640, 640)2025-05-11T17:18:44.371316 -
2025-05-11T17:18:44.373912 - Face analyzer loaded.2025-05-11T17:18:44.375346 -
2025-05-11T17:19:31.138708 - Requested to load SDXL
2025-05-11T17:21:33.523879 - !!! Exception during processing !!! Allocation on device
2025-05-11T17:21:33.574301 - Traceback (most recent call last):
File "/home/liuq/ComfyUI/execution.py", line 347, 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 "/home/liuq/ComfyUI/execution.py", line 222, 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 "/home/liuq/ComfyUI/execution.py", line 194, in _map_node_over_list
process_inputs(input_dict, i)
File "/home/liuq/ComfyUI/execution.py", line 183, in process_inputs
results.append(getattr(obj, func)(**inputs))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/liuq/ComfyUI/nodes.py", line 1525, in sample
return common_ksampler(model, seed, steps, cfg, sampler_name, scheduler, positive, negative, latent_image, denoise=denoise)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/liuq/ComfyUI/nodes.py", line 1492, in common_ksampler
samples = comfy.sample.sample(model, noise, steps, cfg, sampler_name, scheduler, positive, negative, latent_image,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/liuq/ComfyUI/comfy/sample.py", line 45, in sample
samples = sampler.sample(noise, positive, negative, cfg=cfg, latent_image=latent_image, start_step=start_step, last_step=last_step, force_full_denoise=force_full_denoise, denoise_mask=noise_mask, sigmas=sigmas, callback=callback, disable_pbar=disable_pbar, seed=seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/liuq/ComfyUI/custom_nodes/comfyui_smznodes/smZNodes.py", line 131, in KSampler_sample
return orig_fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/liuq/ComfyUI/comfy/samplers.py", line 1133, in sample
return sample(self.model, noise, positive, negative, cfg, self.device, sampler, sigmas, self.model_options, latent_image=latent_image, denoise_mask=denoise_mask, callback=callback, disable_pbar=disable_pbar, seed=seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/liuq/ComfyUI/custom_nodes/comfyui_smznodes/smZNodes.py", line 149, in sample
return orig_fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/liuq/ComfyUI/comfy/samplers.py", line 1023, in sample
return cfg_guider.sample(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/liuq/ComfyUI/comfy/samplers.py", line 1008, in sample
output = executor.execute(noise, latent_image, sampler, sigmas, denoise_mask, callback, disable_pbar, seed)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/liuq/ComfyUI/comfy/patcher_extension.py", line 111, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/liuq/ComfyUI/comfy/samplers.py", line 963, in outer_sample
self.inner_model, self.conds, self.loaded_models = comfy.sampler_helpers.prepare_sampling(self.model_patcher, noise.shape, self.conds, self.model_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/liuq/ComfyUI/comfy/sampler_helpers.py", line 113, in prepare_sampling
return executor.execute(model, noise_shape, conds, model_options=model_options)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/liuq/ComfyUI/comfy/patcher_extension.py", line 111, in execute
return self.original(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/liuq/ComfyUI/comfy/sampler_helpers.py", line 122, in _prepare_sampling
comfy.model_management.load_models_gpu([model] + models, memory_required=memory_required, minimum_memory_required=minimum_memory_required)
File "/home/liuq/ComfyUI/comfy/model_management.py", line 625, in load_models_gpu
loaded_model.model_load(lowvram_model_memory, force_patch_weights=force_patch_weights)
File "/home/liuq/ComfyUI/comfy/model_management.py", line 444, in model_load
self.model_use_more_vram(use_more_vram, force_patch_weights=force_patch_weights)
File "/home/liuq/ComfyUI/comfy/model_management.py", line 473, in model_use_more_vram
return self.model.partially_load(self.device, extra_memory, force_patch_weights=force_patch_weights)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/liuq/ComfyUI/comfy/model_patcher.py", line 832, in partially_load
raise e
File "/home/liuq/ComfyUI/comfy/model_patcher.py", line 829, in partially_load
self.load(device_to, lowvram_model_memory=current_used + extra_memory, force_patch_weights=force_patch_weights, full_load=full_load)
File "/home/liuq/ComfyUI/comfy/model_patcher.py", line 670, in load
x[2].to(device_to)
File "/home/liuq/anaconda3/envs/cf/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1356, in to
return self._apply(convert)
^^^^^^^^^^^^^^^^^^^^
File "/home/liuq/anaconda3/envs/cf/lib/python3.12/site-packages/torch/nn/modules/module.py", line 941, in _apply
param_applied = fn(param)
^^^^^^^^^
File "/home/liuq/anaconda3/envs/cf/lib/python3.12/site-packages/torch/nn/modules/module.py", line 1342, in convert
return t.to(
^^^^^
torch.OutOfMemoryError: Allocation on device

2025-05-11T17:21:33.579868 - Got an OOM, unloading all loaded models.
2025-05-11T17:21:33.602616 - Prompt executed in 604.58 seconds

```
## Attached Workflow
Please make sure that workflow does not contain any sensitive information such as API keys or passwords.
```
{"id":"b3c6f1fb-6d5e-494d-a6eb-eff4a1020dac","revision":0,"last_node_id":18,"last_link_id":25,"nodes":[{"id":5,"type":"ImpactMakeImageBatch","pos":[420,200],"size":[176.5312042236328,46],"flags":{},"order":5,"mode":0,"inputs":[{"localized_name":"image1","name":"image1","type":"IMAGE","link":4},{"name":"image2","type":"IMAGE","link":null}],"outputs":[{"localized_name":"图像","name":"IMAGE","type":"IMAGE","links":[3,6]}],"properties":{"cnr_id":"comfyui-impact-pack","ver":"cd34cfdd638a996fd011be1b490c70a7e0fb505f","Node name for S&R":"ImpactMakeImageBatch","widget_ue_connectable":{}},"widgets_values":[]},{"id":4,"type":"HyperLoRAFaceAttr","pos":[610,200],"size":[202.2093048095703,46],"flags":{},"order":9,"mode":0,"inputs":[{"localized_name":"hyper_lora","name":"hyper_lora","type":"HYPER_LORA","link":2},{"localized_name":"images","name":"images","type":"IMAGE","link":3}],"outputs":[{"localized_name":"FACE_ATTR","name":"FACE_ATTR","type":"FACE_ATTR","links":[5]}],"properties":{"cnr_id":"hyperlora","ver":"c46e29b46fcb8412ff00d338c2408fc4a0ffa192","Node name for S&R":"HyperLoRAFaceAttr","widget_ue_connectable":{}},"widgets_values":[]},{"id":7,"type":"HyperLoRAIDCond","pos":[850,30],"size":[249.3211669921875,122.28309631347656],"flags":{},"order":10,"mode":0,"inputs":[{"localized_name":"hyper_lora","name":"hyper_lora","type":"HYPER_LORA","link":7},{"localized_name":"images","name":"images","type":"IMAGE","link":6},{"localized_name":"face_attr","name":"face_attr","type":"FACE_ATTR","link":5},{"localized_name":"grayscale","name":"grayscale","type":"BOOLEAN","widget":{"name":"grayscale"},"link":null},{"localized_name":"remove_background","name":"remove_background","type":"BOOLEAN","widget":{"name":"remove_background"},"link":null}],"outputs":[{"localized_name":"ID_COND","name":"ID_COND","type":"ID_COND","links":[8]},{"localized_name":"图像","name":"IMAGE","type":"IMAGE","links":[25]}],"properties":{"cnr_id":"hyperlora","ver":"c46e29b46fcb8412ff00d338c2408fc4a0ffa192","Node name for S&R":"HyperLoRAIDCond","widget_ue_connectable":{}},"widgets_values":[false,true]},{"id":18,"type":"PreviewImage","pos":[850,200],"size":[250,240],"flags":{},"order":12,"mode":0,"inputs":[{"localized_name":"图像","name":"images","type":"IMAGE","link":25}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.32","Node name for S&R":"PreviewImage","widget_ue_connectable":{}},"widgets_values":[]},{"id":9,"type":"HyperLoRAApplyLoRA","pos":[1140,350],"size":[242.75352478027344,78],"flags":{},"order":13,"mode":0,"inputs":[{"localized_name":"model","name":"model","type":"MODEL","link":11},{"localized_name":"lora","name":"lora","type":"LORA","link":10},{"localized_name":"weight","name":"weight","type":"FLOAT","widget":{"name":"weight"},"link":null}],"outputs":[{"localized_name":"模型","name":"MODEL","type":"MODEL","links":[13]}],"properties":{"cnr_id":"hyperlora","ver":"c46e29b46fcb8412ff00d338c2408fc4a0ffa192","Node name for S&R":"HyperLoRAApplyLoRA","widget_ue_connectable":{}},"widgets_values":[0.9]},{"id":8,"type":"HyperLoRAGenerateIDLoRA","pos":[1140,40],"size":[249.1568145751953,46],"flags":{},"order":11,"mode":0,"inputs":[{"localized_name":"hyper_lora","name":"hyper_lora","type":"HYPER_LORA","link":9},{"localized_name":"id_cond","name":"id_cond","type":"ID_COND","link":8}],"outputs":[{"localized_name":"LORA","name":"LORA","type":"LORA","links":[10]}],"properties":{"cnr_id":"hyperlora","ver":"c46e29b46fcb8412ff00d338c2408fc4a0ffa192","Node name for S&R":"HyperLoRAGenerateIDLoRA","widget_ue_connectable":{}},"widgets_values":[]},{"id":3,"type":"HyperLoRALoader","pos":[450,40],"size":[358.7608947753906,84.72722625732422],"flags":{},"order":6,"mode":0,"inputs":[{"localized_name":"config","name":"config","type":"HYPER_LORA_CONFIG","link":1},{"localized_name":"model","name":"model","type":"COMBO","widget":{"name":"model"},"link":null},{"localized_name":"dtype","name":"dtype","type":"COMBO","widget":{"name":"dtype"},"link":null}],"outputs":[{"localized_name":"HYPER_LORA","name":"HYPER_LORA","type":"HYPER_LORA","links":[2,7,9]}],"properties":{"cnr_id":"hyperlora","ver":"c46e29b46fcb8412ff00d338c2408fc4a0ffa192","Node name for S&R":"HyperLoRALoader","widget_ue_connectable":{}},"widgets_values":["sdxl_hyper_id_lora_v1_edit","fp16"]},{"id":1,"type":"CheckpointLoaderSimple","pos":[10,700],"size":[366.26171875,98],"flags":{},"order":0,"mode":0,"inputs":[{"localized_name":"Checkpoint名称","name":"ckpt_name","type":"COMBO","widget":{"name":"ckpt_name"},"link":null}],"outputs":[{"localized_name":"模型","name":"MODEL","type":"MODEL","links":[11]},{"localized_name":"CLIP","name":"CLIP","type":"CLIP","links":[21]},{"localized_name":"VAE","name":"VAE","type":"VAE","links":[23]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.32","Node name for S&R":"CheckpointLoaderSimple","widget_ue_connectable":{}},"widgets_values":["图像/sdxl/[摄影]XXMix_9RealisticSDXL_v1.safetensors"]},{"id":15,"type":"CLIPSetLastLayer","pos":[410,700],"size":[243.56906127929688,61.31538772583008],"flags":{},"order":4,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":21},{"localized_name":"停止在CLIP层","name":"stop_at_clip_layer","type":"INT","widget":{"name":"stop_at_clip_layer"},"link":null}],"outputs":[{"localized_name":"CLIP","name":"CLIP","type":"CLIP","links":[19,20]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.32","Node name for S&R":"CLIPSetLastLayer","widget_ue_connectable":{}},"widgets_values":[-2]},{"id":14,"type":"EmptyLatentImage","pos":[440,810],"size":[210,106],"flags":{},"order":1,"mode":0,"inputs":[{"localized_name":"宽度","name":"width","type":"INT","widget":{"name":"width"},"link":null},{"localized_name":"高度","name":"height","type":"INT","widget":{"name":"height"},"link":null},{"localized_name":"批量大小","name":"batch_size","type":"INT","widget":{"name":"batch_size"},"link":null}],"outputs":[{"localized_name":"Latent","name":"LATENT","type":"LATENT","links":[18]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.32","Node name for S&R":"EmptyLatentImage","widget_ue_connectable":{}},"widgets_values":[768,768,1]},{"id":13,"type":"BNK_CLIPTextEncodeAdvanced","pos":[700,850],"size":[430.8000183105469,200],"flags":{},"order":8,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":20},{"localized_name":"text","name":"text","type":"STRING","widget":{"name":"text"},"link":null},{"localized_name":"token_normalization","name":"token_normalization","type":"COMBO","widget":{"name":"token_normalization"},"link":null},{"localized_name":"weight_interpretation","name":"weight_interpretation","type":"COMBO","widget":{"name":"weight_interpretation"},"link":null}],"outputs":[{"localized_name":"条件","name":"CONDITIONING","type":"CONDITIONING","links":[17]}],"properties":{"cnr_id":"ComfyUI_ADV_CLIP_emb","ver":"63984deefb005da1ba90a1175e21d91040da38ab","Node name for S&R":"BNK_CLIPTextEncodeAdvanced","widget_ue_connectable":{}},"widgets_values":["big breast, nsfw, lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, bad feet","length+mean","A1111"],"color":"#322","bgcolor":"#533"},{"id":12,"type":"BNK_CLIPTextEncodeAdvanced","pos":[700,580],"size":[430.8000183105469,200],"flags":{},"order":7,"mode":0,"inputs":[{"localized_name":"clip","name":"clip","type":"CLIP","link":19},{"localized_name":"text","name":"text","type":"STRING","widget":{"name":"text"},"link":null},{"localized_name":"token_normalization","name":"token_normalization","type":"COMBO","widget":{"name":"token_normalization"},"link":null},{"localized_name":"weight_interpretation","name":"weight_interpretation","type":"COMBO","widget":{"name":"weight_interpretation"},"link":null}],"outputs":[{"localized_name":"条件","name":"CONDITIONING","type":"CONDITIONING","links":[16]}],"properties":{"cnr_id":"ComfyUI_ADV_CLIP_emb","ver":"63984deefb005da1ba90a1175e21d91040da38ab","Node name for S&R":"BNK_CLIPTextEncodeAdvanced","widget_ue_connectable":{}},"widgets_values":["fcsks fxhks fhyks, Real photography, a girl, 4K, RAW photo, Korean portrait photography, korean style, close-up, 1 beautiful girl, exquisite makeup, delicate skin, long hair, beige off-shoulder sweater, depressed mood, ambient light, film lighting, polaroid effect, dark tone, snow scene, snowflakes Falling, outdoor shooting, background blur, Sunlight, (extreme light:1.2), Korean drama heroine's atmosphere, real photos, best picture quality, high details, (Nikon AF-S 105mm f/1.4E ED)","length+mean","A1111"],"color":"#232","bgcolor":"#353"},{"id":11,"type":"KSampler","pos":[1170,580],"size":[315,262],"flags":{},"order":14,"mode":0,"inputs":[{"localized_name":"模型","name":"model","type":"MODEL","link":13},{"localized_name":"正面条件","name":"positive","type":"CONDITIONING","link":16},{"localized_name":"负面条件","name":"negative","type":"CONDITIONING","link":17},{"localized_name":"Latent图像","name":"latent_image","type":"LATENT","link":18},{"localized_name":"种子","name":"seed","type":"INT","widget":{"name":"seed"},"link":null},{"localized_name":"步数","name":"steps","type":"INT","widget":{"name":"steps"},"link":null},{"localized_name":"cfg","name":"cfg","type":"FLOAT","widget":{"name":"cfg"},"link":null},{"localized_name":"采样器名称","name":"sampler_name","type":"COMBO","widget":{"name":"sampler_name"},"link":null},{"localized_name":"调度器","name":"scheduler","type":"COMBO","widget":{"name":"scheduler"},"link":null},{"localized_name":"降噪","name":"denoise","type":"FLOAT","widget":{"name":"denoise"},"link":null}],"outputs":[{"localized_name":"Latent","name":"LATENT","type":"LATENT","links":[22]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.32","Node name for S&R":"KSampler","widget_ue_connectable":{}},"widgets_values":[693709576827048,"fixed",20,5,"dpmpp_2m","karras",1]},{"id":16,"type":"VAEDecode","pos":[1320,890],"size":[162.50253295898438,47.082061767578125],"flags":{},"order":15,"mode":0,"inputs":[{"localized_name":"Latent","name":"samples","type":"LATENT","link":22},{"localized_name":"vae","name":"vae","type":"VAE","link":23}],"outputs":[{"localized_name":"图像","name":"IMAGE","type":"IMAGE","links":[24]}],"properties":{"cnr_id":"comfy-core","ver":"0.3.32","Node name for S&R":"VAEDecode","widget_ue_connectable":{}},"widgets_values":[]},{"id":6,"type":"LoadImage","pos":[-320,230],"size":[270,420],"flags":{"pinned":true},"order":2,"mode":0,"inputs":[{"localized_name":"图像","name":"image","type":"COMBO","widget":{"name":"image"},"link":null},{"localized_name":"选择文件上传","name":"upload","type":"IMAGEUPLOAD","widget":{"name":"upload"},"link":null}],"outputs":[{"localized_name":"图像","name":"IMAGE","type":"IMAGE","links":[4]},{"localized_name":"遮罩","name":"MASK","type":"MASK","links":null}],"properties":{"cnr_id":"comfy-core","ver":"0.3.32","Node name for S&R":"LoadImage","widget_ue_connectable":{}},"widgets_values":["id-01.jpeg","image"],"color":"#322","bgcolor":"#533"},{"id":17,"type":"PreviewImage","pos":[1560,530],"size":[597.0068359375,650.1481323242188],"flags":{"pinned":true},"order":16,"mode":0,"inputs":[{"localized_name":"图像","name":"images","type":"IMAGE","link":24}],"outputs":[],"properties":{"cnr_id":"comfy-core","ver":"0.3.32","Node name for S&R":"PreviewImage","widget_ue_connectable":{}},"widgets_values":[],"color":"#2a363b","bgcolor":"#3f5159"},{"id":2,"type":"HyperLoRAConfig","pos":[30,40],"size":[370.171875,370],"flags":{},"order":3,"mode":0,"inputs":[{"localized_name":"image_processor","name":"image_processor","type":"COMBO","widget":{"name":"image_processor"},"link":null},{"localized_name":"image_encoder","name":"image_encoder","type":"COMBO","widget":{"name":"image_encoder"},"link":null},{"localized_name":"resampler.dim","name":"resampler.dim","type":"INT","widget":{"name":"resampler.dim"},"link":null},{"localized_name":"resampler.dim_head","name":"resampler.dim_head","type":"INT","widget":{"name":"resampler.dim_head"},"link":null},{"localized_name":"resampler.heads","name":"resampler.heads","type":"INT","widget":{"name":"resampler.heads"},"link":null},{"localized_name":"resampler.depth","name":"resampler.depth","type":"INT","widget":{"name":"resampler.depth"},"link":null},{"localized_name":"resampler.ff_mult","name":"resampler.ff_mult","type":"INT","widget":{"name":"resampler.ff_mult"},"link":null},{"localized_name":"encoder_types","name":"encoder_types","type":"COMBO","widget":{"name":"encoder_types"},"link":null},{"localized_name":"face_analyzer","name":"face_analyzer","type":"COMBO","widget":{"name":"face_analyzer"},"link":null},{"localized_name":"id_embed_dim","name":"id_embed_dim","type":"INT","widget":{"name":"id_embed_dim"},"link":null},{"localized_name":"num_id_tokens","name":"num_id_tokens","type":"INT","widget":{"name":"num_id_tokens"},"link":null},{"localized_name":"hyper_dim","name":"hyper_dim","type":"INT","widget":{"name":"hyper_dim"},"link":null},{"localized_name":"lora_rank","name":"lora_rank","type":"INT","widget":{"name":"lora_rank"},"link":null},{"localized_name":"has_base_lora","name":"has_base_lora","type":"BOOLEAN","widget":{"name":"has_base_lora"},"link":null}],"outputs":[{"localized_name":"HYPER_LORA_CONFIG","name":"HYPER_LORA_CONFIG","type":"HYPER_LORA_CONFIG","links":[1]}],"properties":{"cnr_id":"hyperlora","ver":"c46e29b46fcb8412ff00d338c2408fc4a0ffa192","Node name for S&R":"HyperLoRAConfig","widget_ue_connectable":{}},"widgets_values":["clip_vit_large_14_processor","clip_vir_large_14",1024,64,12,4,4,"clip + arcface","antelopev2",512,16,128,8,false],"color":"#323","bgcolor":"#535"}],"links":[[1,2,0,3,0,"HYPER_LORA_CONFIG"],[2,3,0,4,0,"HYPER_LORA"],[3,5,0,4,1,"IMAGE"],[4,6,0,5,0,"IMAGE"],[5,4,0,7,2,"FACE_ATTR"],[6,5,0,7,1,"IMAGE"],[7,3,0,7,0,"HYPER_LORA"],[8,7,0,8,1,"ID_COND"],[9,3,0,8,0,"HYPER_LORA"],[10,8,0,9,1,"LORA"],[11,1,0,9,0,"MODEL"],[13,9,0,11,0,"MODEL"],[16,12,0,11,1,"CONDITIONING"],[17,13,0,11,2,"CONDITIONING"],[18,14,0,11,3,"LATENT"],[19,15,0,12,0,"CLIP"],[20,15,0,13,0,"CLIP"],[21,1,1,15,0,"CLIP"],[22,11,0,16,0,"LATENT"],[23,1,2,16,1,"VAE"],[24,16,0,17,0,"IMAGE"],[25,7,1,18,0,"IMAGE"]],"groups":[{"id":1,"title":"HyperLora","bounding":[0,-50,1400,500],"color":"#3f789e","font_size":22,"flags":{"pinned":true}},{"id":2,"title":"Base","bounding":[0,500,1510,570],"color":"#b58b2a","font_size":22,"flags":{"pinned":true}}],"config":{},"extra":{"ds":{"scale":0.28966437973668785,"offset":[333.4660526123048,185.76248687133798]},"frontendVersion":"1.18.9","ue_links":[],"links_added_by_ue":[],"VHS_latentpreview":false,"VHS_latentpreviewrate":0,"VHS_MetadataImage":true,"VHS_KeepIntermediate":true},"version":0.4}
```

## Additional Context
(Please add any additional context or steps to reproduce the error here)
`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the HyperLoRA-T2I.json workflow with the reported ComfyUI arguments and Node 11 KSampler failure. Read comfy/model_management.py and comfy/model_patcher.py around model loading, then trace the calls through comfy/samplers.py and custom_nodes/comfyui_smznodes/smZNodes.py. Done means documenting whether the workflow can run on the reported device and identifying the relevant configuration or limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.