MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

↓ 1 callersMethodsample_timestep_or_sigma
(self, num_samples, latent_hw=None)
lightx2v_train/lightx2v_train/schedulers/flow_matching.py:40
↓ 1 callersMethodsave_checkpoint
(self, iteration, save_total_limit)
lightx2v_train/lightx2v_train/trainers/dopsd.py:595
↓ 1 callersFunctionsave_depth_npy
(path: Path, depth_tensor: torch.Tensor)
lightx2v/models/networks/worldmirror/utils/save_utils.py:74
↓ 1 callersFunctionsave_depth_png
(path: Path, depth_tensor: torch.Tensor)
lightx2v/models/networks/worldmirror/utils/save_utils.py:65
↓ 1 callersFunctionsave_file_async
(file: UploadFile, target_dir: Path)
lightx2v/server/api/tasks/image.py:199
↓ 1 callersFunctionsave_lora_weights
Save LoRA weights to file Args: weights: Weights dictionary output_path: Output file path
tools/extract/convert_lightning_to_x2v_lora.py:207
↓ 1 callersFunctionsave_lora_weights
Save LoRA weights Args: lora_weights: LoRA weights dictionary output_path: Output path output_format: Output format
tools/extract/lora_extractor.py:154
↓ 1 callersFunctionsave_model_weights
Save model weights Args: model_weights: Model weights dictionary output_path: Output path output_format: Output form
tools/extract/lora_merger.py:152
↓ 1 callersFunctionsave_model_weights
Save model weights to safetensors format
tools/extract/convert_vigen_to_x2v_model.py:140
↓ 1 callersFunctionsave_normal_png
(path: Path, normal_hwc: torch.Tensor)
lightx2v/models/networks/worldmirror/utils/save_utils.py:81
↓ 1 callersFunctionsave_points_ply
Save point cloud to PLY format from numpy arrays
lightx2v/models/networks/worldmirror/utils/save_utils.py:130
↓ 1 callersFunctionsave_result
(content: bytes, output_path: str)
scripts/server/post_sync_t2i_base64.py:36
↓ 1 callersFunctionsave_results
Save all results with parallel I/O. Returns timing dict.
lightx2v/models/networks/worldmirror/utils/inference_utils.py:679
↓ 1 callersFunctionsave_student_teacher_trajectory_grid
(student_step_images, teacher_step_images, save_path)
lightx2v_train/lightx2v_train/infer/dopsd_trajectory_viz.py:11
↓ 1 callersFunctionsave_to_image
Save the first frame of ComfyUI tensor ``[N, H, W, C]`` (values in ``[0, 1]``) as a static image. Used for ``task=sr`` when conditioning comes fr
lightx2v/utils/utils.py:344
↓ 1 callersMethodscale
(self, sx, sy)
tools/preprocess/pose2d_utils.py:233
↓ 1 callersMethodscratch_forward
(self, features: List[torch.Tensor])
lightx2v/models/networks/worldmirror/models/heads/dense_head.py:65
↓ 1 callersMethodsd3_time_shift
(self, t: torch.Tensor, shift)
lightx2v/models/schedulers/hunyuan_video/scheduler.py:82
↓ 1 callersMethodseed_everything
(self, seed)
lightx2v/models/schedulers/wan/infinitetalk/scheduler.py:29
↓ 1 callersMethodsegment_audio
Segment audio based on frame requirements audio_array is (N, T) tensor
lightx2v/models/runners/wan/wan_audio_runner.py:218
↓ 1 callersFunctionselect_aligned_memory_frames
Select memory frames based on FOV overlap similarity. Simplified version from HY-WorldPlay.
lightx2v/models/runners/worldplay/worldplay_bi_runner.py:44
↓ 1 callersMethodselect_graph
(self, method_name: str, graph_name: str)
lightx2v/utils/custom_compiler.py:148
↓ 1 callersMethodselect_topkv
(self, q_chunk, k, v, topk)
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_processors.py:73
↓ 1 callersMethodsemantic_aware_permutation
(self, query, key, value)
lightx2v/common/ops/attn/svg2_attn.py:282
↓ 1 callersMethodsend_data
( self, room: int, mooncake_session_id: str, sender_data_ptrs: List[int],
lightx2v/disagg/conn.py:304
↓ 1 callersMethodsend_index
(self)
lightx2v_ros/src/visualization/visualization/image_web_viewer_node/main.py:147
↓ 1 callersMethodsend_request
Dispatch request config to services.
lightx2v/disagg/services/controller.py:1872
↓ 1 callersMethodsend_task
(self)
lightx2v_ros/src/visualization/visualization/image_web_viewer_node/main.py:155
↓ 1 callersMethodsend_transformer_output_room
(self, room: int)
lightx2v/disagg/services/data_mgr_sidecar.py:948
↓ 1 callersMethodseq_to_patch
(patch_size, data_seq, latent_num_frames, latent_height, latent_width, batch_size=1)
lightx2v/models/schedulers/wan/lingbot_va/scheduler.py:115
↓ 1 callersMethodserve
(self)
lightx2v/disagg/services/instance_proxy.py:217
↓ 1 callersMethodserver_metadata
(self)
lightx2v/server/services/inference/service.py:75
↓ 1 callersFunctionserver_process
(metric_port=8001)
lightx2v/server/metrics/metrics.py:477
↓ 1 callersFunctionset_ai_device
()
lightx2v_platform/set_ai_device.py:44
↓ 1 callersMethodset_alpha
(self)
lightx2v/common/ops/mm/mm_weight.py:836
↓ 1 callersMethodset_alpha
(self)
lightx2v/common/ops/mm/mm_weight.py:893
↓ 1 callersMethodset_alpha
(self)
lightx2v/common/ops/mm/mm_weight.py:950
↓ 1 callersMethodset_alpha
(self)
lightx2v_kernel/test/mxfp6_mxfp8/test_bench.py:23
↓ 1 callersMethodset_alpha
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_bench.py:23
↓ 1 callersMethodset_alpha
(self)
lightx2v_kernel/test/mxfp4_mxfp4/test_bench.py:23
↓ 1 callersMethodset_animate_encoders
(self, motion_encoder, face_encoder)
lightx2v/models/networks/wan/animate_model.py:21
↓ 1 callersMethodset_area
(self, area)
lightx2v/models/input_encoders/hf/vace/vace_processor.py:19
↓ 1 callersFunctionset_args2config
(args)
lightx2v/utils/set_config.py:38
↓ 1 callersMethodset_begin_index
Sets the begin index for the scheduler. This function should be run from pipeline before the inference. Args: begin_inde
lightx2v/models/schedulers/hidream_o1_image/fm_solvers_unipc.py:142
↓ 1 callersMethodset_causal_slicing
( self, *, split_size: Optional[int], memory_device: _memory_device_t, )
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:1542
↓ 1 callersMethodset_config
(self, config_modify)
lightx2v/shot_runner/shot_base.py:117
↓ 1 callersMethodset_context_frame_indices
Set context frame indices for current chunk.
lightx2v/models/schedulers/worldplay/bi_scheduler.py:152
↓ 1 callersMethodset_cross_attention_processor
(self, processor)
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:384
↓ 1 callersFunctionset_ddp_gradient_sync
(module, enabled)
lightx2v_train/lightx2v_train/runtime/ddp.py:74
↓ 1 callersMethodset_dtype
(self, torch_dtype)
lightx2v/models/schedulers/hidream_o1_image/scheduler.py:107
↓ 1 callersMethodset_guidance_perturbation
Per-forward perturbation for mm_guider: - STG: skip full self-attention on listed block indices (value-only path, ltx SKIP_*_SELF_ATT
lightx2v/models/networks/ltx2/infer/transformer_infer.py:96
↓ 1 callersMethodset_i2i_denoise_strength_timesteps
(self, inputs)
lightx2v/models/schedulers/hidream_o1_image/scheduler.py:133
↓ 1 callersMethodset_i2i_image_shapes
(self)
lightx2v/models/runners/bagel/bagel_runner.py:72
↓ 1 callersMethodset_image_shapes
(self)
lightx2v/models/runners/bagel/bagel_runner.py:87
↓ 1 callersMethodset_img_shapes
(self)
lightx2v/models/runners/z_image/z_image_runner.py:337
↓ 1 callersMethodset_img_shapes
(self)
lightx2v/models/runners/longcat_image/longcat_image_runner.py:365
↓ 1 callersMethodset_img_shapes
(self)
lightx2v/models/runners/flux2/flux2_runner.py:328
↓ 1 callersMethodset_infer_config
( self, attn_mode, rope_type, infer_steps, num_frames, height,
lightx2v/pipeline.py:214
↓ 1 callersMethodset_infer_config_json
(self, config_json)
lightx2v/pipeline.py:264
↓ 1 callersMethodset_init_device
(self)
lightx2v/models/runners/default_runner.py:132
↓ 1 callersMethodset_input_info_latent_shape
(self)
lightx2v/models/runners/wan/wan_vace_runner.py:165
↓ 1 callersFunctionset_language
设置语言
app/utils/i18n.py:194
↓ 1 callersFunctionset_magi_custom_op_mode
(enabled: bool)
lightx2v/common/magi_custom_op_mode.py:6
↓ 1 callersMethodset_max_queue_size
(self, max_queue_size: int)
lightx2v/server/task_manager.py:271
↓ 1 callersMethodset_memory_device
(self, memory_device: _memory_device_t)
lightx2v/models/video_encoders/hf/seedvr/causal_inflation_lib.py:63
↓ 1 callersMethodset_memory_limit
(self, conv_max_mem: Optional[float], norm_max_mem: Optional[float])
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:1559
↓ 1 callersFunctionset_norm_limit
(value: Optional[float] = None)
lightx2v/models/video_encoders/hf/seedvr/global_config.py:10
↓ 1 callersMethodset_random_timesteps
( self, num_steps_min, num_steps_max, sigma_min=0.25, sigma_max=0.95,
lightx2v_train/lightx2v_train/schedulers/dmd_scheduler.py:26
↓ 1 callersMethodset_scheduler
(self, scheduler)
lightx2v/models/networks/wan/fastwam_model.py:40
↓ 1 callersMethodset_shift
(self, shift: float = 1.0)
lightx2v/models/schedulers/wan/audio/scheduler.py:160
↓ 1 callersMethodset_surface_extractor
(self, mc_algo=None)
lightx2v/models/video_encoders/hf/hunyuan3d/decoder.py:70
↓ 1 callersMethodset_t2i_image_shapes
(self)
lightx2v/models/runners/bagel/bagel_runner.py:65
↓ 1 callersMethodset_target_shape
(self)
lightx2v/models/runners/z_image/z_image_runner.py:325
↓ 1 callersMethodset_target_shape
(self)
lightx2v/models/runners/ernie_image/ernie_image_runner.py:132
↓ 1 callersMethodset_target_shape
(self)
lightx2v/models/runners/cosmos3/cosmos3_runner.py:320
↓ 1 callersMethodset_target_shape
(self)
lightx2v/models/runners/longcat_image/longcat_image_runner.py:336
↓ 1 callersMethodset_target_shape
(self)
lightx2v/models/runners/flux2/flux2_runner.py:302
↓ 1 callersMethodset_timesteps
Sets the discrete timesteps used for the diffusion chain (to be run before inference). Args: num_inference_steps (`int`):
lightx2v/models/schedulers/hidream_o1_image/fm_solvers_unipc.py:153
↓ 1 callersMethodset_timesteps
(self, infer_steps=None, device=None, sigmas=None, mu=None, shift=None)
lightx2v/models/schedulers/wan/dreamzero/scheduler.py:53
↓ 1 callersMethodset_timesteps
( self, infer_steps: Union[int, None] = None, device: Union[str, torch.device] = None,
lightx2v/models/schedulers/neopp/scheduler.py:52
↓ 1 callersMethodset_timesteps
(self)
lightx2v/models/schedulers/bagel/scheduler.py:45
↓ 1 callersMethodset_timesteps
Compute distill timestep schedule. For distill model, we use the exact timesteps from HY-WorldPlay: [1000.0, 960.0, 888.8889, 727.272
lightx2v/models/schedulers/worldplay/scheduler.py:41
↓ 1 callersMethodset_timesteps
Compute timestep schedule for AR model. Uses standard flow-matching schedule with shift. Follows the same pattern as HunyuanVideo15Sc
lightx2v/models/schedulers/worldplay/ar_scheduler.py:53
↓ 1 callersMethodset_timesteps
Compute timestep schedule for BI model. Uses standard flow-matching schedule with shift. Same as HunyuanVideo15Scheduler.
lightx2v/models/schedulers/worldplay/bi_scheduler.py:56
↓ 1 callersMethodset_timesteps
(self)
lightx2v/models/schedulers/ernie_image/scheduler.py:32
↓ 1 callersMethodset_timesteps
Set timesteps and generate sigma schedule. This method generates a sigma schedule with token-count-dependent shifting, simil
lightx2v/models/schedulers/ltx2/scheduler.py:802
↓ 1 callersMethodset_timesteps
(self, num_inference_steps=None, device=None, sigmas=None, mu=None)
lightx2v/models/schedulers/cosmos3/scheduler.py:136
↓ 1 callersMethodset_timesteps
(self)
lightx2v/models/schedulers/flux2/scheduler.py:107
↓ 1 callersMethodset_timesteps
(self, num_inference_steps=1000, denoising_strength=1.0, training=False)
lightx2v_train/lightx2v_train/schedulers/flow_matching.py:131
↓ 1 callersMethodset_timesteps
Sets the discrete timesteps used for the diffusion chain (to be run before inference). Args: num_inference_steps (`int`):
lightx2v_train/lightx2v_train/model_zoo/native/wan/utils/fm_solvers_unipc.py:153
↓ 1 callersMethodsetup
(self, resume_ckpt_path=None)
lightx2v_train/lightx2v_train/trainers/dopsd.py:94
↓ 1 callersMethodsetup
(self, resume_ckpt_path=None)
lightx2v_train/lightx2v_train/trainers/dmd.py:652
↓ 1 callersFunctionsetup_libero_config
(libero_root)
lightx2v_ros/src/simulator/simulator/libero_node/observer.py:18
↓ 1 callersMethodshould_alert
(self, gap_ratio_threshold: float, gap_per_event_us: float)
tools/profile/analyze_torch_trace_gap.py:77
↓ 1 callersFunctionshrinkMaskStrict
(mask, block_size=128)
lightx2v/common/ops/attn/radial_attn.py:14
↓ 1 callersFunctionsingle_all_to_all
A function to do all-to-all on a tensor
lightx2v/models/video_encoders/hf/seedvr/common/distributed/ops.py:27
↓ 1 callersMethodsingle_decode
(self, hidden_state, device)
lightx2v/models/video_encoders/hf/wan/vae_sf.py:314
↓ 1 callersMethodsingle_encode
(self, video, device)
lightx2v/models/video_encoders/hf/wan/vae_sf.py:133
↓ 1 callersMethodsingle_encode
(self, video, device)
lightx2v/models/video_encoders/hf/wan/vae_sf.py:309
↓ 1 callersFunctionsinusoidal_embedding_1d
(dim, position)
lightx2v/models/networks/wan/infer/self_forcing/pre_infer.py:18
← previousnext →4,501–4,600 of 8,429, ranked by callers