MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

↓ 1 callersMethod_prepare_sampling_schedule
(self, latent_shape)
lightx2v_train/lightx2v_train/trainers/dmd.py:156
↓ 1 callersMethod_prepare_seq_parallel_rope
(self, rope_cos_sin, idx_ar, idx_gen)
lightx2v/models/networks/hidream_o1_image/infer/pre_infer.py:175
↓ 1 callersMethod_prepare_sound_segment
(self, sound_latents, text_segment, vision_segment, device)
lightx2v/models/networks/cosmos3/infer/pre_infer.py:124
↓ 1 callersMethod_prepare_state
(self)
lightx2v/models/runners/wan/wan_dreamzero_runner.py:289
↓ 1 callersMethod_prepare_teacher_forcing_mask
we will divide the token sequence into the following format [1 latent frame] [1 latent frame] ... [1 latent frame] We use fle
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/causal_model.py:441
↓ 1 callersMethod_prepare_text_segment
(self, input_ids, device)
lightx2v/models/networks/cosmos3/infer/pre_infer.py:72
↓ 1 callersMethod_prepare_tiles
( self, latent: torch.Tensor, tiling_config: TilingConfig | None = None, )
lightx2v/models/video_encoders/hf/ltx2/video_vae/video_vae.py:707
↓ 1 callersMethod_prepare_video_cache
(self, first_frame_latents, context, context_mask)
lightx2v/models/networks/wan/fastwam_model.py:112
↓ 1 callersMethod_prepare_video_latents
Prepare video latents for denoising. Args: video_latent_shape: Shape of video latents (C, F, H, W) - batch dimension rem
lightx2v/models/schedulers/ltx2/scheduler.py:495
↓ 1 callersMethod_prepare_vision_segment
(self, latents, text_segment, device, condition_frame_indexes=None)
lightx2v/models/networks/cosmos3/infer/pre_infer.py:87
↓ 1 callersMethod_prepend_clip_context
(self, weights, inputs, pre_out)
lightx2v/models/networks/wan/infer/infinitetalk/pre_infer.py:39
↓ 1 callersMethod_preprocess_image
Preprocess image for VAE encoding.
lightx2v/models/runners/longcat_image/longcat_image_runner.py:179
↓ 1 callersMethod_preprocess_inpaint_mask_image
(self, image_processor, mask_img, reference_img, max_image_area, target_shape)
lightx2v/models/runners/flux2/flux2_runner.py:167
↓ 1 callersMethod_probe_mxfp8_fuse_availability
Probe once whether MXFP8 fused ops can run on this device. Returns False (with a warning) if the kernel is unavailable or the GPU is
lightx2v/models/networks/wan/infer/mxfp8_fuse.py:25
↓ 1 callersMethod_probe_video
(self, video_path)
lightx2v/models/runners/seedvr/seedvr_runner.py:145
↓ 1 callersMethod_probe_video_hw
Return (height, width) of the first video stream in ``path``, or None.
lightx2v/models/runners/ltx2/ltx2_runner.py:310
↓ 1 callersMethod_process_audio_path
(self, audio_path: str, task_data: Dict[str, Any])
lightx2v/server/services/generation/base.py:91
↓ 1 callersMethod_process_conditioning
Process conditioning inputs.
lightx2v/models/networks/worldmirror/models/models/visual_transformer.py:407
↓ 1 callersMethod_process_single_task
(self, task_info: Any)
lightx2v/server/api/server.py:104
↓ 1 callersMethod_process_talk_objects
(self, talk_objects: list, task_data: Dict[str, Any])
lightx2v/server/services/generation/base.py:104
↓ 1 callersMethod_process_vlm_inputs_to_tokens
(self, vlm_inputs)
lightx2v/models/networks/motus/model.py:146
↓ 1 callersMethod_produce_phase1_request_with_retry
(self, room: int, payload: dict[str, Any])
lightx2v/disagg/services/encoder.py:323
↓ 1 callersMethod_produce_phase2_request_with_retry
(self, room: int, payload: dict[str, Any])
lightx2v/disagg/services/transformer.py:337
↓ 1 callersMethod_project_qkv
(self, hidden_states, to_q, to_k, to_v, norm_q, norm_k)
lightx2v/models/networks/hunyuan3d/infer/transformer_infer.py:52
↓ 1 callersMethod_prompt_current_action
Minimal CLI UX for interactive MG3 generation.
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:1679
↓ 1 callersMethod_publish_video_segment
(self, videos, start_frame)
lightx2v/models/runners/wan/wan_infinitetalk_runner.py:717
↓ 1 callersMethod_q99_denormalize
(self, values, stat, dim)
lightx2v/models/runners/wan/wan_dreamzero_runner.py:249
↓ 1 callersMethod_q99_normalize
(self, values, stat, dim)
lightx2v/models/runners/wan/wan_dreamzero_runner.py:236
↓ 1 callersMethod_qk_norm_rope_torch
Pure-torch dual-RMSNorm + 3D Neox-RoPE for Q and K. Equivalent to the triton fused_qk_norm_3drope kernel. head_dim layout (input and
lightx2v/models/networks/neopp/infer/transformer_infer.py:294
↓ 1 callersMethod_quant_and_send
对张量进行 FP8 量化并通过通信器发送/接收 参数: tensor: 要量化和发送的张量 hidden_dims: 隐藏维度大小 comm: 通信器对象 use_fp
lightx2v/common/ops/attn/ring_attn.py:263
↓ 1 callersMethod_quantize_action
Quantize continuous motion to discrete action index.
lightx2v/data/worldplay_ar_dataset.py:292
↓ 1 callersMethod_query_gpu_metrics
(self)
lightx2v/disagg/monitor.py:36
↓ 1 callersFunction_random_case
(m, n, k)
test_cases/test_int8_triton_kernels.py:30
↓ 1 callersFunction_rational_for_scale
(scale: float)
lightx2v/models/video_encoders/hf/ltx2/upsampler/spatial_rational_resampler.py:10
↓ 1 callersMethod_rdma_cas
(self, ptr_addr: int, compare_value: int, swap_value: int)
lightx2v/disagg/rdma_buffer.py:158
↓ 1 callersMethod_rdma_faa
(self, ptr_addr: int, add_value: int)
lightx2v/disagg/rdma_buffer.py:135
↓ 1 callersFunction_read_depth_file
Read a single depth file (.npy, .exr, .png). Returns float32 [H, W].
lightx2v/models/networks/worldmirror/utils/inference_utils.py:272
↓ 1 callersMethod_read_image
(path)
lightx2v/models/runners/wan/wan_dreamzero_runner.py:301
↓ 1 callersMethod_read_video
(path)
lightx2v/models/runners/wan/wan_dreamzero_runner.py:305
↓ 1 callersMethod_read_video_segment
(self, video_path, start_idx, end_idx)
lightx2v/models/runners/seedvr/seedvr_runner.py:178
↓ 1 callersFunction_read_window_frames
Read all frames from merged windows.
lightx2v/models/networks/worldmirror/utils/video_utils.py:360
↓ 1 callersMethod_receive_byte_chunks
(self, total_length: int)
lightx2v/server/services/distributed_utils.py:112
↓ 1 callersMethod_reconnect_phase1_meta_buffer
(self)
lightx2v/disagg/services/encoder.py:308
↓ 1 callersMethod_reconnect_phase1_request_buffer
(self)
lightx2v/disagg/services/transformer.py:279
↓ 1 callersMethod_reconnect_phase2_meta_buffer
(self)
lightx2v/disagg/services/transformer.py:322
↓ 1 callersMethod_reconnect_request_buffer
(self)
lightx2v/disagg/services/encoder.py:251
↓ 1 callersMethod_refresh_caching_records
(self)
lightx2v/models/schedulers/flux2/feature_caching/scheduler.py:9
↓ 1 callersMethod_refresh_local_host_aliases
(self)
lightx2v/disagg/services/controller.py:104
↓ 1 callersMethod_refresh_scheduler_from_config
(self)
lightx2v/models/runners/bagel/bagel_runner.py:118
↓ 1 callersMethod_register_cam_for_single_block
(block, lora_path=None)
lightx2v/models/networks/wan/weights/lingbot/transformer_weights.py:28
↓ 1 callersMethod_register_causal_audio_encoder
(self, config)
lightx2v/models/networks/wan/weights/s2v/pre_weights.py:26
↓ 1 callersMethod_register_frame_packer
(self)
lightx2v/models/networks/wan/weights/s2v/pre_weights.py:81
↓ 1 callersMethod_register_label
(self)
lightx2v/utils/torch_trace_profiler.py:221
↓ 1 callersMethod_register_lingbot_cam_layers
(self, lora_path=None)
lightx2v/models/networks/wan/weights/lingbot/transformer_weights.py:15
↓ 1 callersMethod_register_lora
(self, lora_path, strength)
lightx2v/models/networks/base_model.py:357
↓ 1 callersMethod_relative_position_bucket
(self, rel_pos)
lightx2v/models/input_encoders/hf/wan/t5/model.py:433
↓ 1 callersMethod_relative_position_bucket
(self, rel_pos)
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/t5.py:208
↓ 1 callersMethod_release_pin_buffers
Free per-leaf pinned CPU buffers (used by lazy_load path).
lightx2v/models/networks/worldmirror/model.py:808
↓ 1 callersMethod_release_transformer_phase2_mgr
(self)
lightx2v/disagg/services/data_mgr_sidecar.py:308
↓ 1 callersMethod_remove_cond_video_temp_path
(self)
lightx2v/models/runners/wan/wan_infinitetalk_runner.py:315
↓ 1 callersMethod_replace_padded_with_learnable_registers
(self, hidden_states: torch.Tensor, attention_mask: torch.Tensor)
lightx2v/models/input_encoders/hf/ltx2/gemma/embeddings_connector.py:131
↓ 1 callersMethod_replace_rmsnorm_with_kernel
Replace RMSNorm layers with fused kernel
lightx2v/models/input_encoders/lightllm/qwen25_text_encoder_kernel.py:138
↓ 1 callersMethod_report_stage_metrics_to_controller
(self, stage_name: str, config: dict[str, Any])
lightx2v/disagg/services/transformer.py:128
↓ 1 callersMethod_report_stage_metrics_to_controller
(self, stage_name: str, config: dict[str, Any])
lightx2v/disagg/services/encoder.py:101
↓ 1 callersFunction_resample_audio
(container: av.container.Container, audio_stream: av.audio.AudioStream, frame_in: av.AudioFrame)
lightx2v/utils/ltx2_media_io.py:159
↓ 1 callersMethod_reset_pools
Reset metadata/state of existing pools while keeping allocated buffers resident.
lightx2v/common/kvcache/manager.py:272
↓ 1 callersMethod_reset_qp
(self)
lightx2v/disagg/rdma_client.py:113
↓ 1 callersMethod_reshape_cross_kv
(k, v, num_heads, head_dim, batch_size, seq_len)
lightx2v/models/networks/hunyuan3d/infer/transformer_infer.py:42
↓ 1 callersMethod_reshape_img_attn
(self, img_attn, world_size, shard_seqlen, shard_heads, hidden_dims, seq_p_group, use_fp8_comm)
lightx2v/common/ops/attn/ulysses_attn.py:767
↓ 1 callersMethod_reshape_self_qkv
(q, k, v, num_heads, head_dim, batch_size, seq_len)
lightx2v/models/networks/hunyuan3d/infer/transformer_infer.py:30
↓ 1 callersFunction_resize_for_clarity
Resize frame for clarity calculation (480p for better accuracy).
lightx2v/models/networks/worldmirror/utils/video_utils.py:181
↓ 1 callersFunction_resize_for_flow
(frame, long_edge=320)
lightx2v/models/networks/worldmirror/utils/video_utils.py:170
↓ 1 callersMethod_resize_frames
(self, frames, height, width)
lightx2v/models/runners/wan/wan_dreamzero_runner.py:360
↓ 1 callersMethod_resize_i2i_image_latents
(self, image_latents, target_height, target_width, num_channels_latents)
lightx2v/models/schedulers/qwen_image/scheduler.py:549
↓ 1 callersMethod_resize_i2i_image_latents
(self, image_latents, target_height, target_width, target_channels)
lightx2v/models/schedulers/z_image/scheduler.py:467
↓ 1 callersMethod_resizecrop
(self, image, th, tw)
lightx2v/models/runners/wan/wan_matrix_game2_runner.py:178
↓ 1 callersMethod_resolve_action_output_path
(self)
lightx2v/models/runners/wan/fastwam_runner.py:280
↓ 1 callersMethod_resolve_action_output_path
(self)
lightx2v/models/runners/motus/motus_runner.py:140
↓ 1 callersMethod_resolve_camera_files
(self, image_path)
lightx2v/models/runners/wan/wan_dreamzero_runner.py:315
↓ 1 callersMethod_resolve_checkpoint_path
(self)
lightx2v/models/networks/motus/model.py:354
↓ 1 callersMethod_resolve_ema_decay
(self, current_iter)
lightx2v_train/lightx2v_train/trainers/dopsd.py:81
↓ 1 callersMethod_resolve_expected_frames
(self)
lightx2v/models/runners/wan/wan_infinitetalk_runner.py:572
↓ 1 callersMethod_resolve_gid_index
(self)
lightx2v/disagg/rdma_server.py:92
↓ 1 callersMethod_resolve_gid_index
(self)
lightx2v/disagg/rdma_client.py:103
↓ 1 callersFunction_resolve_mm_input_spec
(weight_module, x)
lightx2v/models/networks/wan/weights/motus/_shared.py:57
↓ 1 callersMethod_resolve_model_dir
Resolve the directory containing config.json + model.safetensors. Preference order (mirrors HY-World-2.0): 1. ``{model_path}/{subfo
lightx2v/models/runners/worldmirror/worldmirror_runner.py:181
↓ 1 callersMethod_resolve_resume
(self)
lightx2v_train/lightx2v_train/trainers/dopsd.py:344
↓ 1 callersMethod_resolve_service_config_json
(self, config_json: str, instance_type: str)
lightx2v/disagg/services/controller.py:750
↓ 1 callersFunction_resolve_service_mode
(args: argparse.Namespace, raw_cfg: dict)
lightx2v/disagg/examples/run_service.py:81
↓ 1 callersFunction_resolve_target_size
(height, width, ref_image_paths, keep_original_aspect)
lightx2v/models/networks/hidream_o1_image/i2i_utils.py:30
↓ 1 callersMethod_resolve_teacher_reference_image
(self, sample, dataset)
lightx2v_train/lightx2v_train/trainers/dopsd.py:221
↓ 1 callersMethod_resolve_torch_dtype
(self)
lightx2v/models/runners/hidream_o1_image/hidream_o1_image_runner.py:81
↓ 1 callersMethod_resolve_train_type
(self)
lightx2v_train/lightx2v_train/trainers/base.py:61
↓ 1 callersFunction_resolve_tune_mode
(cache_path: str, *, tune_mode: bool | None)
lightx2v/common/flashinfer_autotune.py:34
↓ 1 callersMethod_resolve_video_duration
(self)
lightx2v/models/runners/wan/wan_infinitetalk_runner.py:564
↓ 1 callersMethod_resolve_video_path
(self, metadata_path, video)
lightx2v_train/lightx2v_train/data/video_dataset.py:179
↓ 1 callersFunction_resolve_vision_model
(vision_tower: torch.nn.Module)
lightx2v/models/input_encoders/hf/ltx2/gemma/encoders/encoder_configurator.py:140
↓ 1 callersMethod_resolve_wan22_vae_paths
(self)
lightx2v/models/runners/wan/wan_runner.py:821
↓ 1 callersMethod_restore_target_size
(self, sample)
lightx2v/models/runners/seedvr/seedvr_runner.py:352
↓ 1 callersMethod_restore_trainable_model
(self, model)
lightx2v_train/lightx2v_train/trainers/base.py:89
← previousnext →2,901–3,000 of 8,429, ranked by callers