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

Method forward

inference/modules/fused_mlp.py:41–42  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

39 self.offset = 0x0F if self.w_bit == 4 else 0x03
40
41 def forward(self, x):
42 return self.down_proj(self.our_llama_mlp(x))
43
44 def our_llama_mlp(self, x):
45 out_shape = x.shape[:-1] + (self.intermediate_size,)

Callers

nothing calls this directly

Calls 1

our_llama_mlpMethod · 0.95

Tested by

no test coverage detected