MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

↓ 2 callersFunctiontest_mm
(input_tensor_quant, weight, input_tensor_scale, weight_scale, alpha, bias)
lightx2v_kernel/test/mxfp8_mxfp8/test_mm_tflops.py:18
↓ 2 callersFunctiontest_mm
(input_tensor_quant, weight, input_tensor_scale, weight_scale, alpha, bias)
lightx2v_kernel/test/nvfp4_nvfp4/test_mm_tflops.py:18
↓ 2 callersMethodtimestep_embedder
(self, weights, t)
lightx2v/models/networks/neopp/infer/pre_infer.py:222
↓ 2 callersMethodtimestep_embedding
Create sinusoidal timestep embeddings. :param t: a 1-D Tensor of N indices, one per batch element. These may be fractional. :
lightx2v/models/networks/neopp/infer/pre_infer.py:205
↓ 2 callersMethodto_cpu
(self)
lightx2v/models/video_encoders/hf/wan/vae_2_2.py:1259
↓ 2 callersMethodto_cuda
(self)
lightx2v/models/video_encoders/hf/wan/vae_2_2.py:1271
↓ 2 callersFunctionto_denoised
Convert the sample and its denoising velocity to denoised sample. Returns: Denoised sample
lightx2v/models/networks/ltx2/infer/post_infer.py:16
↓ 2 callersMethodto_device
(self, data, device)
lightx2v/utils/service_utils.py:111
↓ 2 callersFunctionto_mapping_operation
( map_func: Callable[[int, int, int, int, int], Tuple[slice, torch.Tensor]], scale: int, )
lightx2v/models/video_encoders/hf/ltx2/video_vae/video_vae.py:976
↓ 2 callersFunctionto_uint32
(x)
lightx2v/utils/ggml_tensor.py:359
↓ 2 callersMethodto_velocity
Convert the sample and its denoised version to velocity. Returns: Velocity
lightx2v/models/schedulers/ltx2/scheduler.py:859
↓ 2 callersFunctiontriton_centroid_update_cosine
Compute centroids using custom Triton kernel. Args: x_norm (Tensor): (B, N, D) normalized input vectors (float16/float32) cluster
lightx2v/common/ops/attn/svg2_attn_utils.py:140
↓ 2 callersMethodun_normalize
(self, x: torch.Tensor)
lightx2v/models/video_encoders/hf/ltx2/audio_vae/ops.py:85
↓ 2 callersFunctionunpatchify
(x, patch_size)
lightx2v/models/video_encoders/hf/cosmos3/vae.py:433
↓ 2 callersMethodunpatchify
Unpatchify audio latents from [T, D] to [C, T, F].
lightx2v/models/schedulers/ltx2/scheduler.py:196
↓ 2 callersMethodunpatchify
r""" Reconstruct video tensors from patch embeddings. Args: x (List[Tensor]): List of patchified features
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/causal_model.py:801
↓ 2 callersMethodunwatch_input
(self, room: int)
lightx2v/disagg/services/data_mgr_sidecar.py:911
↓ 2 callersMethodunwatch_output
(self, room: int)
lightx2v/disagg/services/data_mgr_sidecar.py:917
↓ 2 callersFunctionupcast_if_fp8
(a)
lightx2v/common/ops/mm/triton_kernels.py:72
↓ 2 callersMethodupdate_chunk_latents
Update latents with generated chunk. Args: chunk_idx: Index of the chunk chunk_latents: Generated latent ten
lightx2v/models/schedulers/worldplay/ar_scheduler.py:148
↓ 2 callersFunctionupdate_clip_tokenizer_status
(model_path_val)
app/utils/model_handlers.py:585
↓ 2 callersFunctionupdate_dit_status
(model_path_val, model_name, model_type_val)
app/utils/model_components.py:565
↓ 2 callersFunctionupdate_t5_tokenizer_status
(model_path_val)
app/utils/model_handlers.py:579
↓ 2 callersMethoduse_auto_target_shape
(self)
lightx2v/models/runners/wan/wan_animate_runner.py:109
↓ 2 callersMethodvae2llm
(self, x)
lightx2v/models/networks/bagel/model.py:724
↓ 2 callersMethodvalidate
(self)
lightx2v/server/config.py:51
↓ 2 callersMethodvideo_timesteps_from_mask
Compute timesteps from a denoise mask and sigma value. Multiplies the denoise mask by sigma to produce timesteps for each position in
lightx2v/models/schedulers/ltx2/scheduler.py:917
↓ 2 callersMethodvisual
(self, videos)
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/clip.py:445
↓ 2 callersFunctionwait
()
lightx2v/models/networks/worldmirror/comm/communication.py:12
↓ 2 callersMethodwalk
(obj: Any)
lightx2v/models/networks/motus/model.py:445
↓ 2 callersFunctionwan_hidden_states_placement
(hidden_states, hidden_states_out, best_mask_idx, context_length, num_frame, frame_size)
lightx2v/common/ops/attn/svg_attn.py:78
↓ 2 callersFunctionwan_layer_norm_float
(ln_weight, x)
lightx2v/models/networks/wan/infer/s2v/wan_ops.py:53
↓ 2 callersFunctionwan_sparse_head_placement
(query, key, value, query_out, key_out, value_out, best_mask_idx, context_length, num_frame, frame_size)
lightx2v/common/ops/attn/svg_attn.py:188
↓ 2 callersFunctionwarpReduceMax
lightx2v_kernel/include/utils.h:304
↓ 2 callersMethodwatch_input
(self, room: int, receiver: DataReceiver)
lightx2v/disagg/services/data_mgr_sidecar.py:908
↓ 2 callersMethodwatch_output
(self, room: int, sender: DataSender)
lightx2v/disagg/services/data_mgr_sidecar.py:914
↓ 2 callersFunctionwavelet_decomposition
Apply wavelet decomposition to the input tensor. This function only returns the low frequency & the high frequency.
lightx2v/models/video_encoders/hf/seedvr/color_fix.py:93
↓ 2 callersFunctionwavelet_reconstruction
Apply wavelet decomposition, so that the content will have the same color as the style.
lightx2v/models/video_encoders/hf/seedvr/color_fix.py:108
↓ 2 callersFunctionwhitespace_clean
(text)
lightx2v/models/input_encoders/hf/wan/t5/tokenizer.py:18
↓ 2 callersFunctionwhitespace_clean
(text)
lightx2v/models/input_encoders/hf/wan/matrix_game2/tokenizers.py:18
↓ 2 callersFunctionwhitespace_clean
(text)
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/tokenizers.py:18
↓ 2 callersMethodwith_context
(self, weights, pre_infer_out, inputs, clone_x=False)
lightx2v/models/networks/wan/infer/dreamzero/pre_infer.py:300
↓ 2 callersMethodwith_kv_operation
Create a new SDOps instance with the specified value operation added to the mapping.
lightx2v/models/input_encoders/hf/ltx2/utils.py:92
↓ 2 callersMethodwith_matching
Create a new SDOps instance with the specified prefix and suffix matching added to the mapping.
lightx2v/utils/ltx2_utils.py:83
↓ 1 callersFunctionGET_DTYPE
()
lightx2v_platform/ops/rope/rope_template.py:21
↓ 1 callersFunctionNaResize
( resolution: int, mode: Literal["area", "side"], downsample_only: bool, interpolation: Interp
lightx2v/models/video_encoders/hf/seedvr/data/image/transforms/na_resize.py:9
↓ 1 callersMethod__enter__
(self)
lightx2v/models/networks/worldmirror/utils/warnings.py:23
↓ 1 callersMethod__exit__
(self, exc_type, exc_val, exc_tb)
lightx2v/models/networks/worldmirror/utils/warnings.py:28
↓ 1 callersMethod__init__
( self, checkpoint, device="cuda", threshold_conf=0.05, threshold_mult
tools/preprocess/pose2d.py:56
↓ 1 callersMethod__init__
(self, weight_name, bias_name, create_cuda_buffer=False, create_cpu_buffer=False, lazy_load=False, lazy_load_f
lightx2v_platform/ops/mm/template.py:10
↓ 1 callersMethod__init__
(self, weight_name, bias_name, create_cuda_buffer=False, create_cpu_buffer=False, lazy_load=False, lazy_load_f
lightx2v_platform/ops/mm/intel_xpu/__init__.py:45
↓ 1 callersMethod__init__
(self, in_features, out_features, bias=True, dtype=torch.float16)
lightx2v_platform/ops/mm/intel_xpu/q_linear.py:34
↓ 1 callersMethod__init__
(self)
lightx2v/common/modules/weight_module.py:5
↓ 1 callersMethod__init__
( self, num_layers: int, cache_size: int, num_heads: int, head_dim: in
lightx2v/common/kvcache/quant.py:29
↓ 1 callersMethod__init__
(self, vae)
lightx2v/models/runners/wan/wan_matrix_game2_runner.py:20
↓ 1 callersMethod__init__
(self, config)
lightx2v/models/runners/wan/wan_vace_runner.py:19
↓ 1 callersMethod__init__
(self, config)
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:1030
↓ 1 callersMethod__init__
(self, config, model_path=None, torch_dtype=None)
lightx2v/models/networks/hidream_o1_image/weights/transformer_weights.py:9
↓ 1 callersMethod__init__
(self, head_dim)
lightx2v/models/networks/wan/infer/infinitetalk/transformer_infer.py:30
↓ 1 callersMethod__init__
(self, config)
lightx2v/models/networks/wan/infer/audio/transformer_infer.py:122
↓ 1 callersMethod__init__
(self, config, block_index, block_prefix, mm_type, create_cuda_buffer=False, create_cpu_buffer=False)
lightx2v/models/networks/wan/weights/animate/transformer_weights.py:41
↓ 1 callersMethod__init__
(self, config)
lightx2v/models/networks/wan/weights/fastwam/pre_weights.py:64
↓ 1 callersMethod__init__
(self, config, lazy_load_path=None, lora_path=None)
lightx2v/models/networks/wan/weights/vace/transformer_weights.py:13
↓ 1 callersMethod__init__
(self, injector_index, mm_type, config)
lightx2v/models/networks/wan/weights/s2v/transformer_weights.py:7
↓ 1 callersMethod__init__
(self, block_index, block_prefix, task, mm_type, config, create_cuda_buffer, create_cpu_buffer, lazy_load, laz
lightx2v/models/networks/wan/weights/audio/transformer_weights.py:90
↓ 1 callersMethod__init__
(self, config)
lightx2v/models/networks/wan/weights/motus/post_weights.py:35
↓ 1 callersMethod__init__
Initializes the position generator with an empty cache.
lightx2v/models/networks/worldmirror/models/layers/rope.py:29
↓ 1 callersMethod__init__
( self, dim: int, num_heads: int, mlp_ratio: float = 4.0, qkv_bias: bo
lightx2v/models/networks/worldmirror/models/layers/block.py:23
↓ 1 callersMethod__init__
(self)
lightx2v/models/networks/worldmirror/models/layers/norm_rope.py:13
↓ 1 callersMethod__init__
( self, in_features: int, hidden_features: Optional[int] = None, out_features:
lightx2v/models/networks/worldmirror/models/layers/swiglu_ffn.py:8
↓ 1 callersMethod__init__
(self, rasterization_mode="classic", packed=True, abs_grad=True, with_eval3d=False, camera_model="pinhole", sp
lightx2v/models/networks/worldmirror/models/models/rasterization.py:22
↓ 1 callersMethod__init__
(self, config, llm_config)
lightx2v/models/networks/bagel/infer/pre_infer.py:97
↓ 1 callersMethod__init__
(self, num_blocks: int)
lightx2v/models/networks/worldplay/infer/ar_transformer_infer.py:36
↓ 1 callersMethod__init__
(self, config, lazy_load_path=None, lora_path=None)
lightx2v/models/networks/seedvr/weights/transformer_weights.py:6
↓ 1 callersMethod__init__
(self, config)
lightx2v/models/networks/hunyuan_video/infer/feature_caching/transformer_infer.py:132
↓ 1 callersMethod__init__
(self, config)
lightx2v/models/networks/hunyuan_video/weights/pre_weights.py:12
↓ 1 callersMethod__init__
(self, config, lazy_load_path=None, lora_path=None)
lightx2v/models/networks/ernie_image/weights/transformer_weights.py:6
↓ 1 callersMethod__init__
(self, config)
lightx2v/models/networks/cosmos3/weights/pre_weights.py:25
↓ 1 callersMethod__init__
(self, config)
lightx2v/models/networks/flux2/weights/pre_weights.py:8
↓ 1 callersMethod__init__
(self, config)
lightx2v/models/schedulers/wan/feature_caching/scheduler.py:5
↓ 1 callersMethod__init__
(self, theta: int, axes_dim: List[int], scale_rope=False)
lightx2v/models/schedulers/z_image/scheduler.py:220
↓ 1 callersMethod__init__
(self, config)
lightx2v/models/schedulers/hunyuan_video/scheduler.py:13
↓ 1 callersMethod__init__
(self, theta: int = 10000, axes_dim: List[int] = [16, 56, 56])
lightx2v/models/schedulers/longcat_image/scheduler.py:193
↓ 1 callersMethod__init__
(self, config: Dict[str, Any], device: Optional[str] = None)
lightx2v/models/input_encoders/lightllm/qwen25_text_encoder_kernel.py:35
↓ 1 callersMethod__init__
(self, size=512, border_ratio=None)
lightx2v/models/input_encoders/hf/hunyuan3d/image_processor.py:31
↓ 1 callersMethod__init__
(self, in_dim: int, hidden_dim: int, num_heads=int, dtype=None, device=None)
lightx2v/models/input_encoders/hf/animate/face_encoder.py:126
↓ 1 callersMethod__init__
( self, vision_encoder_type: str, vision_encoder_precision: Optional[str] = None,
lightx2v/models/input_encoders/hf/hunyuan15/siglip/model.py:90
↓ 1 callersMethod__init__
( self, attention_head_dim: int = 128, num_attention_heads: int = 30, num_laye
lightx2v/models/input_encoders/hf/ltx2/gemma/embeddings_connector.py:93
↓ 1 callersMethod__init__
(self, aggregate_embed: nn.Module, is_av: bool = False)
lightx2v/models/input_encoders/hf/ltx2/gemma/feature_extractor.py:94
↓ 1 callersMethod__init__
(self, dim_in: int, dim_out: int)
lightx2v/models/input_encoders/hf/ltx2/gemma/feed_forward.py:5
↓ 1 callersMethod__init__
( self, *, num_latents: int, embed_dim: int, width: int, heads
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/model.py:217
↓ 1 callersMethod__init__
( self, z_dim=16, vae_path="cache/vae_step_411000.pth", dtype=torch.float,
lightx2v/models/video_encoders/hf/wan/vae_sf.py:12
↓ 1 callersMethod__init__
(self, vae_path="taew2_1.pth", dtype=torch.bfloat16, device="cuda", need_scaled=False)
lightx2v/models/video_encoders/hf/wan/vae_tiny.py:13
↓ 1 callersMethod__init__
( self, target_sample_rate: int, mel_bins: int, mel_hop_length: int, n
lightx2v/models/video_encoders/hf/ltx2/audio_vae/ops.py:27
↓ 1 callersMethod__init__
Initialize the Encoder. Args: Arguments are configuration parameters, loaded from the audio VAE checkpoint config
lightx2v/models/video_encoders/hf/ltx2/audio_vae/audio_vae.py:142
↓ 1 callersMethod__init__
( self, convolution_dimensions: int = 3, in_channels: int = 3, out_channels: i
lightx2v/models/video_encoders/hf/ltx2/video_vae/video_vae.py:268
↓ 1 callersMethod__init__
( self, in_channels: int, out_channels: int, kernel_size: int, stride:
lightx2v/models/video_encoders/hf/ltx2/video_vae/convolution.py:91
↓ 1 callersMethod__init__
( self, dims: int | Tuple[int, int], in_channels: int, stride: Tuple[int, int,
lightx2v/models/video_encoders/hf/ltx2/video_vae/sampling.py:69
↓ 1 callersMethod__init__
( self, dims: Union[int, Tuple[int, int]], in_channels: int, out_channels: Opt
lightx2v/models/video_encoders/hf/ltx2/video_vae/resnet.py:24
↓ 1 callersMethod__init__
(self, window_size=11, size_average=True, val_range=None)
lightx2v/models/vfi/rife/model/pytorch_msssim/__init__.py:171
← previousnext →2,101–2,200 of 8,429, ranked by callers