MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

Methodforward
(self, *args, **kwargs)
lightx2v/models/networks/seedvr/utils/attention.py:34
Methodforward
(self, hidden_states)
lightx2v/models/audio_encoders/hf/cosmos3/sound_tokenizer.py:18
Methodforward
(self, hidden_state)
lightx2v/models/audio_encoders/hf/cosmos3/sound_tokenizer.py:36
Methodforward
(self, hidden_state)
lightx2v/models/audio_encoders/hf/cosmos3/sound_tokenizer.py:63
Methodforward
(self, hidden_state)
lightx2v/models/audio_encoders/hf/cosmos3/sound_tokenizer.py:91
Methodforward
Args: video_fhw: [frame, height, width] a list of 3 integers representing the shape of the video Args: txt_length: [bs] a list of 1 i
lightx2v/models/schedulers/qwen_image/scheduler.py:250
Methodforward
Args: video_fhw: [frame, height, width] a list of 3 integers representing the shape of the video Args: txt_length: [bs] a list of 1 i
lightx2v/models/schedulers/qwen_image/scheduler.py:346
Methodforward
Args: video_fhw: [frame, height, width] a list of 3 integers representing the shape of the video Args: txt_length: [bs] a list of 1 i
lightx2v/models/schedulers/z_image/scheduler.py:257
Methodforward
Compute rotary embeddings from position IDs. Args: ids: Position IDs tensor [L, 3] Returns: (freqs_cos, freq
lightx2v/models/schedulers/longcat_image/scheduler.py:198
Methodforward
(self, hidden_states)
lightx2v/models/input_encoders/lightllm/qwen25_text_encoder_kernel.py:157
Methodforward
(self, input_tensor)
lightx2v/models/input_encoders/hf/q_linear.py:55
Methodforward
(self, input_tensor)
lightx2v/models/input_encoders/hf/q_linear.py:115
Methodforward
(self, input_tensor)
lightx2v/models/input_encoders/hf/q_linear.py:175
Methodforward
(self, input_tensor)
lightx2v/models/input_encoders/hf/q_linear.py:224
Methodforward
(self, input_tensor)
lightx2v/models/input_encoders/hf/q_linear.py:276
Methodforward
(self, input_tensor)
lightx2v/models/input_encoders/hf/q_linear.py:327
Methodforward
(self, input_tensor)
lightx2v/models/input_encoders/hf/q_linear.py:372
Methodforward
(self, x)
lightx2v/models/input_encoders/hf/q_linear.py:422
Methodforward
(self, x)
lightx2v/models/input_encoders/hf/q_linear.py:471
Methodforward
(self, audio_feature, latent_frame)
lightx2v/models/input_encoders/hf/seko_audio/audio_adapter.py:207
Methodforward
(self, audio_feature: torch.Tensor)
lightx2v/models/input_encoders/hf/seko_audio/audio_adapter.py:248
Methodforward
(self, timestep: torch.Tensor)
lightx2v/models/input_encoders/hf/seko_audio/audio_adapter.py:326
Methodforward
(self, image, mask=None, value_range=(-1, 1), **kwargs)
lightx2v/models/input_encoders/hf/hunyuan3d/conditioner.py:93
Methodforward
(self, image, mask=None, value_range=(-1, 1), view_idxs=None)
lightx2v/models/input_encoders/hf/hunyuan3d/conditioner.py:155
Methodforward
(self, image, mask=None, **kwargs)
lightx2v/models/input_encoders/hf/hunyuan3d/conditioner.py:221
Methodforward
(self, image, mask=None, **kwargs)
lightx2v/models/input_encoders/hf/hunyuan3d/conditioner.py:243
Methodforward
(self, x)
lightx2v/models/input_encoders/hf/animate/face_encoder.py:120
Methodforward
(self, x)
lightx2v/models/input_encoders/hf/animate/face_encoder.py:146
Methodforward
(self, input)
lightx2v/models/input_encoders/hf/animate/motion_encoder.py:69
Methodforward
(self, input)
lightx2v/models/input_encoders/hf/animate/motion_encoder.py:87
Methodforward
(self, input)
lightx2v/models/input_encoders/hf/animate/motion_encoder.py:97
Methodforward
(self, input)
lightx2v/models/input_encoders/hf/animate/motion_encoder.py:116
Methodforward
(self, input)
lightx2v/models/input_encoders/hf/animate/motion_encoder.py:139
Methodforward
(self, input)
lightx2v/models/input_encoders/hf/animate/motion_encoder.py:200
Methodforward
(self, x)
lightx2v/models/input_encoders/hf/animate/motion_encoder.py:230
Methodforward
(self, input)
lightx2v/models/input_encoders/hf/animate/motion_encoder.py:270
Methodforward
(self, x)
lightx2v/models/input_encoders/hf/wan/xlm_roberta/model.py:53
Methodforward
(self, x)
lightx2v/models/input_encoders/hf/wan/xlm_roberta/model.py:58
Methodforward
x: [B, L, C].
lightx2v/models/input_encoders/hf/wan/xlm_roberta/model.py:105
Methodforward
(self, x)
lightx2v/models/input_encoders/hf/wan/xlm_roberta/model.py:207
Methodforward
x: [B, L, C].
lightx2v/models/input_encoders/hf/wan/xlm_roberta/model.py:239
Methodforward
(self, x, interpolation=False, use_31_block=False)
lightx2v/models/input_encoders/hf/wan/xlm_roberta/model.py:324
Methodforward
(self, x)
lightx2v/models/input_encoders/hf/wan/t5/model.py:172
Methodforward
(self, x)
lightx2v/models/input_encoders/hf/wan/t5/model.py:183
Methodforward
x: [B, L1, C]. context: [B, L2, C] or None. mask: [B, L2] or [B, L1, L2] or None.
lightx2v/models/input_encoders/hf/wan/t5/model.py:245
Methodforward
(self, x)
lightx2v/models/input_encoders/hf/wan/t5/model.py:329
Methodforward
(self, x, mask=None, pos_bias=None)
lightx2v/models/input_encoders/hf/wan/t5/model.py:366
Methodforward
(self, x, mask=None, encoder_states=None, encoder_mask=None, pos_bias=None)
lightx2v/models/input_encoders/hf/wan/t5/model.py:402
Methodforward
(self, lq, lk)
lightx2v/models/input_encoders/hf/wan/t5/model.py:421
Methodforward
(self, ids, mask=None)
lightx2v/models/input_encoders/hf/wan/t5/model.py:605
Methodforward
(self, ids, mask=None, encoder_states=None, encoder_mask=None)
lightx2v/models/input_encoders/hf/wan/t5/model.py:644
Methodforward
(self, encoder_ids, encoder_mask, decoder_ids, decoder_mask)
lightx2v/models/input_encoders/hf/wan/t5/model.py:717
Methodforward
x: [B, L, C].
lightx2v/models/input_encoders/hf/wan/matrix_game2/clip.py:32
Methodforward
(self, x, mask)
lightx2v/models/input_encoders/hf/wan/matrix_game2/clip.py:68
Methodforward
ids: [B, L] of torch.LongTensor.
lightx2v/models/input_encoders/hf/wan/matrix_game2/clip.py:107
Methodforward
(self, ids)
lightx2v/models/input_encoders/hf/wan/matrix_game2/clip.py:140
Methodforward
( self, input_values, seq_len, attention_mask=None, mask_time_indices=
lightx2v/models/input_encoders/hf/infinitetalk/wav2vec2.py:34
Methodforward
( self, text, use_attention_mask=None, output_hidden_states=False, do_
lightx2v/models/input_encoders/hf/hunyuan15/qwen25/model.py:530
Methodforward
Forward pass for ByT5Mapper. Args: x (Tensor): Input tensor of shape (..., in_dim). Returns: Tensor
lightx2v/models/input_encoders/hf/hunyuan15/byt5/model.py:142
Methodforward
Forward pass for direct image encoding. Args: images: Input images Returns: VisionEncoderModelOutpu
lightx2v/models/input_encoders/hf/hunyuan15/siglip/model.py:219
Methodforward
(self, image_embeds)
lightx2v/models/input_encoders/hf/hunyuan15/siglip/model.py:299
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: torch.Tensor | None = None,
lightx2v/models/input_encoders/hf/ltx2/gemma/embeddings_connector.py:39
Methodforward
Forward pass of Embeddings1DConnector. Args: hidden_states (torch.Tensor): Input tensor of embeddings (shape [batch, seq_
lightx2v/models/input_encoders/hf/ltx2/gemma/embeddings_connector.py:156
Methodforward
(self, hidden_states: torch.Tensor, attention_mask: torch.Tensor, padding_side: str = "left")
lightx2v/models/input_encoders/hf/ltx2/gemma/feature_extractor.py:99
Methodforward
( self, hidden_states: torch.Tensor, attention_mask: torch.Tensor, padding_sid
lightx2v/models/input_encoders/hf/ltx2/gemma/feature_extractor.py:124
Methodforward
Multi-head attention with optional RoPE, perturbation masking, and per-head gating. When ``perturbation_mask`` is all zeros, the expensive que
lightx2v/models/input_encoders/hf/ltx2/gemma/attention.py:173
Methodforward
(self, x: torch.Tensor)
lightx2v/models/input_encoders/hf/ltx2/gemma/feed_forward.py:9
Methodforward
(self, x: torch.Tensor)
lightx2v/models/input_encoders/hf/ltx2/gemma/feed_forward.py:21
Methodforward
Full pipeline: precompute -> embeddings processor.
lightx2v/models/input_encoders/hf/ltx2/gemma/encoders/base_encoder.py:60
Methodforward
(self, x)
lightx2v/models/video_encoders/hf/tae.py:25
Methodforward
(self, x, past)
lightx2v/models/video_encoders/hf/tae.py:36
Methodforward
(self, x)
lightx2v/models/video_encoders/hf/tae.py:46
Methodforward
(self, x)
lightx2v/models/video_encoders/hf/tae.py:57
Methodforward
(self, input)
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:85
Methodforward
(self, x)
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:117
Methodforward
(self, x)
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:186
Methodforward
(self, x: Tensor)
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:243
Methodforward
(self, x)
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:264
Methodforward
(self, x: Tensor)
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:288
Methodforward
(self, x: Tensor)
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:328
Methodforward
Forward pass through the encoder.
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:411
Methodforward
Forward pass through the decoder.
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:493
Methodforward
Forward autoencoder pass. Returns both reconstruction and optionally the posterior.
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:795
Methodforward
Forward process. Args: x: tensor of shape [..., dim] Returns: embedding: an embedding of `x` of shape [...,
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:110
Methodforward
Drop paths (Stochastic Depth) per sample (when applied in main path of residual blocks). This is the same as the DropConnect impl I created f
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:139
Methodforward
(self, x)
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:171
Methodforward
(self, q, kv)
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:185
Methodforward
(self, x, data)
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:226
Methodforward
(self, x: torch.Tensor, data: torch.Tensor)
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:264
Methodforward
(self, qkv)
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:278
Methodforward
(self, x)
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:303
Methodforward
(self, x: torch.Tensor)
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:328
Methodforward
(self, x: torch.Tensor)
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:344
Methodforward
(self, queries=None, query_embeddings=None, latents=None)
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:390
Methodforward
Args: pc (torch.FloatTensor): [B, N, 3] feats (torch.FloatTensor or None): [B, N, C] Returns:
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:559
Methodforward
(self, latents)
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/model.py:289
Methodforward
(self, x, cache_x=None)
lightx2v/models/video_encoders/hf/wan/vae.py:41
Methodforward
(self, x)
lightx2v/models/video_encoders/hf/wan/vae.py:75
Methodforward
Fix bfloat16 support for nearest neighbor interpolation.
lightx2v/models/video_encoders/hf/wan/vae.py:80
Methodforward
(self, x, feat_cache=None, feat_idx=[0])
lightx2v/models/video_encoders/hf/wan/vae.py:122
← previousnext →6,801–6,900 of 8,429, ranked by callers