Unverified Commit e75eae37 authored by alvanli's avatar alvanli Committed by GitHub
Browse files

Bug Fix: Remove explicit message argument in deprecate (#2421)

Remove explicit message argument
parent 5e5ce13e
......@@ -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."
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment