NeTI
                                
                                 NeTI copied to clipboard
                                
                                    NeTI copied to clipboard
                            
                            
                            
                        added a fix to models/xti_attention_processor.py
Later versions of diffusers after 0.14.0 do not have models.cross_atttention. Instead they use the models.attention_processor.Attention class. Added compatibility with this new class. Similarly, later versions do not have an argument for cross_attention_norm. Added compatibility for this as well. EDIT: cross_attention_norm on line 38 in the hasattr function should be a string
hasattr(attn, "cross_attention_norm")
Looks good. Would you like to also update the requirements.txt file so new users will use the latest diffusers version?