mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-23 22:13:38 +00:00
Cosmetic fix to AttentionFusion (#12329)
This commit is contained in:
parent
1163294699
commit
e2eeffeafb
1 changed files with 1 additions and 1 deletions
|
|
@ -345,7 +345,7 @@ class FusionAttention(Fusion):
|
|||
)
|
||||
einsum_node = None
|
||||
if qkv_nodes is not None:
|
||||
(_, matmul_qkv, reshape_qkv, transpose_qkv, matmul_qkv) = qkv_nodes
|
||||
(_, _, reshape_qkv, transpose_qkv, matmul_qkv) = qkv_nodes
|
||||
else:
|
||||
# Match Albert
|
||||
qkv_nodes = self.model.match_parent_path(
|
||||
|
|
|
|||
Loading…
Reference in a new issue