MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

Method__init__
(self, in_dim, out_dim, flf_pos_emb=False)
lightx2v/models/input_encoders/hf/hunyuan15/siglip/model.py:290
Method__init__
(self, config)
lightx2v/models/input_encoders/hf/ernie_image/mistral3_model.py:22
Method__init__
Initialize the simplified text encoder loader. Args: checkpoint_path: Path to the checkpoint file containing text encode
lightx2v/models/input_encoders/hf/ltx2/model.py:67
Method__init__
( self, dim: int, heads: int, dim_head: int, rope_type: LTXRopeType =
lightx2v/models/input_encoders/hf/ltx2/gemma/embeddings_connector.py:16
Method__init__
(self, video_connector: Embeddings1DConnector, audio_connector: Embeddings1DConnector | None = None)
lightx2v/models/input_encoders/hf/ltx2/gemma/embeddings_processor.py:20
Method__init__
Initialize the tokenizer. Args: tokenizer_path (str): Path to the pretrained tokenizer files or model directory.
lightx2v/models/input_encoders/hf/ltx2/gemma/tokenizer.py:11
Method__init__
( self, video_aggregate_embed: nn.Linear, embedding_dim: int, audio_aggregate_
lightx2v/models/input_encoders/hf/ltx2/gemma/feature_extractor.py:113
Method__init__
( self, query_dim: int, context_dim: int | None = None, heads: int = 8,
lightx2v/models/input_encoders/hf/ltx2/gemma/attention.py:137
Method__init__
(self, dim: int, dim_out: int, mult: int = 4)
lightx2v/models/input_encoders/hf/ltx2/gemma/feed_forward.py:14
Method__init__
( self, feature_extractor: torch.nn.Module, embeddings_processor: EmbeddingsProcessor,
lightx2v/models/input_encoders/hf/ltx2/gemma/encoders/base_encoder.py:26
Method__init__
(self, config)
lightx2v/models/input_encoders/hf/flux2/mistral3_model.py:42
Method__init__
(self, config)
lightx2v/models/input_encoders/hf/flux2/qwen3_model.py:18
Method__init__
(self, config)
lightx2v/models/video_encoders/trt/qwen_image/vae_trt.py:61
Method__init__
(self, video_file_path)
lightx2v/models/video_encoders/hf/vid_recon.py:13
Method__init__
(self, video_file_path, width_height, fps=30)
lightx2v/models/video_encoders/hf/vid_recon.py:30
Method__init__
(self, n_in, n_out, act_func)
lightx2v/models/video_encoders/hf/tae.py:30
Method__init__
(self, n_f, stride)
lightx2v/models/video_encoders/hf/tae.py:52
Method__init__
Initialize pretrained TAEHV from the given checkpoint. Arg: checkpoint_path: path to weight file to load. taehv.pth for Hunyuan,
lightx2v/models/video_encoders/hf/tae.py:163
Method__init__
(self, dim, channel_first=True, images=True, bias=False)
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:107
Method__init__
( self, chan_in, chan_out, kernel_size: Union[int, Tuple[int, int, int]],
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:160
Method__init__
(self, in_channels: int)
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:217
Method__init__
(self, in_channels: int, out_channels: int)
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:250
Method__init__
(self, in_channels: int, out_channels: int, add_temporal_downsample: bool = True)
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:280
Method__init__
(self, in_channels: int, out_channels: int, add_temporal_upsample: bool = True)
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:321
Method__init__
( self, z_channels: int, out_channels: int, block_out_channels: Tuple[int, ...
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:441
Method__init__
( self, in_channels: int, out_channels: int, latent_channels: int, blo
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:526
Method__init__
(self, checkpoint_path=None, dtype=torch.float16, device="cuda", cpu_offload=False, parallel=False)
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:804
Method__init__
(self, vae_path="lighttae_hy1_5.pth", dtype=torch.bfloat16)
lightx2v/models/video_encoders/hf/hunyuanvideo15/lighttae_hy15.py:8
Method__init__
(self, vae: ShapeVAE, device=AI_DEVICE, dtype=torch.float16)
lightx2v/models/video_encoders/hf/hunyuan3d/decoder.py:43
Method__init__
(self, mesh_v=None, mesh_f=None)
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/surface_extractors.py:27
Method__init__
The initialization
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:85
Method__init__
(self, drop_prob: float = 0.0, scale_by_keep: bool = True)
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:134
Method__init__
(self, *, heads: int, n_data: Optional[int] = None, width=None, qk_norm=False, norm_layer=nn.LayerNorm)
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:176
Method__init__
( self, *, width: int, heads: int, qkv_bias: bool = True, n_da
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:202
Method__init__
( self, *, n_data: Optional[int] = None, width: int, heads: int,
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:241
Method__init__
(self, *, heads: int, n_ctx: int, width=None, qk_norm=False, norm_layer=nn.LayerNorm)
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:271
Method__init__
(self, *, n_ctx: int, width: int, heads: int, qkv_bias: bool, norm_layer=nn.LayerNorm, qk_norm: bool = False,
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:293
Method__init__
( self, *, n_ctx: int, width: int, heads: int, qkv_bias: bool
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:311
Method__init__
(self, *, n_ctx: int, width: int, layers: int, heads: int, qkv_bias: bool = True, norm_layer=nn.LayerNorm, qk_
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:335
Method__init__
( self, *, num_latents: int, out_channels: int, fourier_embedder: Four
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:351
Method__init__
( self, *, num_latents: int, downsample_ratio: float, pc_size: int,
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:419
Method__init__
(self, topk_mode="mean")
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/volume_decoders.py:271
Method__init__
Initialize a diagonal Gaussian distribution with mean and log-variance parameters. Args: parameters (Union[torch.Tensor,
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/model.py:42
Method__init__
(self, volume_decoder=None, surface_extractor=None)
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/model.py:180
Method__init__
(self, topk=None)
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_processors.py:36
Method__init__
(self, pretrained_path=None, z_dim=16)
lightx2v/models/video_encoders/hf/wan/vae_sf.py:156
Method__init__
(self, *args, **kwargs)
lightx2v/models/video_encoders/hf/wan/vae.py:29
Method__init__
(self, dim, channel_first=True, images=True, bias=False)
lightx2v/models/video_encoders/hf/wan/vae.py:65
Method__init__
(self, dim, mode)
lightx2v/models/video_encoders/hf/wan/vae.py:88
Method__init__
(self, in_dim, out_dim, dropout=0.0)
lightx2v/models/video_encoders/hf/wan/vae.py:203
Method__init__
(self, dim)
lightx2v/models/video_encoders/hf/wan/vae.py:248
Method__init__
(self, dim=128, z_dim=4, dim_mult=[1, 2, 4, 4], num_res_blocks=2, attn_scales=[], temperal_downsample=[True, T
lightx2v/models/video_encoders/hf/wan/vae.py:283
Method__init__
(self, dim=128, z_dim=4, dim_mult=[1, 2, 4, 4], num_res_blocks=2, attn_scales=[], temperal_upsample=[False, Tr
lightx2v/models/video_encoders/hf/wan/vae.py:387
Method__init__
(self, dim=128, z_dim=4, dim_mult=[1, 2, 4, 4], num_res_blocks=2, attn_scales=[], temperal_downsample=[True, T
lightx2v/models/video_encoders/hf/wan/vae.py:503
Method__init__
(self, *args, **kwargs)
lightx2v/models/video_encoders/hf/wan/vae_2_2.py:162
Method__init__
(self, dim, channel_first=True, images=True, bias=False)
lightx2v/models/video_encoders/hf/wan/vae_2_2.py:198
Method__init__
(self, dim, mode)
lightx2v/models/video_encoders/hf/wan/vae_2_2.py:225
Method__init__
(self, in_dim, out_dim, dropout=0.0)
lightx2v/models/video_encoders/hf/wan/vae_2_2.py:332
Method__init__
(self, dim)
lightx2v/models/video_encoders/hf/wan/vae_2_2.py:377
Method__init__
( self, in_channels, out_channels, factor_t, factor_s=1, )
lightx2v/models/video_encoders/hf/wan/vae_2_2.py:450
Method__init__
(self, in_dim, out_dim, dropout, mult, temperal_downsample=False, down_flag=False)
lightx2v/models/video_encoders/hf/wan/vae_2_2.py:547
Method__init__
(self, in_dim, out_dim, dropout, mult, temperal_upsample=False, up_flag=False)
lightx2v/models/video_encoders/hf/wan/vae_2_2.py:580
Method__init__
( self, dim=128, z_dim=4, dim_mult=[1, 2, 4, 4], num_res_blocks=2,
lightx2v/models/video_encoders/hf/wan/vae_2_2.py:618
Method__init__
( self, dim=128, z_dim=4, dim_mult=[1, 2, 4, 4], num_res_blocks=2,
lightx2v/models/video_encoders/hf/wan/vae_2_2.py:729
Method__init__
( self, dim=160, dec_dim=256, z_dim=16, dim_mult=[1, 2, 4, 4],
lightx2v/models/video_encoders/hf/wan/vae_2_2.py:854
Method__init__
( self, z_dim=48, c_dim=160, vae_path=None, dim_mult=[1, 2, 4, 4],
lightx2v/models/video_encoders/hf/wan/vae_2_2.py:1050
Method__init__
(self, vae_path="taew2_2.pth", dtype=torch.bfloat16, device="cuda", need_scaled=False)
lightx2v/models/video_encoders/hf/wan/vae_tiny.py:84
Method__init__
(self, config)
lightx2v/models/video_encoders/hf/bagel/vae.py:10
Method__init__
(self, in_channels: int)
lightx2v/models/video_encoders/hf/bagel/autoencoder.py:39
Method__init__
(self, in_channels: int, out_channels: int)
lightx2v/models/video_encoders/hf/bagel/autoencoder.py:69
Method__init__
(self, in_channels: int)
lightx2v/models/video_encoders/hf/bagel/autoencoder.py:99
Method__init__
(self, in_channels: int)
lightx2v/models/video_encoders/hf/bagel/autoencoder.py:112
Method__init__
( self, ch: int, out_ch: int, ch_mult: list[int], num_res_blocks: int,
lightx2v/models/video_encoders/hf/bagel/autoencoder.py:197
Method__init__
(self, sample: bool = True, chunk_dim: int = 1)
lightx2v/models/video_encoders/hf/bagel/autoencoder.py:276
Method__init__
(self, params: AutoEncoderParams)
lightx2v/models/video_encoders/hf/bagel/autoencoder.py:291
Method__init__
(self, config)
lightx2v/models/video_encoders/hf/qwen_image/vae.py:21
Method__init__
(self, config)
lightx2v/models/video_encoders/hf/z_image/vae.py:30
Method__init__
( self, *args, inflation_mode: _inflation_mode_t = "tail", temporal_up: bool =
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:59
Method__init__
( self, *args, inflation_mode: _inflation_mode_t = "tail", spatial_down: bool
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:156
Method__init__
( self, *args, inflation_mode: _inflation_mode_t = "tail", time_receptive_fiel
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:229
Method__init__
( self, in_channels: int, out_channels: int, dropout: float = 0.0, num
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:334
Method__init__
( self, in_channels: int, out_channels: int, dropout: float = 0.0, num
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:431
Method__init__
( self, in_channels: int, temb_channels: int, dropout: float = 0.0, nu
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:532
Method__init__
( self, in_channels: int = 3, out_channels: int = 3, up_block_types: Tuple[str
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:834
Method__init__
(self, attention: bool = True, *args, **kwargs)
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:989
Method__init__
( self, in_channels: int = 3, out_channels: int = 3, down_block_types: Tuple[s
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:1012
Method__init__
( self, *args, spatial_downsample_factor: int, temporal_downsample_factor: int
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:1486
Method__init__
(self, mean: torch.Tensor, logvar: torch.Tensor)
lightx2v/models/video_encoders/hf/seedvr/types.py:14
Method__init__
( self, *args, inflation_mode: _inflation_mode_t, memory_device: _memory_devic
lightx2v/models/video_encoders/hf/seedvr/causal_inflation_lib.py:45
Method__init__
(self, factor)
lightx2v/models/video_encoders/hf/seedvr/data/image/transforms/divisible_crop.py:9
Method__init__
( self, size: int, downsample_only: bool = False, interpolation: Interpolation
lightx2v/models/video_encoders/hf/seedvr/data/image/transforms/side_resize.py:10
Method__init__
( self, max_area: float, downsample_only: bool = False, interpolation: Interpo
lightx2v/models/video_encoders/hf/seedvr/data/image/transforms/area_resize.py:12
Method__init__
( self, max_area: float, )
lightx2v/models/video_encoders/hf/seedvr/data/image/transforms/area_resize.py:45
Method__init__
( self, scale: float, )
lightx2v/models/video_encoders/hf/seedvr/data/image/transforms/area_resize.py:93
Method__init__
(self, pattern: str, **kwargs)
lightx2v/models/video_encoders/hf/seedvr/data/video/transforms/rearrange.py:5
Method__init__
(self, disable=False, prefix="", cache=None)
lightx2v/models/video_encoders/hf/seedvr/common/cache.py:7
Method__init__
( self, name: str, comm_shape: bool, device: torch.device = None, )
lightx2v/models/video_encoders/hf/seedvr/common/distributed/ops.py:384
Method__init__
(self, config)
lightx2v/models/video_encoders/hf/ernie_image/vae.py:20
Method__init__
( self, checkpoint_path: str, device: torch.device, dtype: torch.dtype = torch
lightx2v/models/video_encoders/hf/ltx2/model.py:32
Method__init__
( self, checkpoint_path: str, device: torch.device, dtype: torch.dtype = torch
lightx2v/models/video_encoders/hf/ltx2/model.py:125
← previousnext →5,601–5,700 of 8,429, ranked by callers