Cosmetic fix to AttentionFusion (#12329)

This commit is contained in:
Hariharan Seshadri 2022-07-27 12:43:50 -07:00 committed by GitHub
parent 1163294699
commit e2eeffeafb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(