Skip to content

Commit

Permalink
K!=Kv validation fix
Browse files Browse the repository at this point in the history
ghstack-source-id: 5dbbd73acdeed410631da610c81453cdc5e1abcb
Pull Request resolved: fairinternal/xformers#957

__original_commit__ = fairinternal/xformers@5af9cb3
  • Loading branch information
bottler authored and xFormers Bot committed Dec 6, 2023
1 parent 04baa4a commit af2f04b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xformers/ops/fmha/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ def not_supported_reasons(cls, d: Inputs) -> List[str]:
Mq=d.query.shape[1],
Mkv=d.key.shape[1],
K=d.query.shape[-1],
Kv=d.query.shape[-1],
Kv=d.value.shape[-1],
)
device_type = d.query.device.type
dtype = d.query.dtype
Expand Down

0 comments on commit af2f04b

Please sign in to comment.