mirror of
https://github.com/modelscope/FunASR
synced 2025-09-15 14:48:36 +08:00
sdpa bugfix
This commit is contained in:
parent
54e630159d
commit
20d32f68e8
@ -312,7 +312,7 @@ class TextDecoder(nn.Module):
|
||||
n_state,
|
||||
n_head,
|
||||
cross_attention=True,
|
||||
att_type="default",
|
||||
att_type=kwargs.get("att_type", "default"),
|
||||
)
|
||||
for _ in range(n_layer)
|
||||
]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user