mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-27 17:22:53 +03:00
Improve deprecation error message when using cross_attention import (#2710)
Improve error message
This commit is contained in:
committed by
GitHub
parent
a4b2c2f150
commit
a41850a21d
@@ -32,7 +32,7 @@ from .attention_processor import ( # noqa: F401
|
||||
deprecate(
|
||||
"cross_attention",
|
||||
"0.18.0",
|
||||
"Importing from cross_attention is deprecated. Please import from attention_processor instead.",
|
||||
"Importing from cross_attention is deprecated. Please import from diffusers.models.attention_processor instead.",
|
||||
standard_warn=False,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user