"vscode:/vscode.git/clone" did not exist on "61a4a20da91b7f780a98d3ff8235f1455835ecf2"
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): ...@@ -260,7 +260,7 @@ class CrossAttention(nn.Module):
deprecate( deprecate(
"batch_size=None", "batch_size=None",
"0.0.15", "0.0.15",
message=( (
"Not passing the `batch_size` parameter to `prepare_attention_mask` can lead to incorrect" "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" " attention mask preparation and is deprecated behavior. Please make sure to pass `batch_size` to"
" `prepare_attention_mask` when preparing the attention_mask." " `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