-
Notifications
You must be signed in to change notification settings - Fork 164
Description
What happened?
I ran the same workflow in ComfyUI desktop and portable, with the same version of ComfyUI-layerdiffuse (latest version from the main branch, which I suppose is nightly 1.0.4) and got different results when using SDXL Attention Injection.
Log for the desktop version:
comfyui.log
I noticed the following warnings in the console for the desktop version, which doesn't happen in the portable version:
(...)
patch type not recognized lora diffusion_model.input_blocks.4.1.transformer_blocks.1.attn1.to_q.weight
patch type not recognized lora diffusion_model.input_blocks.4.1.transformer_blocks.1.attn1.to_k.weight
patch type not recognized lora diffusion_model.input_blocks.4.1.transformer_blocks.0.attn2.to_q.weight
patch type not recognized lora diffusion_model.input_blocks.4.1.transformer_blocks.0.attn1.to_v.weight
patch type not recognized lora diffusion_model.input_blocks.4.1.transformer_blocks.0.attn1.to_q.weight
patch type not recognized lora diffusion_model.input_blocks.4.1.transformer_blocks.0.attn1.to_k.weight
loaded completely 5388.290207672119 4897.0483474731445 True
0%| | 0/4 [00:00<?, ?it/s]C:\Users\SimplesmenteIA\Documents\ComfyUI\.venv\Lib\site-packages\torchsde\_brownian\brownian_interval.py:608: UserWarning: Should have tb<=t1 but got tb=14.614644050598145 and t1=14.614643.
warnings.warn(f"Should have {tb_name}<=t1 but got {tb_name}={tb} and t1={self._end}.")
100%|██████████| 4/4 [01:09<00:00, 17.47s/it]
Requested to load AutoencoderKL
loaded completely 2048.9999771118164 159.55708122253418 True
100%|██████████| 8/8 [00:01<00:00, 5.74it/s]
Prompt executed in 108.38 seconds
When I use SDXL Conv Injection instead in the Layer Diffuse Apply node, there is some transparency in the result in both ComfyUI versions.
Steps to reproduce the problem
- Download the first image attached above, then import it into ComfyUI portable version.
- Run the workflow.
- Repeat step 1, but import it into ComfyUI desktop version instead.
- Run the workflow and notice how the image is different.
- Change the
configin theLayer Diffuse Applynode toSDXL Conv Attention, then run the workflow again to get a result with transparency.
What should have happened?
The same workflow should result in the same image in both ComfyUI versions.
Commit where the problem happens
ComfyUI portable: a3100c8452862e914996648e0fbc56098ab26b60
ComfyUI desktop: v0.3.29
ComfyUI-layerdiffuse: b4f6a9e024064a4489f774a8b91049ce0b606ea3 for both versions.
Sysinfo
OS: nt (Windows 10)
Graphics Card: NVIDIA GeForce RTX 3080 Laptop GPU
Console logs
See log file attached in the description above.Workflow json file
Using SDXL Conv Injection instead:

Additional information
All workflows were tested with the same Layer Diffuse models. I also compared the ComfyUI-layerdiffuse folders for both ComfyUI with git diff, but they're identical, which leads me to believe this might be an incompatibility issue with ComfyUI desktop.

