MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

↓ 1 callersMethod_get_body_keypoints
(pose_meta)
tools/preprocess/process_pipepline.py:57
↓ 1 callersMethod_get_body_prompt_points
(cls, pose_meta, width, height)
tools/preprocess/process_pipepline.py:149
↓ 1 callersFunction_get_causal_audio_module
(enc_w, audio_dim, out_dim, num_layers, num_token, enable_adain)
lightx2v/models/networks/wan/infer/s2v/causal_audio_encoder.py:36
↓ 1 callersMethod_get_cond_video_duration
(self, video_path)
lightx2v/models/runners/wan/wan_infinitetalk_runner.py:414
↓ 1 callersMethod_get_cuda_tensor_pair
(self, source, is_lazy)
lightx2v_platform/ops/mm/template.py:95
↓ 1 callersMethod_get_device_tensor_pair
(self, source)
lightx2v_platform/ops/mm/template.py:166
↓ 1 callersMethod_get_device_tensor_pair
(self, source)
lightx2v/common/ops/mm/mm_weight.py:1186
↓ 1 callersFunction_get_dtypes
(data)
lightx2v/models/video_encoders/hf/seedvr/common/distributed/ops.py:352
↓ 1 callersMethod_get_expected_total_frames
Resolve how many segments to run. Matrix-Game-3 only supports lengths of `57 + 40 * k`. If a control sequence does not align exactly,
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:1217
↓ 1 callersMethod_get_flashinfer_cos_sin
(self, freqs)
lightx2v/models/networks/wan/infer/dreamzero/transformer_infer.py:185
↓ 1 callersMethod_get_frameid_bbox
(self, fps, frame_timestamps, h, w, crop_box, rng)
lightx2v/models/input_encoders/hf/vace/vace_processor.py:116
↓ 1 callersMethod_get_frameid_bbox_adjust_last
(self, fps, frame_timestamps, h, w, crop_box, rng)
lightx2v/models/input_encoders/hf/vace/vace_processor.py:90
↓ 1 callersMethod_get_frameid_bbox_default
(self, fps, frame_timestamps, h, w, crop_box, rng)
lightx2v/models/input_encoders/hf/vace/vace_processor.py:64
↓ 1 callersMethod_get_intermediate_layers_chunked
(self, x, n=1)
lightx2v/models/networks/worldmirror/models/layers/vision_transformer.py:282
↓ 1 callersMethod_get_intermediate_layers_not_chunked
(self, x, n=1)
lightx2v/models/networks/worldmirror/models/layers/vision_transformer.py:270
↓ 1 callersMethod_get_latent_shape_with_lat_hw
(self, latent_h, latent_w)
lightx2v/disagg/services/encoder.py:443
↓ 1 callersMethod_get_lora_attr_mapping
(self)
lightx2v/common/ops/norm/rms_norm_weight.py:61
↓ 1 callersMethod_get_lora_attr_mapping
(self)
lightx2v/common/ops/norm/layer_norm_weight.py:64
↓ 1 callersMethod_get_lora_attr_mapping
(self)
lightx2v/common/ops/mm/mm_weight.py:171
↓ 1 callersMethod_get_lora_attr_mapping
(self)
lightx2v/common/ops/conv/conv3d.py:31
↓ 1 callersMethod_get_lora_config
(self)
lightx2v_train/lightx2v_train/trainers/base.py:69
↓ 1 callersMethod_get_lora_state_dict_for_save
(self, adapter_name=None)
lightx2v_train/lightx2v_train/model_zoo/base.py:217
↓ 1 callersMethod_get_lora_target_device
(self)
lightx2v/common/ops/mm/mm_weight.py:203
↓ 1 callersFunction_get_max_preds_3d
Get keypoint predictions from 3D score maps. Note: batch size: N num keypoints: K heatmap depth size: D heatmap h
tools/preprocess/pose2d_utils.py:408
↓ 1 callersMethod_get_memory_window
Get memory window boundaries for chunk.
lightx2v/training/worldplay_ar_pipeline.py:194
↓ 1 callersMethod_get_optimizer_config
(self)
lightx2v_train/lightx2v_train/trainers/base.py:72
↓ 1 callersMethod_get_platform_device
(self)
lightx2v/server/services/distributed_utils.py:25
↓ 1 callersFunction_get_png_compression_level
()
lightx2v/server/services/inference/pipeline_image_encode.py:18
↓ 1 callersMethod_get_quant_type_str
(self, gguf_type: gguf.GGMLQuantizationType)
lightx2v/utils/ggml_tensor.py:66
↓ 1 callersMethod_get_rope_positions
(self, length, device)
lightx2v/models/networks/wan/infer/dreamzero/transformer_infer.py:195
↓ 1 callersMethod_get_rotary_pos_embed
(self, video_length, height, width, head_dim, rope_dim_list=None, start_offset=0)
lightx2v/models/networks/wan/infer/matrix_game2/transformer_infer.py:29
↓ 1 callersFunction_get_self_attn_kv_cache_entry
(scheme: str, step: bool)
lightx2v/common/kvcache/manager.py:62
↓ 1 callersFunction_get_shapes
(data)
lightx2v/models/video_encoders/hf/seedvr/common/distributed/ops.py:348
↓ 1 callersMethod_get_sincos_for_grid
(self, H: int, W: int, device: torch.device, dtype: torch.dtype)
lightx2v/models/networks/worldmirror/models/layers/norm_rope.py:78
↓ 1 callersMethod_get_single_i2i_image_latents
(self, input_info)
lightx2v/models/schedulers/qwen_image/scheduler.py:520
↓ 1 callersMethod_get_single_i2i_image_latents
(self, input_info)
lightx2v/models/schedulers/z_image/scheduler.py:445
↓ 1 callersMethod_get_spatial_patch
(self)
lightx2v/models/runners/base_runner.py:265
↓ 1 callersMethod_get_spatial_stride
(self)
lightx2v/models/runners/base_runner.py:255
↓ 1 callersMethod_get_sr_segment_params
(self)
lightx2v/models/runners/seedvr/seedvr_runner.py:123
↓ 1 callersMethod_get_text_lengths
从累积序列长度中获取文本长度 参数: cu_seqlens_qkv: 累积序列长度 img_qkv_len: 图像序列长度 返回: tuple: (文本QKV长度, 文本掩码
lightx2v/common/ops/attn/ring_attn.py:392
↓ 1 callersMethod_get_text_token_count
(self, prompt: str)
lightx2v/models/runners/base_runner.py:275
↓ 1 callersMethod_get_timesteps
(self, num_steps, max_steps: int = 1000)
lightx2v/models/schedulers/wan/audio/scheduler.py:157
↓ 1 callersFunction_get_tokenizer
(processor)
lightx2v/models/runners/hidream_o1_image/hidream_o1_image_runner.py:18
↓ 1 callersFunction_get_torch_dtype
Convert string to torch data type Args: dtype_str: Data type string Returns: Torch data type
tools/extract/lora_merger.py:18
↓ 1 callersFunction_get_torch_dtype
Convert string to torch data type Args: dtype_str: Data type string Returns: Torch data type
tools/extract/lora_extractor.py:18
↓ 1 callersMethod_get_vae_encoder_output
(self, first_frame: torch.Tensor, latent_h: int, latent_w: int)
lightx2v/disagg/services/encoder.py:461
↓ 1 callersMethod_get_video_codec
(video_path)
lightx2v/models/runners/wan/wan_infinitetalk_runner.py:332
↓ 1 callersFunction_get_warp_matrix
Affine matrix used by RTMPose / MMPose top-down models.
tools/preprocess/dwpose_onnx.py:148
↓ 1 callersMethod_group_tiles_by_temporal_slice
Group tiles by their temporal output slice.
lightx2v/models/video_encoders/hf/ltx2/video_vae/video_vae.py:828
↓ 1 callersMethod_guard_extended_scope_fp8_pp_fc1
Auto-fallback ``cam_head.param_predictor.fc1`` to fp32 when the configured fp8 quant scheme needs an ``input_scale`` that the calibrat
lightx2v/models/networks/worldmirror/model.py:307
↓ 1 callersFunction_handle_alpha_channel
Process RGBA images by blending with white background.
lightx2v/models/networks/worldmirror/utils/inference_utils.py:42
↓ 1 callersMethod_handle_push
(self, msg: dict)
lightx2v/disagg/services/data_mgr_sidecar.py:83
↓ 1 callersMethod_handle_req
(self, req: dict)
lightx2v/disagg/services/data_mgr_sidecar.py:333
↓ 1 callersMethod_idx_ar
(self, token_types)
lightx2v/models/networks/hidream_o1_image/infer/pre_infer.py:163
↓ 1 callersMethod_idx_gen
(self, token_types)
lightx2v/models/networks/hidream_o1_image/infer/pre_infer.py:172
↓ 1 callersFunction_image_paths_from_args
(args: argparse.Namespace)
scripts/hidream_o1_image/test_openai_images_client.py:176
↓ 1 callersMethod_image_seq_len
(self, latent_hw)
lightx2v_train/lightx2v_train/schedulers/time_shift.py:26
↓ 1 callersMethod_image_seq_len
(self, latent_hw)
lightx2v_train/lightx2v_train/schedulers/time_shift.py:45
↓ 1 callersFunction_image_to_png_bytes
(image: Any)
lightx2v/server/services/inference/pipeline_image_encode.py:59
↓ 1 callersMethod_infer_action_ffn
(self, action_tokens, action_adaln_modulation, layer_idx)
lightx2v/models/networks/motus/infer/transformer_infer.py:320
↓ 1 callersMethod_infer_action_model_with_kvcache
( self, phase, x, mouse_condition, keyboard_condition, is_caus
lightx2v/models/networks/wan/infer/matrix_game2/transformer_infer.py:122
↓ 1 callersMethod_infer_action_module
ActionModule forward aligned with the official MG3 implementation.
lightx2v/models/networks/wan/infer/matrix_game3/transformer_infer.py:381
↓ 1 callersMethod_infer_attention
(self, block_weights, und_seq, gen_seq, rotary_emb)
lightx2v/models/networks/cosmos3/infer/transformer_infer.py:62
↓ 1 callersMethod_infer_attn
(self, weights, hidden_states, cu_seqlens, position_embeddings)
lightx2v/models/networks/hidream_o1_image/infer/vision_infer.py:143
↓ 1 callersMethod_infer_attn
(self, weights, img_q, img_k, img_v, txt_q, txt_k, txt_v)
lightx2v/models/networks/hunyuan_video/infer/transformer_infer.py:222
↓ 1 callersMethod_infer_audio
Process audio modality data.
lightx2v/models/networks/ltx2/infer/pre_infer.py:158
↓ 1 callersMethod_infer_block
(self, weights, hidden_states, cu_seqlens, position_embeddings)
lightx2v/models/networks/hidream_o1_image/infer/vision_infer.py:138
↓ 1 callersMethod_infer_block
(self, block_weight, vid, txt, vid_shape, txt_shape, emb, cache)
lightx2v/models/networks/seedvr/infer/transformer_infer.py:197
↓ 1 callersMethod_infer_cam_injection
Apply per-block camera plucker injection via scale/shift modulation. From official MG3: c2ws_hidden = cam_injector_layer2(silu(ca
lightx2v/models/networks/wan/infer/matrix_game3/transformer_infer.py:361
↓ 1 callersMethod_infer_cfg_parallel
(self, inputs, update_cache=False, cache_name="pos")
lightx2v/models/networks/wan/dreamzero_model.py:171
↓ 1 callersMethod_infer_cfg_serial
(self, inputs, update_cache=False, cache_name="pos")
lightx2v/models/networks/wan/dreamzero_model.py:148
↓ 1 callersMethod_infer_cond_uncond
(self, sample, z_in, t_pixeldit, precomputed_image_embeds=None, precomputed_deepstack_image_embeds=None, infer
lightx2v/models/networks/hidream_o1_image/model.py:70
↓ 1 callersMethod_infer_cond_uncond
(self, inputs)
lightx2v/models/networks/wan/fastwam_model.py:75
↓ 1 callersMethod_infer_cond_uncond
(self, inputs, infer_condition=True)
lightx2v/models/networks/motus/model.py:607
↓ 1 callersMethod_infer_cross_attention
(self, block_weights, hidden_states, cond)
lightx2v/models/networks/hunyuan3d/infer/transformer_infer.py:141
↓ 1 callersMethod_infer_cross_attention
(self, video_tokens, processed_t5_context, layer_idx)
lightx2v/models/networks/motus/infer/transformer_infer.py:269
↓ 1 callersMethod_infer_decoder_block
(self, weights, hidden_states, rope_cos_sin, idx_ar)
lightx2v/models/networks/hidream_o1_image/infer/transformer_infer.py:84
↓ 1 callersMethod_infer_decoder_block_seq_parallel
(self, weights, hidden_ar, hidden_gen, rope_ar, rope_gen)
lightx2v/models/networks/hidream_o1_image/infer/transformer_infer.py:95
↓ 1 callersMethod_infer_ffn_with_mxfp8_quant_fuse
Run the fused MXFP8 FFN path and update residual in place. The fused residual-gate kernel writes the FFN contribution directly into `
lightx2v/models/networks/wan/infer/mxfp8_fuse.py:166
↓ 1 callersMethod_infer_forward
(self, latent_model_input, timestep, cond, guidance=None)
lightx2v/models/networks/hunyuan3d/model.py:110
↓ 1 callersMethod_infer_img_branch_after_attn
Override to handle per-token modulation in post-attention. Args: weights: Block weights img_attn: Original attention
lightx2v/models/networks/worldplay/infer/transformer_infer.py:203
↓ 1 callersMethod_infer_img_branch_after_attn
Override to handle per-token modulation in post-attention. Args: weights: Block weights img_attn: Original attention
lightx2v/models/networks/worldplay/infer/bi_transformer_infer.py:213
↓ 1 callersMethod_infer_img_branch_after_attn
(self, weights, img_attn, img, img_branch_out)
lightx2v/models/networks/hunyuan_video/infer/transformer_infer.py:250
↓ 1 callersMethod_infer_img_branch_before_attn
Override to handle per-token vec modulation for WorldPlay. When vec is [B, T*H*W, C] (per-frame action conditioning), we need to
lightx2v/models/networks/worldplay/infer/transformer_infer.py:73
↓ 1 callersMethod_infer_img_branch_before_attn
Override to handle per-token vec modulation for WorldPlay BI. When vec is [B, T*H*W, C] (per-frame action conditioning), we need to
lightx2v/models/networks/worldplay/infer/bi_transformer_infer.py:83
↓ 1 callersMethod_infer_img_branch_before_attn
(self, weights, infer_module_out)
lightx2v/models/networks/hunyuan_video/infer/transformer_infer.py:157
↓ 1 callersMethod_infer_joint_attention
( self, pre_infer_out, video_tokens, action_tokens, und_tokens,
lightx2v/models/networks/motus/infer/transformer_infer.py:184
↓ 1 callersMethod_infer_mlp
(self, block_weights, hidden_states)
lightx2v/models/networks/hunyuan3d/infer/transformer_infer.py:164
↓ 1 callersMethod_infer_mlp
(self, weights, hidden_states)
lightx2v/models/networks/hidream_o1_image/infer/vision_infer.py:159
↓ 1 callersMethod_infer_mm_guider_cfg
与 ltx ``multi_modal_guider_denoising_func`` + ``MultiModalGuider.calculate`` 对齐: cond / uncond / perturbed(STG) / isolated-modality 多
lightx2v/models/networks/ltx2/model.py:372
↓ 1 callersMethod_infer_raw_total_frames
Infer sequence length from whichever control tensor is present.
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:1375
↓ 1 callersMethod_infer_self_attention
(self, block_weights, hidden_states)
lightx2v/models/networks/hunyuan3d/infer/transformer_infer.py:126
↓ 1 callersMethod_infer_self_attn
(self, weights, hidden_states, rope_cos_sin, idx_ar)
lightx2v/models/networks/hidream_o1_image/infer/transformer_infer.py:115
↓ 1 callersMethod_infer_self_attn_mg3
Self-attention with memory-aware indexed RoPE.
lightx2v/models/networks/wan/infer/matrix_game3/transformer_infer.py:272
↓ 1 callersMethod_infer_self_attn_seq_parallel
(self, weights, hidden_ar, hidden_gen, rope_ar, rope_gen)
lightx2v/models/networks/hidream_o1_image/infer/transformer_infer.py:123
↓ 1 callersMethod_infer_seq_parallel
(self, block_weights, pre_infer_out)
lightx2v/models/networks/hidream_o1_image/infer/transformer_infer.py:54
↓ 1 callersMethod_infer_t2i_i2i
(self, inputs, pre_infer_out)
lightx2v/models/networks/neopp/model.py:92
↓ 1 callersMethod_infer_token_refiner_attn
(self, attention_module, q, k, v, mask)
lightx2v/models/networks/hunyuan_video/infer/pre_infer.py:168
↓ 1 callersMethod_infer_txt_branch_after_attn
(self, weights, txt_attn, txt, txt_branch_out)
lightx2v/models/networks/hunyuan_video/infer/transformer_infer.py:260
↓ 1 callersMethod_infer_txt_branch_before_attn
Override to handle per-token vec modulation for WorldPlay. For text branch, we use global vec (first token or mean) since text
lightx2v/models/networks/worldplay/infer/transformer_infer.py:157
← previousnext →2,501–2,600 of 8,429, ranked by callers