MCPcopy Create free account
hub / github.com/MeiGen-AI/MultiTalk / init_freqs

Method init_freqs

wan/modules/multitalk_model.py:547–554  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

545 self.init_weights()
546
547 def init_freqs(self):
548 d = self.dim // self.num_heads
549 self.freqs = torch.cat([
550 rope_params(1024, d - 4 * (d // 6)),
551 rope_params(1024, 2 * (d // 6)),
552 rope_params(1024, 2 * (d // 6))
553 ],
554 dim=1)
555
556 def teacache_init(
557 self,

Callers 1

__init__Method · 0.80

Calls 1

rope_paramsFunction · 0.70

Tested by

no test coverage detected