MCPcopy Create free account
hub / github.com/OpenBitSys/BitDistiller / forward

Method forward

inference/models/llama.py:234–235  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

232 self.down_proj = nn.Linear(self.intermediate_size, self.hidden_size, bias=False)
233
234 def forward(self, x):
235 return self.down_proj(F.silu(self.gate_proj(x)) * self.up_proj(x))
236
237
238class TransformerBlock(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected