Skip to content

Commit

Permalink
Fixing bug in create_default_sdpa() in wav2vec2 builder. (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
kauterry authored Oct 17, 2023
1 parent 4604d73 commit 8442edc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fairseq2/models/wav2vec2/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def build_sdpa(self) -> SDPA:
dtype=self.dtype,
)

return create_default_sdpa(self.config.attn_dropout_p)
return create_default_sdpa(attn_dropout_p=self.config.attn_dropout_p)

def build_conformer_conv(self) -> ConformerConvolution:
return ConformerConvolution(
Expand Down

0 comments on commit 8442edc

Please sign in to comment.