mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2026-05-17 15:36:46 +08:00
[Chore] remove unused method
This commit is contained in:
parent
27ae2e761c
commit
60d65cdf5c
@ -322,14 +322,6 @@ class Step3TextDecoderLayer(nn.Module):
|
|||||||
|
|
||||||
return hidden_states, residual
|
return hidden_states, residual
|
||||||
|
|
||||||
def compute_attn_output(
|
|
||||||
self,
|
|
||||||
positions: torch.Tensor,
|
|
||||||
hidden_states: torch.Tensor,
|
|
||||||
residual: torch.Tensor | None,
|
|
||||||
):
|
|
||||||
pass
|
|
||||||
|
|
||||||
def compute_ffn_output(self, hidden_states):
|
def compute_ffn_output(self, hidden_states):
|
||||||
assert self.afd_role == "ffn"
|
assert self.afd_role == "ffn"
|
||||||
if self.use_moe:
|
if self.use_moe:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user