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

Method forward

inference/modules/fused_norm.py:16–21  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

14 self.variance_epsilon = eps
15
16 def forward(self, x):
17 output = torch.empty_like(x)
18 awq_inference_engine.layernorm_forward_cuda(
19 x, self.weight, output, self.variance_epsilon
20 )
21 return output
22
23
24def make_quant_norm(model):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected