You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched related issues but cannot get the expected help.
2. I have read the FAQ documentation but cannot get the expected help.
3. The bug has not been fixed in the latest version.
Describe the bug
The order of arguments scale and is_causal in the multi_head_attention__default function is different from the original PyTorch API in the 2.1 and 2.2 versions.
Checklist
Describe the bug
The order of arguments
scale
andis_causal
in themulti_head_attention__default
function is different from the original PyTorch API in the 2.1 and 2.2 versions.The mmdeploy's version:
The API in PyTorch 2.1 and 2.2:
This can cause an error at this line since the variable
scale
becomesTrue
in some cases. Dividing by a boolean value is not allowed.Reproduction
Environment
I don't think it's necessary.
Error traceback
No response
The text was updated successfully, but these errors were encountered: