MCPcopy Create free account
hub / github.com/OpenImagingLab/FlashVSR / forward

Method forward

diffsynth/models/hunyuan_dit.py:62–64  ·  view source on GitHub ↗
(self, inputs)

Source from the content-addressed store, hash-verified

60
61class FP32_SiLU(torch.nn.SiLU):
62 def forward(self, inputs):
63 origin_dtype = inputs.dtype
64 return torch.nn.functional.silu(inputs.float(), inplace=False).to(origin_dtype)
65
66
67class HunyuanDiTFinalLayer(torch.nn.Module):

Callers

nothing calls this directly

Calls 1

toMethod · 0.45

Tested by

no test coverage detected