Closed vladmandic closed 3 months ago
I don’t think this is a fully reproducible code snippet to be honest. We don’t know where does shared
come from to be honest.
Also, I think you would want to use the JointAttnProcessor2_0
when using MMDiT.
ah, i missed that it should use JointAttnProcessor2_0
- thanks - closing.
regarding reproducibility, shared.opts.cross_attention_optimization
is just a string so its easier to set desired attention mechanism and test different ones.
Describe the bug
calling
set_attn_processor(attention)
usingAttnProcessor
orAttnProcessor2_0
on
SD3Transformer2DModel
executes without issues, but results in runtime error during inference:Reproduction
Logs
System Info
Who can help?
@yiyixuxu @sayakpaul @DN6