MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

↓ 1 callersMethodtimestep_embedding
Create sinusoidal timestep embeddings. :param t: a 1-D Tensor of N indices, one per batch element. These ma
lightx2v/models/networks/bagel/modeling_utils.py:90
↓ 1 callersFunctiontimestep_transform
(t, shift=5.0, num_timesteps=1000)
lightx2v/models/schedulers/wan/infinitetalk/scheduler.py:10
↓ 1 callersMethodto
(self, *args, **kwargs)
lightx2v/models/networks/worldmirror/models/heads/dense_head.py:199
↓ 1 callersMethodto
(self, *args, **kwargs)
lightx2v/models/networks/worldmirror/models/heads/camera_head.py:56
↓ 1 callersMethodto_cpu
(self, non_blocking=False)
lightx2v/common/ops/conv/conv3d.py:103
↓ 1 callersMethodto_cpu
(self)
lightx2v/models/input_encoders/hf/wan/xlm_roberta/model.py:504
↓ 1 callersMethodto_cuda
(self, non_blocking=False)
lightx2v/common/ops/conv/conv3d.py:100
↓ 1 callersMethodto_cuda
(self)
lightx2v/models/input_encoders/hf/wan/xlm_roberta/model.py:501
↓ 1 callersMethodto_dict
(self)
lightx2v/models/input_encoders/hf/ltx2/gemma/config.py:71
↓ 1 callersMethodto_torch
(self)
lightx2v/utils/ggml_tensor.py:155
↓ 1 callersMethodto_torch_shape
(self)
lightx2v/models/video_encoders/hf/ltx2/video_vae/video_vae.py:72
↓ 1 callersMethodtokenize_prompt
(self, prompt, negative_prompt=None)
lightx2v/models/runners/cosmos3/cosmos3_runner.py:260
↓ 1 callersMethodtokenize_with_weights
Tokenize the given text and return token IDs and attention weights. Args: text (str): The input string to tokenize.
lightx2v/models/input_encoders/hf/ltx2/gemma/tokenizer.py:26
↓ 1 callersMethodtransfer_sync
Synchronously transfer data to the specified address.
lightx2v/disagg/mooncake.py:183
↓ 1 callersFunctiontriton_centroid_update_sorted_euclid
Fast centroid update for *Euclidean* KMeans assuming cluster IDs are pre-sorted. Parameters ---------- x : Tensor [B, N, D] Input
lightx2v/common/ops/attn/svg2_attn_utils.py:370
↓ 1 callersFunctiontriton_quantize_and_pack_along_last_dim
(data: torch.Tensor, group_size: int, bit: int)
lightx2v/common/kvcache/kernel.py:243
↓ 1 callersMethodtry_claim
(self, label: str)
lightx2v/utils/torch_trace_profiler.py:132
↓ 1 callersMethodtry_init_sockets
(self, max_try=10)
lightx2v/utils/va_recorder.py:367
↓ 1 callersFunctionumt5_xxl
(**kwargs)
lightx2v/models/input_encoders/hf/wan/t5/model.py:769
↓ 1 callersFunctionumt5_xxl
(**kwargs)
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/t5.py:363
↓ 1 callersMethodun_normalize
(self, x: torch.Tensor)
lightx2v/models/video_encoders/hf/ltx2/video_vae/ops.py:74
↓ 1 callersFunctionunconcat
( all: torch.FloatTensor, # (L ... c) vid_len: torch.LongTensor, # (b) txt_len: torch.LongTensor
lightx2v/models/networks/seedvr/utils/na.py:59
↓ 1 callersFunctionunconcat_coalesce
Un-concat vid & txt, and coalesce the repeated txt. e.g. vid [0 1 2 3 4 5 6 7 8] -> 3 splits -> [0 1 2] [3 4 5] [6 7 8]
lightx2v/models/networks/seedvr/utils/na.py:105
↓ 1 callersFunctionunpack_and_dequant_cache_triton
Fused replacement for unpack_and_dequant_cache(...). Args: code: int32 packed tensor with shape [B, H, D, n_packs]. scale: tensor
lightx2v/common/kvcache/kernel.py:355
↓ 1 callersFunctionunpatchify
(x, patch_size)
lightx2v/models/video_encoders/hf/wan/vae_2_2.py:433
↓ 1 callersFunctionunpatchify
Rearrange channels back into spatial dimensions. Inverse of patchify - moves pixels from channels back into patch_size x patch_size blocks (d
lightx2v/models/video_encoders/hf/ltx2/video_vae/ops.py:35
↓ 1 callersMethodunpatchify
(self, x, grid_sizes)
lightx2v/models/networks/wan/infer/post_infer.py:26
↓ 1 callersMethodunpatchify
Unpatchify a tensorized input back to frame format. Args: x (Tensor): Input tensor of shape (N, T, patch_size**2 * C)
lightx2v/models/networks/hunyuan_video/infer/post_infer.py:20
↓ 1 callersFunctionunpatchify_video
(x, grid_sizes, patch_size, out_dim)
lightx2v/models/networks/motus/model.py:32
↓ 1 callersFunctionunproject_depth
Turn the depth map into a 3D point cloud in world space Args: depth: (b, v, h, w, 1) intrinsics: (b, v, 3, 3) c2w: (
lightx2v/models/networks/worldmirror/models/utils/frustum.py:162
↓ 1 callersFunctionupdate_clip_model_status
(model_path_val, model_name)
app/utils/model_handlers.py:582
↓ 1 callersMethodupdate_context_image
(self, image, gen_context, vae_model, vae=True, vit=True)
lightx2v/models/networks/bagel/model.py:535
↓ 1 callersFunctionupdate_dit_status
(model_path_val, model_name, model_type_val)
app/utils/model_handlers.py:573
↓ 1 callersFunctionupdate_high_noise_status
(model_path_val, model_name)
app/utils/model_handlers.py:597
↓ 1 callersMethodupdate_input_info
(self, input_data)
lightx2v/shot_runner/shot_base.py:92
↓ 1 callersFunctionupdate_low_noise_status
(model_path_val, model_name)
app/utils/model_handlers.py:600
↓ 1 callersMethodupdate_out_and_lse
( self, out, lse, block_out, block_lse, slice_=None, )
lightx2v/common/ops/attn/ring_attn.py:237
↓ 1 callersFunctionupdate_scheduler_status
(model_path_val, model_name, model_type_val)
app/utils/model_components.py:573
↓ 1 callersFunctionupdate_t5_model_status
(model_path_val, model_name)
app/utils/model_handlers.py:576
↓ 1 callersMethodupdate_task
(self, task)
lightx2v_ros/src/visualization/visualization/image_web_viewer_node/main.py:42
↓ 1 callersFunctionupdate_vae_status
(model_path_val, model_name, model_type_val)
app/utils/model_components.py:569
↓ 1 callersFunctionupdate_vae_status
(model_path_val, model_name)
app/utils/model_handlers.py:588
↓ 1 callersFunctionupfirdn2d
(input, kernel, up=1, down=1, pad=(0, 0))
lightx2v/models/input_encoders/hf/animate/motion_encoder.py:50
↓ 1 callersFunctionupfirdn2d_native
(input, kernel, up_x, up_y, down_x, down_y, pad_x0, pad_x1, pad_y0, pad_y1)
lightx2v/models/input_encoders/hf/animate/motion_encoder.py:22
↓ 1 callersMethodupload_to_presigned_url
( self, presigned_url: str, file_content: bytes, content_type: str = "applicat
lightx2v/server/services/file_service.py:133
↓ 1 callersMethodupsample_video
Apply upsampling to the latent representation using the provided upsampler, with normalization and un-normalization based on the vide
lightx2v/models/video_encoders/hf/ltx2/model.py:296
↓ 1 callersMethodupscale
(self, scale_factors: SpatioTemporalScaleFactors = VIDEO_SCALE_FACTORS)
lightx2v/models/video_encoders/hf/ltx2/video_vae/video_vae.py:106
↓ 1 callersMethodvace_pre_process
(self, patch_embedding, vace_context)
lightx2v/models/networks/wan/infer/vace/transformer_infer.py:48
↓ 1 callersMethodvae_decode
(self, latents: List[Tensor])
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:1607
↓ 1 callersMethodvae_encode
(self, samples: List[Tensor])
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:1566
↓ 1 callersFunctionvae_to_comfyui_image
Convert VAE decoder output to ComfyUI Image format Args: vae_output: VAE decoder output tensor, typically in range [-1, 1]
lightx2v/utils/utils.py:114
↓ 1 callersFunctionvae_to_comfyui_image_inplace
Convert VAE decoder output to ComfyUI Image format (inplace operation) Args: vae_output: VAE decoder output tensor, typically in ran
lightx2v/utils/utils.py:145
↓ 1 callersMethodvalid_mask
(self, t, padding)
lightx2v/models/vfi/rife/model/loss.py:45
↓ 1 callersFunctionvalidate_args
验证参数并返回路径对象
tools/convert/seko_talk_converter.py:279
↓ 1 callersMethodvalues
(self)
lightx2v_platform/registry_factory.py:40
↓ 1 callersFunctionvideo_to_image_frames
Extracts image frames from a video file at the specified frame rate and saves them as JPEG format. Supports regular video files, webcam captu
lightx2v/models/networks/worldmirror/utils/video_utils.py:13
↓ 1 callersFunctionvideo_to_image_frames_new
Motion-aware frame extraction with local clarity refinement. Strategy: 1. Sparse sampling (~0.5s) with DIS optical flow 2. Adaptive
lightx2v/models/networks/worldmirror/utils/video_utils.py:437
↓ 1 callersMethodwait_for_next_pending_task
(self, timeout: Optional[float] = None)
lightx2v/server/task_manager.py:240
↓ 1 callersMethodwait_next
(self, name, last_seq)
lightx2v_ros/src/visualization/visualization/image_web_viewer_node/main.py:37
↓ 1 callersFunctionwait_task_done
(base_url: str, task_id: str, timeout_seconds: int, poll_interval: float)
scripts/server/post_async_t2i_and_wait.py:44
↓ 1 callersFunctionwait_task_done
(base_url: str, task_id: str, timeout_seconds: int, poll_interval: float)
scripts/server/post_seko_talk_ar.py:53
↓ 1 callersMethodwaveform_to_mel
Convert waveform to log-mel spectrogram [batch, channels, time, n_mels].
lightx2v/models/video_encoders/hf/ltx2/audio_vae/ops.py:60
↓ 1 callersFunctionwavelet_blur
Apply wavelet blur to the input tensor.
lightx2v/models/video_encoders/hf/seedvr/color_fix.py:71
↓ 1 callersFunctionweighted_softmax
(scores, weights)
lightx2v/common/ops/attn/svg2_attn_utils.py:836
↓ 1 callersFunctionwindow
( hid: torch.FloatTensor, # (L c) hid_shape: torch.LongTensor, # (b n) window_fn: Callable[[torc
lightx2v/models/networks/seedvr/utils/na.py:203
↓ 1 callersMethodworker_loop
(self)
lightx2v/server/services/inference/worker.py:188
↓ 1 callersFunctionworld_space_to_camera_space
Convert world space points to pixel space points. Args: world_space_points (torch.Tensor): World space points with shape (b, v1, h,
lightx2v/models/networks/worldmirror/models/utils/frustum.py:146
↓ 1 callersFunctionwrite_dummy_meta_safetensors
Write a lightweight safetensors file that stores only tensor metadata.
tools/convert/export_dummy_meta.py:43
↓ 1 callersFunctionwrite_to_poses
(data_to_json, none_idx, dst_shape, bone_ratio_list, delta_ground_x, delta_ground_y, rescaled_src_ground_x, bo
tools/preprocess/retarget_pose.py:495
MethodA
(self, t: torch.Tensor)
lightx2v/models/schedulers/seedvr/utils.py:107
MethodB
(self, t: torch.Tensor)
lightx2v/models/schedulers/seedvr/utils.py:110
FunctionGET_DTYPE
()
lightx2v_platform/ops/mm/intel_xpu/__init__.py:33
FunctionGET_RUNNING_FLAG
()
lightx2v/utils/envs.py:26
FunctionPYBIND11_MODULE
lightx2v_kernel_xpu/csrc/entry.cpp:41
FunctionRGB2SH
(rgb)
lightx2v/models/networks/worldmirror/models/utils/sh_utils.py:96
FunctionSH2RGB
(sh)
lightx2v/models/networks/worldmirror/models/utils/sh_utils.py:100
MethodT
(self)
lightx2v/models/schedulers/seedvr/utils.py:37
MethodT
(self)
lightx2v/models/schedulers/seedvr/utils.py:104
MethodT
(self)
lightx2v/models/schedulers/seedvr/utils.py:120
FunctionTORCH_LIBRARY_FRAGMENT
lightx2v_kernel/csrc/common_extension.cc:7
Method__aenter__
(self)
lightx2v/utils/profiler.py:90
Method__aenter__
(self)
lightx2v/utils/profiler.py:144
Method__aenter__
(self)
lightx2v/utils/profiler.py:183
Method__aexit__
(self, exc_type, exc_val, exc_tb)
lightx2v/utils/profiler.py:98
Method__aexit__
(self, *args)
lightx2v/utils/profiler.py:147
Method__aexit__
(self, exc_type, exc_val, exc_tb)
lightx2v/utils/profiler.py:190
Method__call__
( self, mesh_path: str, image_path: str, save_path: str, use_remesh: b
tools/postprocess/paint_pipeline.py:181
Method__call__
( self, video_path, refer_image_path, output_path, resolution_area=[12
tools/preprocess/process_pipepline.py:159
Method__call__
Detect + render an OpenPose-style skeleton image. Args: img_rgb: HxWx3 uint8 RGB frame. include_hands: draw 21-point
tools/preprocess/dwpose_onnx.py:451
Method__call__
( self, frames_rgb: List[np.ndarray], include_hands: bool = False, include_fac
tools/preprocess/ltx2.3_preprocess_data.py:172
Method__call__
(self, *args, **kwargs)
tools/preprocess/pose2d.py:34
Method__call__
Process input and estimate 2D keypoints. Args: inputs (Union[str, np.ndarray, List[np.ndarray]]): Input can be file path
tools/preprocess/pose2d.py:386
Method__call__
(self, target_or_name)
lightx2v_platform/registry_factory.py:6
Method__call__
(self, func)
lightx2v/utils/profiler.py:114
Method__call__
(self, func)
lightx2v/utils/profiler.py:150
Method__call__
(self, func)
lightx2v/utils/profiler.py:202
Method__call__
(self, tensor_key: str, tensor_value: torch.Tensor)
lightx2v/utils/ltx2_utils.py:56
Method__call__
(self, target_or_name)
lightx2v/utils/registry_factory.py:9
Method__call__
(self, prompt)
lightx2v/utils/prompt_enhancer.py:45
Method__call__
( self, q, k, v, mask, cu_seqlens_q=None, cu_seqlens_k
lightx2v/common/ops/attn/sparse_operator.py:46
← previousnext →4,701–4,800 of 8,429, ranked by callers