Skip to content

Adds support for z-image #411

Merged
tazlin merged 9 commits intoreleasesfrom
main
Dec 20, 2025
Merged

Adds support for z-image #411
tazlin merged 9 commits intoreleasesfrom
main

Conversation

@tazlin
Copy link
Member

@tazlin tazlin commented Dec 20, 2025

db0 and others added 9 commits December 19, 2025 21:22
The root cause was `comfyui_layerdiffusion.lib_layerdiffusion.attentionsharing.forward` being called from `comfy.ldm.modules.attention.forward` via `n = self.attn1(n, context=context_attn1, value=value_attn1, transformer_options=transformer_options)` which included the `transformer_options` argument - which layerdiffusion did not original account for.

The change allows the function to accept arbitrary kwargs to avoid the runtime error (of an unexpected argument).
I am assuming this was removed due to the issue noted in the previous commit
This is in direct response to the cascade image to image tests failing due to device tensor mismatches. I've made it a toggle as there are hard to predict implications for the worker, and this should help debug further down the line.
@tazlin tazlin added the release:minor Version _.x._ label Dec 20, 2025
@tazlin tazlin merged commit e408557 into releases Dec 20, 2025
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:minor Version _.x._

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants