mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-27 17:22:53 +03:00
Update src/diffusers/hooks/taylorseer_cache.py
Co-authored-by: Dhruv Nair <dhruv.nair@gmail.com>
This commit is contained in:
@@ -67,7 +67,7 @@ class TaylorSeerCacheConfig:
|
||||
|
||||
Notes:
|
||||
- Patterns are matched using `re.fullmatch` on the module name.
|
||||
- If `inactive_identifiers` or `active_identifiers` are provided, only matching modules are hooked.
|
||||
- If `skip_predict_identifiers` or `cache_identifiers` are provided, only matching modules are hooked.
|
||||
- If neither is provided, all attention-like modules are hooked by default.
|
||||
- Example of inactive and active usage:
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user