MCPcopy Create free account
hub / github.com/tdrussell/diffusion-pipe / __init__

Method __init__

models/cosmos_predict2.py:578–580  ·  view source on GitHub ↗
(self, llm_adapter)

Source from the content-addressed store, hash-verified

576
577class LLMAdapterLayer(nn.Module):
578 def __init__(self, llm_adapter):
579 super().__init__()
580 self.llm_adapter = llm_adapter
581
582 @torch.autocast('cuda', dtype=AUTOCAST_DTYPE)
583 def forward(self, inputs):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected