MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

↓ 1 callersMethod__init__
(self)
lightx2v_ros/src/visualization/visualization/image_web_viewer_node/main.py:26
↓ 1 callersMethod__setattr__
(self, name, value)
lightx2v_train/lightx2v_train/runtime/ddp.py:35
↓ 1 callersMethod_accumulate_temporal_group_into_buffer
Decode and accumulate all tiles of a temporal group into a local buffer. The buffer is local to the group and always starts at time 0
lightx2v/models/video_encoders/hf/ltx2/video_vae/video_vae.py:852
↓ 1 callersMethod_action_encoder
(self, weights, action, timestep_action)
lightx2v/models/networks/wan/infer/dreamzero/pre_infer.py:135
↓ 1 callersFunction_action_pos_encoding
(timesteps, embedding_dim)
lightx2v/models/networks/wan/infer/dreamzero/pre_infer.py:27
↓ 1 callersMethod_ada_layer_norm_zero_single
AdaLayerNormZeroSingle: for single-stream blocks. Returns (norm_hidden_states, gate)
lightx2v/models/networks/longcat_image/infer/transformer_infer.py:59
↓ 1 callersFunction_adaptive_frame_selection
Phase 2: Adaptive threshold allocation with deduplication.
lightx2v/models/networks/worldmirror/utils/video_utils.py:300
↓ 1 callersMethod_add_animate_fuserblock_to_offload_buffers
(self)
lightx2v/models/networks/wan/weights/animate/transformer_weights.py:28
↓ 1 callersMethod_add_audio_adapter_ca_to_offload_buffers
(self)
lightx2v/models/networks/wan/weights/audio/transformer_weights.py:30
↓ 1 callersMethod_add_noise
Add noise to video using flow matching schedule.
lightx2v/training/worldplay_ar_pipeline.py:184
↓ 1 callersMethod_add_noise
(self, original_samples, noise, timestep)
lightx2v/models/schedulers/wan/self_forcing/scheduler.py:79
↓ 1 callersMethod_add_noise
(self, x: torch.Tensor, aug_noise: torch.Tensor, cond_noise_scale: float = 0.0)
lightx2v/models/schedulers/seedvr/scheduler.py:85
↓ 1 callersMethod_add_noise_by_timestep
(self, x0, noise, timestep)
lightx2v_train/lightx2v_train/infer/video.py:428
↓ 1 callersFunction_add_special_tokens
(tokenizer)
lightx2v/models/runners/hidream_o1_image/hidream_o1_image_runner.py:26
↓ 1 callersMethod_adjust_latent_for_grid_splitting
Adjust latent dimensions for optimal 2D grid splitting. Prefers balanced grids like 2x4 or 4x2 over 1x8 or 8x1.
lightx2v/models/runners/wan/wan_runner.py:445
↓ 1 callersMethod_adjust_latent_for_grid_splitting
Adjust latent dimensions for optimal 2D grid splitting. Prefers balanced grids like 2x4 or 4x2 over 1x8 or 8x1.
lightx2v/models/runners/hunyuan_video/hunyuan_video_15_runner.py:152
↓ 1 callersMethod_adjust_output_shape
Adjust output shape to match target dimensions for variable-length audio. This function handles the common case where decoded audio s
lightx2v/models/video_encoders/hf/ltx2/audio_vae/audio_vae.py:498
↓ 1 callersMethod_alloc_local_psn
(self)
lightx2v/disagg/rdma_client.py:106
↓ 1 callersMethod_alloc_qp_with_psn
(self)
lightx2v/disagg/rdma_server.py:157
↓ 1 callersMethod_allocate_slots
(self, layer_id: int, key_size: int)
lightx2v/common/kvcache/fifo.py:53
↓ 1 callersMethod_append_audio_adapter_args
(self, weights, inputs, pre_out)
lightx2v/models/networks/wan/infer/infinitetalk/pre_infer.py:51
↓ 1 callersMethod_append_interactive_segment_controls
Collect one segment worth of controls from stdin in interactive mode.
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:1627
↓ 1 callersMethod_append_ref_masks
(self, inputs, pre_out)
lightx2v/models/networks/wan/infer/infinitetalk/pre_infer.py:91
↓ 1 callersMethod_append_reference_video_latents
IC-LoRA reference video conditioning.
lightx2v/models/schedulers/ltx2/scheduler.py:667
↓ 1 callersMethod_append_robot_state_to_context
(self, context, context_mask, robot_state)
lightx2v/models/networks/wan/fastwam_model.py:102
↓ 1 callersMethod_append_video_guiding_keyframes
Append extra keyframe tokens after the main grid: patchify each [C,1,H,W], set temporal positions from `pixel_frame_idx` (then divide
lightx2v/models/schedulers/ltx2/scheduler.py:614
↓ 1 callersMethod_apply
Override _apply to handle device movement (CPU ↔ XPU) This is called when .to(device) or .cuda() is invoked.
lightx2v_platform/ops/mm/intel_xpu/q_linear.py:87
↓ 1 callersMethod_apply_2d_rotary_pos_emb
Apply 2D Rotary Position Embedding to the patch embeddings.
lightx2v/models/networks/neopp/infer/pre_infer.py:157
↓ 1 callersFunction_apply_adain
Mirror diffusers AdaLayerNorm(chunk_dim=1) used by Wan audio_injector.
lightx2v/models/networks/wan/infer/s2v/audio_inject.py:9
↓ 1 callersMethod_apply_identity_deepen
Return a new Sequential where every nn.ReLU is followed by how_many_each*(IdentityConv2d(k)+ReLU).
lightx2v/models/runners/vsr/utils/TCDecoder.py:231
↓ 1 callersMethod_apply_kernel_optimizations
Apply kernel optimizations to the model
lightx2v/models/input_encoders/lightllm/qwen25_text_encoder_kernel.py:119
↓ 1 callersMethod_apply_key_mapping
Apply key mapping rules to a key.
lightx2v/utils/lora_loader.py:199
↓ 1 callersMethod_apply_motus_defaults
(config)
lightx2v/models/networks/motus/model.py:273
↓ 1 callersMethod_apply_multi_human_audio_rope
(self, q, encoder_k, x_ref_attn_map, grid_t)
lightx2v/models/networks/wan/infer/infinitetalk/transformer_infer.py:238
↓ 1 callersFunction_apply_padding
Apply padding to make tensor square.
lightx2v/models/networks/worldmirror/utils/inference_utils.py:61
↓ 1 callersMethod_apply_prompt_travel_for_latent
(self, latent_idx)
lightx2v/models/runners/wan/wan_audio_runner.py:1184
↓ 1 callersMethod_apply_prope
Apply Projective Positional Encoding to Q, K, V. Args: q: Query tensor [B, L, H, D] or [B, H, L, D] k: Key t
lightx2v/models/networks/worldplay/infer/transformer_infer.py:336
↓ 1 callersMethod_apply_prope
Apply Projective Positional Encoding to Q, K, V. Args: q: Query tensor [B, L, H, D] or [B, H, L, D] k: Key t
lightx2v/models/networks/worldplay/infer/bi_transformer_infer.py:349
↓ 1 callersFunction_apply_qwen_rope_with_flashinfer_eager
(xq, xk, cos_sin_cache)
lightx2v/models/networks/qwen_image/infer/utils.py:26
↓ 1 callersFunction_apply_qwen_rope_with_flashinfer_magi
(xq, xk, cos_sin_cache)
lightx2v/models/networks/qwen_image/infer/utils.py:48
↓ 1 callersMethod_apply_rope
(self, q, k, freqs)
lightx2v/models/networks/wan/infer/dreamzero/transformer_infer.py:221
↓ 1 callersMethod_apply_seedvr_defaults
(self)
lightx2v/models/networks/seedvr/model.py:32
↓ 1 callersFunction_apply_spatial_enhancement
( latents_spatial: torch.Tensor, active_mask: torch.Tensor, config: FLSConfig, step: int,
lightx2v/models/schedulers/fls_enhance.py:194
↓ 1 callersMethod_apply_time_schedule
(self, t: torch.Tensor, timestep_shift: float)
lightx2v/models/schedulers/neopp/scheduler.py:64
↓ 1 callersMethod_apply_torchvision_fix
(self)
lightx2v/models/runners/hunyuan3d/hunyuan3d_shape_runner.py:56
↓ 1 callersMethod_apply_video_rope
(self, q, k, cos_sin_cache)
lightx2v/models/networks/motus/infer/transformer_infer.py:168
↓ 1 callersMethod_apply_weights
Apply weights to weight containers. Args: weight_dict: Optional weight dictionary to apply
lightx2v/models/networks/base_model.py:303
↓ 1 callersMethod_ar_rollout
(self, noise, pos_cond, neg_cond, num_inference_steps, guidance_scale)
lightx2v_train/lightx2v_train/infer/video.py:217
↓ 1 callersFunction_as_bbox_and_text
(item: Any)
lightx2v/models/networks/hidream_o1_image/utils.py:86
↓ 1 callersMethod_attach_remote_shared_memory
(self, shm_name: str)
lightx2v/disagg/services/transformer.py:214
↓ 1 callersMethod_attention
(self, weights, hidden_states, rotary_pos_emb)
lightx2v/models/networks/ernie_image/infer/transformer_infer.py:24
↓ 1 callersMethod_attn_forward
(self, block_weight, vid, txt, vid_shape, txt_shape, cache)
lightx2v/models/networks/seedvr/infer/transformer_infer.py:40
↓ 1 callersMethod_attn_window_forward
(self, block_weight, vid, txt, vid_shape, txt_shape, cache)
lightx2v/models/networks/seedvr/infer/transformer_infer.py:96
↓ 1 callersFunction_audio_frame_to_float
Convert an audio frame to a float32 ndarray with values in [-1, 1] and shape (channels, samples).
lightx2v/utils/ltx2_media_io.py:241
↓ 1 callersMethod_audio_grid_meta
(self, grid_sizes)
lightx2v/models/networks/wan/infer/audio/transformer_infer.py:133
↓ 1 callersMethod_audio_prepare_multi
(self, left_path, right_path, audio_type)
lightx2v/models/runners/wan/wan_infinitetalk_runner.py:274
↓ 1 callersMethod_audio_proj
(self, weights, audio_embeds, audio_embeds_vf)
lightx2v/models/networks/wan/infer/infinitetalk/pre_infer.py:71
↓ 1 callersFunction_bbox_xyxy2cs
(bbox: np.ndarray, padding: float = 1.25)
tools/preprocess/dwpose_onnx.py:169
↓ 1 callersMethod_block
(self, weights, hidden_states, rotary_pos_emb, temb)
lightx2v/models/networks/ernie_image/infer/transformer_infer.py:48
↓ 1 callersMethod_broadcast_byte_chunks
(self, data_bytes: bytes)
lightx2v/server/services/distributed_utils.py:95
↓ 1 callersFunction_broadcast_string
Broadcast a Python string across ranks via a uint8 tensor.
lightx2v/models/runners/worldmirror/worldmirror_runner.py:113
↓ 1 callersMethod_build_action_json_prompt
(description, view_point, num_frames, fps, height, width)
lightx2v/models/runners/cosmos3/cosmos3_runner.py:205
↓ 1 callersMethod_build_ar_denoising_steps
(self, device)
lightx2v_train/lightx2v_train/infer/video.py:384
↓ 1 callersMethod_build_cf_unipc_scheduler
(self, device, num_inference_steps)
lightx2v_train/lightx2v_train/infer/video.py:366
↓ 1 callersMethod_build_clip_context
(self, cond_image)
lightx2v/models/runners/wan/wan_infinitetalk_runner.py:550
↓ 1 callersMethod_build_decode_info
(self, image_shape)
lightx2v/models/runners/bagel/bagel_runner.py:135
↓ 1 callersMethod_build_denoising_steps
(self, device)
lightx2v_train/lightx2v_train/trainers/dmd.py:815
↓ 1 callersMethod_build_dit_weight_dict
(self)
lightx2v/models/runners/hunyuan3d/hunyuan3d_shape_runner.py:83
↓ 1 callersMethod_build_flashinfer_weights
(self)
lightx2v/models/networks/neopp/weights/transformer_weights.py:171
↓ 1 callersFunction_build_fovea_mask
( current_pred_spatial: torch.Tensor, previous_pred_spatial: torch.Tensor, state: FLSState, co
lightx2v/models/schedulers/fls_enhance.py:170
↓ 1 callersFunction_build_generated_requests
(args: argparse.Namespace)
lightx2v/disagg/examples/run_controller.py:353
↓ 1 callersMethod_build_i2av_video_guiding_latents
Encode guiding keyframe images at current target_shape for scheduler.append (stage 1 / 2).
lightx2v/models/runners/ltx2/ltx2_runner.py:667
↓ 1 callersMethod_build_latency_summary
(self, result: dict[str, Any], controller_recv_ts: float)
lightx2v/disagg/services/controller.py:1724
↓ 1 callersMethod_build_lingbot_conditional_dict
(self, weights, inputs, x_tokens: torch.Tensor)
lightx2v/models/networks/wan/infer/lingbot_fast/pre_infer.py:39
↓ 1 callersMethod_build_lingbot_conditional_dict
(self, weights, inputs, x_tokens: torch.Tensor)
lightx2v/models/networks/wan/infer/lingbot/pre_infer.py:7
↓ 1 callersMethod_build_lingbot_dit_cond_dict
(self, action_path: str)
lightx2v/models/runners/wan/wan_runner.py:1063
↓ 1 callersMethod_build_memory_metadata
( self, segment_idx: int, current_start_frame_idx: int, current_end_frame_idx:
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:1810
↓ 1 callersMethod_build_model_inputs
(self, video_latents, action_latents, video_t, action_t, step_index)
lightx2v/models/runners/wan/wan_dreamzero_runner.py:467
↓ 1 callersFunction_build_mp_policy
(mp_config)
lightx2v_train/lightx2v_train/runtime/fsdp.py:26
↓ 1 callersMethod_build_noise_scale_schedule
(self, cfg, num_steps)
lightx2v/models/schedulers/hidream_o1_image/scheduler.py:208
↓ 1 callersMethod_build_noninteractive_controls
(self, payload: dict[str, Any])
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:1572
↓ 1 callersMethod_build_or_get_segment_camera_only
Access just the camera plucker embedding without rebuilding other state.
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:1906
↓ 1 callersFunction_build_parser
()
lightx2v/disagg/examples/run_service.py:13
↓ 1 callersFunction_build_parser
()
lightx2v/disagg/examples/run_user.py:16
↓ 1 callersMethod_build_plucker_embedding
(self, c2ws: torch.Tensor, Ks: torch.Tensor, height: int, width: int, only_rays_d: bool)
lightx2v/models/runners/wan/wan_runner.py:992
↓ 1 callersMethod_build_plucker_from_c2ws
( self, c2ws_seq: torch.Tensor, src_indices: np.ndarray, tgt_indices: np.ndarr
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:1733
↓ 1 callersMethod_build_plucker_from_pose
Build plucker embeddings when poses are already on the target timeline.
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:1783
↓ 1 callersFunction_build_png_response
(result_png: bytes)
lightx2v/server/api/tasks/image.py:53
↓ 1 callersMethod_build_position_ids
(self, image_hw, text_len, device)
lightx2v/models/networks/ernie_image/infer/pre_infer.py:60
↓ 1 callersMethod_build_pytorch_grouped_mm_weights
(self)
lightx2v/models/networks/neopp/weights/transformer_weights.py:161
↓ 1 callersMethod_build_ref_target_masks
(self, human_num, latent_h, latent_w)
lightx2v/models/runners/wan/wan_infinitetalk_runner.py:464
↓ 1 callersFunction_build_runtime_config
(args: argparse.Namespace)
lightx2v/disagg/examples/run_service.py:90
↓ 1 callersMethod_build_service_command
(self, instance_type: str, engine_rank: int, instance_cfg: dict[str, Any], service_config_json: str)
lightx2v/disagg/services/controller.py:150
↓ 1 callersMethod_build_sigma_theta_freqs
Build head-specific RoPE with sigma_theta perturbation as in official MG3.
lightx2v/models/networks/wan/infer/matrix_game3/pre_infer.py:67
↓ 1 callersMethod_build_sr_segments
(self, total_frames, seg_len, overlap)
lightx2v/models/runners/seedvr/seedvr_runner.py:162
↓ 1 callersMethod_build_timestep_tokens
(self, timestep, timestep_action, state, seq_len, action)
lightx2v/models/networks/wan/infer/dreamzero/pre_infer.py:186
↓ 1 callersMethod_build_train_reference_map
(self)
lightx2v_train/lightx2v_train/trainers/dopsd.py:209
↓ 1 callersMethod_build_unipc
(self)
lightx2v/models/schedulers/cosmos3/scheduler.py:509
↓ 1 callersFunction_build_url_response
(request: Request, task_id: str, image_bytes: bytes)
lightx2v/server/api/openai_images.py:148
↓ 1 callersMethod_build_vae_encoder_out
(self, cond_image, frame_num)
lightx2v/models/runners/wan/wan_infinitetalk_runner.py:537
← previousnext →2,201–2,300 of 8,429, ranked by callers