MCPcopy Create free account
hub / github.com/NVlabs/LongLive / forward

Method forward

utils/quant.py:335–337  ·  view source on GitHub ↗
(self, input: torch.Tensor)

Source from the content-addressed store, hash-verified

333 return fp8_autocast_fn(enabled=True, fp8_recipe=self._recipe)
334
335 def forward(self, input: torch.Tensor) -> torch.Tensor:
336 with self._autocast_context():
337 return self.linear(input)
338
339 def extra_repr(self) -> str:
340 return (

Callers

nothing calls this directly

Calls 1

_autocast_contextMethod · 0.95

Tested by

no test coverage detected