Skip to content

Commit

Permalink
[transformer] fix bidecoder sdpa (#2368)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mddct authored Feb 26, 2024
1 parent 1a3633a commit fbbecfd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wenet/transformer/decoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ def __init__(
):

super().__init__()
self.use_sdpa = use_sdpa
self.tie_word_embedding = tie_word_embedding
self.left_decoder = TransformerDecoder(
vocab_size,
Expand Down

0 comments on commit fbbecfd

Please sign in to comment.