Signed-off-by: NickLucche <nlucches@redhat.com>
This commit is contained in:
NickLucche 2025-12-24 14:23:59 +00:00
parent 1429a5e9a8
commit ad85bded6c

View File

@ -533,7 +533,6 @@ class WhisperEncoder(nn.Module):
self.embed_positions.weight.copy_(
sinusoids(*self.embed_positions.weight.shape)
)
# TODO check raise ValueError(f"Unknown pos_embed_type: {self.pos_embed_type}")
def forward_conv(
self, input_features: torch.Tensor | list[torch.Tensor]