Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix diffusers attention register (#1131)
This PR is done: - [x] Fix: #1105 - [x] 修复 onediff_quant 的 from_pretrained 兼容 diffusers >= 0.29.1: siliconflow/onediff-quant#39 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Enhanced attention mechanism to automatically revert to a standard processor when using specific processor types from the `diffusers` library. - Introduced new command-line arguments for the text-to-image script: `--compile_text_encoder` and `--graph`, allowing for more flexible model compilation options. - **Bug Fixes** - Improved handling of processor types to ensure better compatibility and functionality within the attention processing framework. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information