MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

↓ 1 callersMethod_restore_vae
(self)
lightx2v/utils/async_vae.py:76
↓ 1 callersMethod_ring_shape
(self)
lightx2v/common/kvcache/quant.py:147
↓ 1 callersMethod_ring_shape
(self)
lightx2v/common/kvcache/rolling.py:39
↓ 1 callersFunction_rope
(pos: torch.Tensor, dim: int, theta: int)
lightx2v/models/networks/ernie_image/infer/pre_infer.py:36
↓ 1 callersMethod_rope_freqs_for_cache_range
( self, freqs, h, w, world_size, rank, token_start,
lightx2v/models/networks/wan/infer/audio/transformer_infer.py:181
↓ 1 callersMethod_rope_positions
(self, seq_len, device)
lightx2v/models/networks/hidream_o1_image/infer/pre_infer.py:218
↓ 1 callersMethod_rot_pos_emb
(self, weights, grid_thw)
lightx2v/models/networks/hidream_o1_image/infer/vision_infer.py:65
↓ 1 callersMethod_rotary_emb
(self, grid_id: torch.Tensor)
lightx2v/models/networks/wan/infer/lingbot_va/pre_infer.py:41
↓ 1 callersMethod_rotary_embedding
(self, seqlen, dim, device)
lightx2v/models/networks/hidream_o1_image/infer/vision_infer.py:60
↓ 1 callersMethod_rotate_features
Performs feature rotation by splitting and recombining feature dimensions. Args: x: Input tensor to rotate. Returns:
lightx2v/models/networks/worldmirror/models/layers/rope.py:116
↓ 1 callersFunction_rotate_half
(x: torch.Tensor)
lightx2v/models/networks/worldmirror/models/layers/norm_rope.py:26
↓ 1 callersMethod_run_action_denoising
(self, inputs, action_shape, action_infer_steps, seed)
lightx2v/models/runners/wan/fastwam_runner.py:225
↓ 1 callersMethod_run_action_forward_multichunk_pipeline
(self, input_info)
lightx2v/models/runners/cosmos3/cosmos3_runner.py:785
↓ 1 callersMethod_run_dit_clip
(self, dit_inputs)
lightx2v/models/runners/wan/wan_infinitetalk_runner.py:553
↓ 1 callersMethod_run_downsampling_path
(self, h: torch.Tensor)
lightx2v/models/video_encoders/hf/ltx2/audio_vae/audio_vae.py:280
↓ 1 callersFunction_run_infer_once
(args: argparse.Namespace, payload: dict[str, Any], worker_id: int)
lightx2v/disagg/examples/run_controller.py:118
↓ 1 callersMethod_run_inference
(self, img_paths, target_size, prior_cam_path, prior_depth_path)
lightx2v/models/runners/worldmirror/worldmirror_runner.py:371
↓ 1 callersMethod_run_infinitetalk_cfg_parallel
(self, inputs, branches)
lightx2v/models/networks/wan/infinitetalk_model.py:82
↓ 1 callersMethod_run_infinitetalk_cfg_serial
(self, inputs, branches)
lightx2v/models/networks/wan/infinitetalk_model.py:79
↓ 1 callersMethod_run_input_encoder_local_rs2v_dynamic
(self)
lightx2v/models/runners/wan/wan_audio_runner.py:505
↓ 1 callersMethod_run_pipeline_disagg_decode
(self)
lightx2v/models/runners/wan/wan_runner.py:352
↓ 1 callersMethod_run_pipeline_disagg_decode
(self, input_info)
lightx2v/models/runners/qwen_image/qwen_image_runner.py:529
↓ 1 callersMethod_run_pipeline_disagg_encoder
(self)
lightx2v/models/runners/wan/wan_runner.py:334
↓ 1 callersMethod_run_pipeline_disagg_encoder
(self)
lightx2v/models/runners/qwen_image/qwen_image_runner.py:489
↓ 1 callersMethod_run_pipeline_disagg_transformer
(self)
lightx2v/models/runners/wan/wan_runner.py:343
↓ 1 callersMethod_run_pipeline_disagg_transformer
(self, input_info)
lightx2v/models/runners/qwen_image/qwen_image_runner.py:501
↓ 1 callersMethod_run_pipeline_local
(self)
lightx2v/models/runners/wan/wan_dreamzero_runner.py:716
↓ 1 callersMethod_run_pipeline_local
(self)
lightx2v/models/runners/wan/wan_runner.py:328
↓ 1 callersMethod_run_pipeline_local
(self)
lightx2v/models/runners/wan/wan_lingbot_va_runner.py:461
↓ 1 callersMethod_run_pipeline_local
(self, input_info)
lightx2v/models/runners/qwen_image/qwen_image_runner.py:476
↓ 1 callersFunction_run_server_from_cli
()
lightx2v/disagg/services/data_mgr_sidecar.py:964
↓ 1 callersMethod_run_sr_single_segment
(self)
lightx2v/models/runners/seedvr/seedvr_runner.py:209
↓ 1 callersMethod_run_teacher_inference
(self, current_iter, iter_output_dir)
lightx2v_train/lightx2v_train/trainers/dopsd.py:472
↓ 1 callersMethod_run_transformer_role
Run DiT; send latents to Phase 2 Decoder if configured, else VAE-decode locally.
lightx2v/models/runners/wan/wan_runner.py:303
↓ 1 callersMethod_run_upsampling_path
(self, h: torch.Tensor)
lightx2v/models/video_encoders/hf/ltx2/audio_vae/audio_vae.py:543
↓ 1 callersMethod_s2v_self_attn
(self, phase0, norm_x, seq_lens, freqs)
lightx2v/models/networks/wan/infer/s2v/transformer_infer.py:92
↓ 1 callersMethod_safe_destroy_qp
(qp)
lightx2v/disagg/rdma_server.py:147
↓ 1 callersMethod_sample_exit_indices
(self, num_blocks, num_steps, device)
lightx2v_train/lightx2v_train/trainers/dmd.py:1061
↓ 1 callersMethod_sample_rdma_queue_pending
(self)
lightx2v/disagg/services/controller.py:813
↓ 1 callersMethod_sample_score_sigma
(self, batch_size, denoised_timestep_from, denoised_timestep_to, device, dtype)
lightx2v_train/lightx2v_train/trainers/dmd.py:916
↓ 1 callersMethod_sample_timestep
Sample random timesteps for training.
lightx2v/training/worldplay_ar_pipeline.py:179
↓ 1 callersMethod_save_action_output
(self, action)
lightx2v/models/runners/cosmos3/cosmos3_runner.py:649
↓ 1 callersMethod_save_actions
(self, actions)
lightx2v/models/runners/wan/fastwam_runner.py:337
↓ 1 callersMethod_save_distributed_state
(self, save_dir, iteration)
lightx2v_train/lightx2v_train/trainers/base.py:276
↓ 1 callersMethod_save_distributed_state
(self, save_dir, iteration)
lightx2v_train/lightx2v_train/trainers/dopsd.py:631
↓ 1 callersMethod_save_distributed_state
(self, save_dir, iteration)
lightx2v_train/lightx2v_train/trainers/dmd.py:589
↓ 1 callersMethod_save_frame_tensor
(self, frame, path)
lightx2v/models/runners/cosmos3/cosmos3_runner.py:701
↓ 1 callersFunction_save_frames_parallel
Parallel frame saving.
lightx2v/models/networks/worldmirror/utils/video_utils.py:416
↓ 1 callersMethod_save_full_state_dict
(self, save_dir, denoiser, state_dict)
lightx2v_train/lightx2v_train/model_zoo/base.py:271
↓ 1 callersMethod_save_images
(self, images, input_info, log_prefix="Image saved")
lightx2v/models/runners/bagel/bagel_runner.py:145
↓ 1 callersMethod_save_images
(self, images, input_info)
lightx2v/models/runners/ernie_image/ernie_image_runner.py:193
↓ 1 callersMethod_save_mesh
(self, mesh, save_path: str)
lightx2v/models/runners/hunyuan3d/hunyuan3d_shape_runner.py:208
↓ 1 callersMethod_save_outputs
(self, decoded_video: torch.Tensor, pred_actions: torch.Tensor)
lightx2v/models/runners/motus/motus_runner.py:145
↓ 1 callersMethod_save_sr_segment_video
(self, raw_video, output_path, fps)
lightx2v/models/runners/seedvr/seedvr_runner.py:225
↓ 1 callersMethod_save_training_trajectory
(self, current_iter, student_x0_traj, teacher_x0_traj, latent_ids)
lightx2v_train/lightx2v_train/trainers/dopsd.py:324
↓ 1 callersFunction_save_video
(frames_rgb: List[np.ndarray], out_path: str, fps: float)
tools/preprocess/ltx2.3_preprocess_data.py:287
↓ 1 callersMethod_scale_i2i_noise
(self, image_latents, latent_timestep, noise)
lightx2v/models/schedulers/hidream_o1_image/scheduler.py:139
↓ 1 callersMethod_sdpa_fallback
Fallback to PyTorch Scaled Dot Product Attention when Flash Attention is not available. Args: q: [B*Lq, Nq, C] Query ten
lightx2v_platform/ops/attn/hygon_dcu/flash_attn.py:150
↓ 1 callersMethod_sdpa_fallback
Fallback to PyTorch Scaled Dot Product Attention when Flash Attention is not available. Args: q: [B*Lq, Nq, C] Query ten
lightx2v_platform/ops/attn/enflame_gcu/flash_attn.py:211
↓ 1 callersMethod_seg_idx
(self, original_seq_len, seq_len)
lightx2v/models/networks/wan/infer/s2v/transformer_infer.py:64
↓ 1 callersFunction_select_best_frames
Select best frame for each candidate based on clarity.
lightx2v/models/networks/worldmirror/utils/video_utils.py:391
↓ 1 callersMethod_select_memory_window
Select a random memory window for training. This simulates the AR generation process where we only attend to a window of pre
lightx2v/data/worldplay_ar_dataset.py:358
↓ 1 callersMethod_select_prompt_travel_index
(segments, latent_idx)
lightx2v/models/runners/wan/wan_audio_runner.py:1119
↓ 1 callersMethod_select_target_size
(self, image)
lightx2v/models/runners/wan/wan_infinitetalk_runner.py:449
↓ 1 callersMethod_selective_load_nn
(self, ckpt_state: Dict[str, torch.Tensor])
lightx2v/models/networks/worldmirror/model.py:471
↓ 1 callersMethod_self_attn
(self, attn_w, layer_idx, hidden_states, cos_sin, kv_buf=None)
lightx2v/models/networks/neopp/infer/transformer_infer.py:265
↓ 1 callersFunction_send_to_controller
(payload: dict[str, Any])
lightx2v/disagg/workload.py:185
↓ 1 callersMethod_send_transformer_output_room
(self, room: int)
lightx2v/disagg/services/data_mgr_sidecar.py:252
↓ 1 callersMethod_seq_parallel_chunk_tokens
(self, x, local_len)
lightx2v/models/networks/wan/infer/infinitetalk/transformer_infer.py:74
↓ 1 callersMethod_seq_parallel_post_process
(self, transformer_out)
lightx2v/models/networks/hidream_o1_image/model.py:177
↓ 1 callersMethod_seq_parallel_post_process
All-gather sequence shards (dim=1 for [1, L, C], else dim=0 for [L, C]).
lightx2v/models/networks/wan/s2v_model.py:69
↓ 1 callersMethod_seq_parallel_post_process
(self, noise_pred)
lightx2v/models/networks/qwen_image/model.py:83
↓ 1 callersMethod_seq_parallel_post_process
(self, hidden_states, image_shard_len)
lightx2v/models/networks/z_image/model.py:93
↓ 1 callersMethod_seq_parallel_post_process
(self, x)
lightx2v/models/networks/seedvr/model.py:136
↓ 1 callersMethod_seq_parallel_post_process
(self, x)
lightx2v/models/networks/hunyuan_video/model.py:80
↓ 1 callersMethod_seq_parallel_post_process
(self, transformer_out, pre_infer_out)
lightx2v/models/networks/cosmos3/model.py:76
↓ 1 callersMethod_seq_parallel_post_process
(self, noise_pred)
lightx2v/models/networks/longcat_image/model.py:99
↓ 1 callersMethod_seq_parallel_post_process
(self, noise_pred)
lightx2v/models/networks/flux2/model.py:93
↓ 1 callersMethod_seq_parallel_pre_process
(self, pre_infer_out)
lightx2v/models/networks/hidream_o1_image/model.py:155
↓ 1 callersMethod_seq_parallel_pre_process
Chunk along sequence dim (dim=1), matching Wan2.2 S2V context parallel.
lightx2v/models/networks/wan/s2v_model.py:40
↓ 1 callersMethod_seq_parallel_pre_process
(self, pre_infer_out)
lightx2v/models/networks/wan/audio_model.py:158
↓ 1 callersMethod_seq_parallel_pre_process
(self, pre_infer_out)
lightx2v/models/networks/qwen_image/model.py:72
↓ 1 callersMethod_seq_parallel_pre_process
(self, pre_infer_out)
lightx2v/models/networks/z_image/model.py:77
↓ 1 callersMethod_seq_parallel_pre_process
(self, pre_infer_out)
lightx2v/models/networks/seedvr/model.py:132
↓ 1 callersMethod_seq_parallel_pre_process
(self, pre_infer_out)
lightx2v/models/networks/hunyuan_video/model.py:67
↓ 1 callersMethod_seq_parallel_pre_process
Pre-process for sequence parallel: only split video sequences across ranks. Audio remains global (not split) as it has fewer tokens.
lightx2v/models/networks/ltx2/model.py:464
↓ 1 callersMethod_seq_parallel_pre_process
(self, pre_infer_out)
lightx2v/models/networks/cosmos3/model.py:48
↓ 1 callersMethod_seq_parallel_pre_process
(self, pre_infer_out)
lightx2v/models/networks/longcat_image/model.py:83
↓ 1 callersMethod_seq_parallel_pre_process
(self, pre_infer_out)
lightx2v/models/networks/flux2/model.py:82
↓ 1 callersMethod_seq_parallel_pre_process_ar
AR-specific seq_parallel pre-processing. Extends base to also split per-token vec and cos_sin.
lightx2v/models/networks/worldplay/ar_model.py:237
↓ 1 callersMethod_serialize_config
(self, config: Dict[str, Any])
lightx2v/disagg/rdma_buffer.py:248
↓ 1 callersMethod_set_gradient_sync
(self, enabled)
lightx2v_train/lightx2v_train/trainers/dopsd.py:468
↓ 1 callersMethod_set_gradient_sync
(self, enabled)
lightx2v_train/lightx2v_train/trainers/dmd.py:451
↓ 1 callersMethod_setup_mask_generator
(self)
lightx2v/common/ops/attn/general_sparse_attn.py:29
↓ 1 callersMethod_setup_operator
(self)
lightx2v/common/ops/attn/general_sparse_attn.py:26
↓ 1 callersMethod_setup_routes
(self)
lightx2v/server/api/server.py:31
↓ 1 callersMethod_should_init_empty_model
Determine if model should be initialized empty (for LoRA). Returns: bool: True if model should be initialized empty
lightx2v/models/networks/base_model.py:274
↓ 1 callersMethod_should_load_weights
Determine if current rank should load weights from disk. Returns: bool: True if current rank should load weights
lightx2v/models/networks/base_model.py:284
↓ 1 callersMethod_should_stream_save_video
(self)
lightx2v/models/runners/wan/wan_infinitetalk_runner.py:692
↓ 1 callersMethod_sigma_to_t
(sigma, log_sigmas)
lightx2v/models/schedulers/cosmos3/scheduler.py:237
← previousnext →3,001–3,100 of 8,429, ranked by callers