MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

Method__init__
(self, config)
lightx2v/models/schedulers/qwen_image/scheduler.py:426
Method__init__
( self, theta: float = 256.0, axes_dims: List[int] = (32, 48, 48), axes_lens:
lightx2v/models/schedulers/z_image/scheduler.py:318
Method__init__
(self, config)
lightx2v/models/schedulers/z_image/scheduler.py:363
Method__init__
(self, config)
lightx2v/models/schedulers/worldplay/scheduler.py:18
Method__init__
(self, config)
lightx2v/models/schedulers/worldplay/ar_scheduler.py:23
Method__init__
(self, config)
lightx2v/models/schedulers/worldplay/bi_scheduler.py:24
Method__init__
(self, config)
lightx2v/models/schedulers/seedvr/scheduler.py:27
Method__init__
(self, T: Union[int, float] = 1.0)
lightx2v/models/schedulers/seedvr/utils.py:100
Method__init__
(self, T: Union[int, float])
lightx2v/models/schedulers/seedvr/utils.py:115
Method__init__
( self, T: Union[int, float], timesteps: torch.Tensor, direction: SamplingDire
lightx2v/models/schedulers/seedvr/utils.py:128
Method__init__
( self, T: int, steps: int, shift: float = 1.0, device: torch.device =
lightx2v/models/schedulers/seedvr/utils.py:153
Method__init__
(self, config)
lightx2v/models/schedulers/hunyuan_video/scheduler.py:148
Method__init__
(self, config)
lightx2v/models/schedulers/hunyuan_video/feature_caching/scheduler.py:5
Method__init__
(self, config)
lightx2v/models/schedulers/hunyuan_video/step_distill/scheduler.py:7
Method__init__
(self, config)
lightx2v/models/schedulers/ernie_image/scheduler.py:12
Method__init__
(self, patch_size: int)
lightx2v/models/schedulers/ltx2/scheduler.py:80
Method__init__
( self, patch_size: int, sample_rate: int = 16000, hop_length: int = 160,
lightx2v/models/schedulers/ltx2/scheduler.py:161
Method__init__
Initialize LTX2 scheduler. Args: config: Configuration dictionary containing: - infer_steps: Number of i
lightx2v/models/schedulers/ltx2/scheduler.py:302
Method__init__
( self, num_train_timesteps=1000, beta_start=0.0001, beta_end=0.02, be
lightx2v/models/schedulers/cosmos3/scheduler.py:18
Method__init__
(self, config)
lightx2v/models/schedulers/cosmos3/scheduler.py:491
Method__init__
(self, config)
lightx2v/models/schedulers/longcat_image/scheduler.py:243
Method__init__
(self, config)
lightx2v/models/schedulers/flux2/scheduler.py:68
Method__init__
(self, config)
lightx2v/models/schedulers/flux2/feature_caching/scheduler.py:5
Method__init__
(self, config)
lightx2v/models/schedulers/motus/scheduler.py:9
Method__init__
(self)
lightx2v/models/input_encoders/lightllm/shm_client.py:18
Method__init__
(self, config, device=None)
lightx2v/models/input_encoders/lightllm/qwen25_text_encoder_service.py:32
Method__init__
(self, original_norm, kernel_fn)
lightx2v/models/input_encoders/lightllm/qwen25_text_encoder_kernel.py:151
Method__init__
(self, in_features, out_features, bias=True, dtype=torch.bfloat16)
lightx2v/models/input_encoders/hf/q_linear.py:38
Method__init__
(self, in_features, out_features, bias=True, dtype=torch.bfloat16)
lightx2v/models/input_encoders/hf/q_linear.py:98
Method__init__
(self, in_features, out_features, bias=True, dtype=torch.bfloat16)
lightx2v/models/input_encoders/hf/q_linear.py:158
Method__init__
(self, in_features, out_features, bias=True, dtype=torch.bfloat16)
lightx2v/models/input_encoders/hf/q_linear.py:209
Method__init__
(self, in_features, out_features, bias=True, dtype=torch.bfloat16)
lightx2v/models/input_encoders/hf/q_linear.py:310
Method__init__
(self, in_features, out_features, bias=True, dtype=torch.bfloat16)
lightx2v/models/input_encoders/hf/q_linear.py:352
Method__init__
(self, in_features, out_features, bias=True, dtype=torch.float32)
lightx2v/models/input_encoders/hf/q_linear.py:402
Method__init__
(self, in_features, out_features, bias=True, dtype=torch.float32)
lightx2v/models/input_encoders/hf/q_linear.py:451
Method__init__
( self, audio_feature_dim: int = 768, n_neighbors: tuple = (2, 2), num_tokens:
lightx2v/models/input_encoders/hf/seko_audio/audio_adapter.py:176
Method__init__
( self, in_dim: int, transformer_dim: int, num_tokens: int = 32, trans
lightx2v/models/input_encoders/hf/seko_audio/audio_adapter.py:228
Method__init__
( self, audio_window: float = 1.0, look_ahead: float = 0.0, audio_feat_window_
lightx2v/models/input_encoders/hf/seko_audio/audio_adapter.py:258
Method__init__
(self, dim, time_freq_dim, time_proj_dim)
lightx2v/models/input_encoders/hf/seko_audio/audio_adapter.py:319
Method__init__
(self, model_path, audio_sr, cpu_offload, dummy_model=False)
lightx2v/models/input_encoders/hf/seko_audio/audio_encoder.py:10
Method__init__
( self, version=None, config=None, use_cls_token=True, image_size=224,
lightx2v/models/input_encoders/hf/hunyuan3d/conditioner.py:137
Method__init__
( self, main_image_encoder, additional_image_encoder, )
lightx2v/models/input_encoders/hf/hunyuan3d/conditioner.py:212
Method__init__
(self, main_image_encoder, drop_ratio=0.0)
lightx2v/models/input_encoders/hf/hunyuan3d/conditioner.py:237
Method__init__
(self, size=512, border_ratio=None)
lightx2v/models/input_encoders/hf/hunyuan3d/image_processor.py:123
Method__init__
(self)
lightx2v/models/input_encoders/hf/hunyuan3d/rembg.py:25
Method__init__
(self, image_processor, conditioner, device=AI_DEVICE, dtype=torch.float16)
lightx2v/models/input_encoders/hf/hunyuan3d/encoder.py:28
Method__init__
(self, enable_rembg: bool = True)
lightx2v/models/input_encoders/hf/hunyuan3d/encoder.py:119
Method__init__
(self, chan_in, chan_out, kernel_size=3, stride=1, dilation=1, pad_mode="replicate", **kwargs)
lightx2v/models/input_encoders/hf/animate/face_encoder.py:111
Method__init__
(self, channel, negative_slope=0.2, scale=2**0.5)
lightx2v/models/input_encoders/hf/animate/motion_encoder.py:63
Method__init__
(self, negative_slope=0.2)
lightx2v/models/input_encoders/hf/animate/motion_encoder.py:92
Method__init__
(self, in_channel, out_channel, kernel_size, stride=1, padding=0, bias=True)
lightx2v/models/input_encoders/hf/animate/motion_encoder.py:102
Method__init__
(self, in_dim, out_dim, bias=True, bias_init=0, lr_mul=1, activation=None)
lightx2v/models/input_encoders/hf/animate/motion_encoder.py:124
Method__init__
( self, in_channel, out_channel, kernel_size, downsample=False,
lightx2v/models/input_encoders/hf/animate/motion_encoder.py:153
Method__init__
(self, in_channel, out_channel, blur_kernel=[1, 3, 3, 1])
lightx2v/models/input_encoders/hf/animate/motion_encoder.py:192
Method__init__
(self, size, w_dim=512)
lightx2v/models/input_encoders/hf/animate/motion_encoder.py:211
Method__init__
(self, size, dim=512, dim_motion=20)
lightx2v/models/input_encoders/hf/animate/motion_encoder.py:241
Method__init__
(self, motion_dim)
lightx2v/models/input_encoders/hf/animate/motion_encoder.py:266
Method__init__
(self, motion_dim)
lightx2v/models/input_encoders/hf/animate/motion_encoder.py:283
Method__init__
(self, size, style_dim=512, motion_dim=20)
lightx2v/models/input_encoders/hf/animate/motion_encoder.py:289
Method__init__
(self, device="cpu", model_id="facebook/wav2vec2-base-960h")
lightx2v/models/input_encoders/hf/wan/s2v/audio_encoder.py:53
Method__init__
(self, dim, num_heads, causal=False, attn_dropout=0.0, proj_dropout=0.0, quantized=False, quant_scheme=None, d
lightx2v/models/input_encoders/hf/wan/xlm_roberta/model.py:63
Method__init__
( self, dim, mlp_ratio, num_heads, post_norm=False, causal=Fal
lightx2v/models/input_encoders/hf/wan/xlm_roberta/model.py:141
Method__init__
(self, dim, mlp_ratio, num_heads, activation="gelu", proj_dropout=0.0, norm_eps=1e-5, dtype=torch.float16)
lightx2v/models/input_encoders/hf/wan/xlm_roberta/model.py:218
Method__init__
( self, dtype=torch.float16, image_size=224, patch_size=16, dim=768,
lightx2v/models/input_encoders/hf/wan/xlm_roberta/model.py:263
Method__init__
( self, dtype=torch.float16, embed_dim=1024, image_size=224, patch_siz
lightx2v/models/input_encoders/hf/wan/xlm_roberta/model.py:349
Method__init__
(self, dtype, device, checkpoint_path, clip_quantized, clip_quantized_ckpt, quant_scheme, cpu_offload=False, u
lightx2v/models/input_encoders/hf/wan/xlm_roberta/model.py:462
Method__init__
(self, name, seq_len=None, clean=None, **kwargs)
lightx2v/models/input_encoders/hf/wan/t5/tokenizer.py:36
Method__init__
(self, block_nums, mm_type, lazy_load=False, lazy_load_path=None)
lightx2v/models/input_encoders/hf/wan/t5/model.py:55
Method__init__
(self, block_index, mm_type, block_prefix="blocks", create_cuda_buffer=False, create_cpu_buffer=False, lazy_lo
lightx2v/models/input_encoders/hf/wan/t5/model.py:74
Method__init__
(self, block_index, block_prefix, mm_type, create_cuda_buffer=False, create_cpu_buffer=False, lazy_load=False,
lightx2v/models/input_encoders/hf/wan/t5/model.py:103
Method__init__
(self, block_index, block_prefix, mm_type, create_cuda_buffer=False, create_cpu_buffer=False, lazy_load=False,
lightx2v/models/input_encoders/hf/wan/t5/model.py:126
Method__init__
(self, dim, eps=1e-6, dtype=torch.float16)
lightx2v/models/input_encoders/hf/wan/t5/model.py:177
Method__init__
( self, dim, dim_attn, num_heads, dropout=0.1, quantized=False
lightx2v/models/input_encoders/hf/wan/t5/model.py:191
Method__init__
( self, dim, dim_ffn, dropout=0.1, quantized=False, quant_sche
lightx2v/models/input_encoders/hf/wan/t5/model.py:280
Method__init__
( self, dim, dim_attn, dim_ffn, num_heads, num_buckets,
lightx2v/models/input_encoders/hf/wan/t5/model.py:338
Method__init__
( self, dim, dim_attn, dim_ffn, num_heads, num_buckets,
lightx2v/models/input_encoders/hf/wan/t5/model.py:375
Method__init__
(self, num_buckets, num_heads, bidirectional, dtype=torch.bfloat16, max_dist=128)
lightx2v/models/input_encoders/hf/wan/t5/model.py:411
Method__init__
( self, dtype, vocab, dim, dim_attn, dim_ffn, num_head
lightx2v/models/input_encoders/hf/wan/t5/model.py:453
Method__init__
( self, vocab, dim, dim_attn, dim_ffn, num_heads, num_
lightx2v/models/input_encoders/hf/wan/t5/model.py:613
Method__init__
( self, text_len, dtype=torch.bfloat16, device=torch.device("cuda"), c
lightx2v/models/input_encoders/hf/wan/t5/model.py:787
Method__init__
(self, name, seq_len=None, clean=None, **kwargs)
lightx2v/models/input_encoders/hf/wan/matrix_game2/tokenizers.py:36
Method__init__
(self, dim, num_heads, dropout=0.1, eps=1e-5)
lightx2v/models/input_encoders/hf/wan/matrix_game2/clip.py:17
Method__init__
(self, dim, num_heads, post_norm, dropout=0.1, eps=1e-5)
lightx2v/models/input_encoders/hf/wan/matrix_game2/clip.py:55
Method__init__
(self, vocab_size=250002, max_seq_len=514, type_size=1, pad_id=1, dim=1024, num_heads=16, num_layers=24, post_
lightx2v/models/input_encoders/hf/wan/matrix_game2/clip.py:83
Method__init__
(self, **kwargs)
lightx2v/models/input_encoders/hf/wan/matrix_game2/clip.py:132
Method__init__
( self, dtype=torch.float16, embed_dim=1024, image_size=224, patch_siz
lightx2v/models/input_encoders/hf/wan/matrix_game2/clip.py:154
Method__init__
(self)
lightx2v/models/input_encoders/hf/wan/matrix_game2/conditions.py:185
Method__init__
(self, config)
lightx2v/models/input_encoders/hf/qwen25/qwen25_vlforconditionalgeneration.py:56
Method__init__
(self, model_id, device="cpu", fps=25, sample_rate=16000)
lightx2v/models/input_encoders/hf/infinitetalk/audio_encoder.py:10
Method__init__
(self, config: Wav2Vec2Config)
lightx2v/models/input_encoders/hf/infinitetalk/wav2vec2.py:31
Method__init__
(self, downsample, min_area, max_area, min_fps, max_fps, zero_start, seq_len, keep_last, **kwargs)
lightx2v/models/input_encoders/hf/vace/vace_processor.py:8
Method__init__
(self, config)
lightx2v/models/input_encoders/hf/longcat/longcat_text_encoder.py:73
Method__init__
(self, config)
lightx2v/models/input_encoders/hf/z_image/qwen3_model.py:26
Method__init__
( self, text_encoder_type: str, max_length: int, text_encoder_precision: Optio
lightx2v/models/input_encoders/hf/hunyuan15/qwen25/model.py:214
Method__init__
( self, text_len=1000, dtype=torch.float16, device=torch.device("cpu"),
lightx2v/models/input_encoders/hf/hunyuan15/qwen25/model.py:551
Method__init__
( self, font_path: str = "assets/glyph_sdxl_assets/multilingual_10-lang_idx.json", col
lightx2v/models/input_encoders/hf/hunyuan15/byt5/format_prompt.py:28
Method__init__
(self, in_dim, out_dim, hidden_dim, out_dim1, use_residual=True)
lightx2v/models/input_encoders/hf/hunyuan15/byt5/model.py:131
Method__init__
( self, config, device=torch.device("cpu"), checkpoint_path=None, byt5
lightx2v/models/input_encoders/hf/hunyuan15/byt5/model.py:165
Method__init__
( self, config, device=torch.device("cpu"), checkpoint_path=None, acti
lightx2v/models/input_encoders/hf/hunyuan15/byt5/model.py:377
Method__init__
( self, config, device=torch.device("cpu"), checkpoint_path=None, cpu_
lightx2v/models/input_encoders/hf/hunyuan15/siglip/model.py:233
← previousnext →5,501–5,600 of 8,429, ranked by callers