mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-28 20:11:22 +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
|
einsum_node = None
|
||||||
if qkv_nodes is not 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:
|
else:
|
||||||
# Match Albert
|
# Match Albert
|
||||||
qkv_nodes = self.model.match_parent_path(
|
qkv_nodes = self.model.match_parent_path(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue