Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chenpangpang
diffusers
Commits
e75eae37
Unverified
Commit
e75eae37
authored
Mar 03, 2023
by
alvanli
Committed by
GitHub
Mar 03, 2023
Browse files
Bug Fix: Remove explicit message argument in deprecate (#2421)
Remove explicit message argument
parent
5e5ce13e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/diffusers/models/cross_attention.py
src/diffusers/models/cross_attention.py
+1
-1
No files found.
src/diffusers/models/cross_attention.py
View file @
e75eae37
...
...
@@ -260,7 +260,7 @@ class CrossAttention(nn.Module):
deprecate
(
"batch_size=None"
,
"0.0.15"
,
message
=
(
(
"Not passing the `batch_size` parameter to `prepare_attention_mask` can lead to incorrect"
" attention mask preparation and is deprecated behavior. Please make sure to pass `batch_size` to"
" `prepare_attention_mask` when preparing the attention_mask."
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment