mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-29 08:17:04 +08:00
cruft
Signed-off-by: NickLucche <nlucches@redhat.com>
This commit is contained in:
parent
1429a5e9a8
commit
ad85bded6c
@ -533,7 +533,6 @@ class WhisperEncoder(nn.Module):
|
|||||||
self.embed_positions.weight.copy_(
|
self.embed_positions.weight.copy_(
|
||||||
sinusoids(*self.embed_positions.weight.shape)
|
sinusoids(*self.embed_positions.weight.shape)
|
||||||
)
|
)
|
||||||
# TODO check raise ValueError(f"Unknown pos_embed_type: {self.pos_embed_type}")
|
|
||||||
|
|
||||||
def forward_conv(
|
def forward_conv(
|
||||||
self, input_features: torch.Tensor | list[torch.Tensor]
|
self, input_features: torch.Tensor | list[torch.Tensor]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user