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

Method __init__

diffsynth/models/sd3_text_encoder.py:8–9  ·  view source on GitHub ↗
(self, vocab_size=49408)

Source from the content-addressed store, hash-verified

6
7class SD3TextEncoder1(SDTextEncoder):
8 def __init__(self, vocab_size=49408):
9 super().__init__(vocab_size=vocab_size)
10
11 def forward(self, input_ids, clip_skip=2, extra_mask=None):
12 embeds = self.token_embedding(input_ids)

Callers 2

__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected