MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

Methodasync_wrapper
(*args, **kwargs)
lightx2v/utils/profiler.py:118
Methodasync_wrapper
(*args, **kwargs)
lightx2v/utils/profiler.py:206
FunctionatomicMaxFloat
lightx2v_kernel/include/utils.h:297
Methodattention_mask
(b, h, q_idx, kv_idx)
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/causal_model.py:413
Methodattn_residual_func
(x: Tensor, pos=None)
lightx2v/models/networks/worldmirror/models/layers/block.py:71
Methodattn_residual_func
(x: Tensor, pos=None, sp_size=1, sp_group=None, padding_tokens=0)
lightx2v/models/networks/worldmirror/models/layers/block.py:95
Methodattn_residual_func
(x: Tensor, attn_bias=None)
lightx2v/models/networks/worldmirror/models/layers/block.py:218
Methodaudio_worker
(self)
lightx2v/utils/va_reader.py:127
Methodaudio_worker
(self)
lightx2v/utils/va_recorder.py:87
Methodbackward
(ctx, do_s)
lightx2v/common/ops/attn/kernels/sla_kernel_ar.py:309
Methodbackward
(ctx, grad_outputs)
lightx2v/models/networks/worldmirror/comm/communication.py:49
Methodbackward
(ctx, grad_outputs)
lightx2v/models/networks/worldmirror/comm/communication.py:63
Methodbackward
(ctx: Any, *grad_output: Tensor)
lightx2v/models/video_encoders/hf/seedvr/common/distributed/ops.py:96
Methodbackward
(ctx: Any, grad_output: Tensor)
lightx2v/models/video_encoders/hf/seedvr/common/distributed/ops.py:157
Functionbarrier_if_distributed
Synchronizes all processes if under distributed context.
lightx2v/models/video_encoders/hf/seedvr/common/distributed/basic.py:41
Functionbatch_kmeans_Cosine
Batched KMeans clustering in PyTorch using Cosine similarity. Args: x: Tensor of shape (B, N, D), batch_size B, N points per batch,
lightx2v/common/ops/attn/svg2_attn_utils.py:726
Functionbatch_kmeans_Dot
Batched KMeans clustering in PyTorch using raw dot-product as similarity.
lightx2v/common/ops/attn/svg2_attn_utils.py:776
Functionbatch_kmeans_rapidai
Batched K-Means using RAPIDS cuVS implementation. Args: x (Tensor): (B, N, D) float32 tensor on CUDA. n_clusters (int): K.
lightx2v/common/ops/attn/svg2_attn_utils.py:1303
Methodbegin_index
(self)
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:539
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
lightx2v/models/schedulers/hunyuan3d/flow_match_euler.py:110
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
lightx2v/models/schedulers/hunyuan3d/flow_match_euler.py:356
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
lightx2v/models/schedulers/hidream_o1_image/fm_solvers_unipc.py:135
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
lightx2v/models/schedulers/wan/s2v/fm_solvers_unipc.py:139
Methodbegin_index
(self)
lightx2v/models/schedulers/cosmos3/scheduler.py:130
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
lightx2v_train/lightx2v_train/model_zoo/native/wan/utils/fm_solvers.py:189
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
lightx2v_train/lightx2v_train/model_zoo/native/wan/utils/fm_solvers_unipc.py:135
Methodbind_noise_pred_processor
(self, noise_pred_processor)
lightx2v/models/schedulers/wan/lingbot_va/scheduler.py:39
Methodbind_step_inputs
(self, inputs, input_builder)
lightx2v/models/schedulers/wan/lingbot_va/scheduler.py:35
Methodblend_mask
(self)
lightx2v/models/video_encoders/hf/ltx2/video_vae/tiling.py:180
FunctionblockReduceMax
lightx2v_kernel/include/utils.h:313
Methodblocksize
(self)
lightx2v/utils/ggml_tensor.py:187
Functionbroadcat
(tensors, dim=-1)
lightx2v/models/networks/seedvr/utils/rotary_embedding_torch.py:26
Functionbuild_causal_forcing_lmdb_dataset
(data_config, train_or_val="train")
lightx2v_train/lightx2v_train/data/video_dataset.py:522
Methodbuild_freqs
(seq_len, c_part)
lightx2v/models/networks/wan/infer/matrix_game3/pre_infer.py:79
Functionbuild_image_dataset
(data_config_split, train_or_val="train")
lightx2v_train/lightx2v_train/data/image_dataset.py:88
Functionbuild_prompt_dataset
(data_config, train_or_val="val")
lightx2v_train/lightx2v_train/data/video_dataset.py:532
Functionbuild_wan_t2v_cached_dataset
(data_config, train_or_val="train")
lightx2v_train/lightx2v_train/data/video_dataset.py:511
Functionbuild_wan_t2v_video_dataset
(data_config, train_or_val="train")
lightx2v_train/lightx2v_train/data/video_dataset.py:489
Functioncache_image
(tensor, save_file, nrow=8, normalize=True, value_range=(-1, 1), retry=5)
lightx2v_train/lightx2v_train/model_zoo/native/wan/utils/utils.py:50
Methodcache_size
(self)
lightx2v/common/kvcache/base.py:109
Functioncache_video
( tensor, save_file: str, fps=30, suffix=".mp4", nrow=8, normalize=True, value_ran
lightx2v/utils/utils.py:66
Functioncache_video
(tensor, save_file=None, fps=30, suffix=".mp4", nrow=8, normalize=True, value_range=(-1, 1), retry=5)
lightx2v_train/lightx2v_train/model_zoo/native/wan/utils/utils.py:23
Methodcached_decode
(self, z, scale)
lightx2v/models/video_encoders/hf/wan/vae.py:759
Methodcached_decode
(self, z, scale)
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/vae.py:470
Methodcached_decode_withflag
(self, z, scale, is_first_clip, is_last_clip)
lightx2v/models/video_encoders/hf/wan/vae.py:776
Methodcalculate_alpha_beta_high
(self, sigma)
lightx2v/models/schedulers/wan/step_distill/scheduler.py:75
Functioncalculate_dimensions
(target_area, ratio)
lightx2v/models/runners/z_image/z_image_runner.py:24
Functioncamera_params_to_vector
Convert camera matrices to a compact vector.
lightx2v/models/networks/worldmirror/models/utils/camera_utils.py:6
Functioncausal_mask
(b, h, q_idx, kv_idx)
lightx2v/models/networks/bagel/data_utils.py:14
Functioncausal_rope_apply
(x, grid_sizes, freqs, start_frame=0)
lightx2v/models/networks/wan/infer/utils.py:282
Functioncausal_rope_apply_triton
(x, grid_sizes, freqs, start_frame=0)
lightx2v/models/networks/wan/infer/triton_ops.py:1134
Methodcfg_on_denoiser_output
(self)
lightx2v_train/lightx2v_train/model_zoo/longcat_image.py:156
Methodcfg_on_denoiser_output
(self)
lightx2v_train/lightx2v_train/model_zoo/flux2_dev.py:154
Functioncheck_shape
lightx2v_kernel/include/utils.h:156
Functioncheck_sm120_or_throw
lightx2v_kernel/csrc/gemm/sm120_utils.h:53
Methodchunk_image_emb
(image_emb)
lightx2v/models/schedulers/longcat_image/scheduler.py:280
Methodclean_mem
(self)
lightx2v/models/runners/vsr/utils/TCDecoder.py:303
Methodclean_stopped_task
(cls)
lightx2v/utils/service_utils.py:77
Methodcleanup
(self, timeout: int = 2)
lightx2v/server/services/distributed_utils.py:60
Methodcleanup
(self)
lightx2v/server/services/file_service.py:210
Methodcleanup
(self)
lightx2v/server/api/server.py:164
Methodcleanup
Cleanup after generation.
lightx2v/models/runners/worldplay/worldplay_ar_runner.py:403
Methodcleanup
Cleanup after generation.
lightx2v/models/runners/worldplay/worldplay_bi_runner.py:523
Methodclear
(self)
lightx2v/models/networks/wan/infer/feature_caching/transformer_infer.py:160
Methodclear
(self)
lightx2v/models/networks/wan/infer/feature_caching/transformer_infer.py:286
Methodclear
(self)
lightx2v/models/networks/wan/infer/feature_caching/transformer_infer.py:477
Methodclear
(self)
lightx2v/models/networks/wan/infer/feature_caching/transformer_infer.py:655
Methodclear
(self)
lightx2v/models/networks/wan/infer/feature_caching/transformer_infer.py:777
Methodclear
(self)
lightx2v/models/networks/wan/infer/feature_caching/transformer_infer.py:971
Methodclear
(self)
lightx2v/models/networks/wan/infer/feature_caching/transformer_infer.py:1069
Methodclear
(self)
lightx2v/models/networks/hunyuan_video/infer/feature_caching/transformer_infer.py:108
Methodclear
(self)
lightx2v/models/networks/flux2/infer/feature_caching/transformer_infer.py:152
Methodclear
(self)
lightx2v/models/schedulers/scheduler.py:29
Methodclear
(self)
lightx2v/models/schedulers/hidream_o1_image/scheduler.py:251
Methodclear
(self)
lightx2v/models/schedulers/wan/feature_caching/scheduler.py:8
Methodclear
Cleanup scheduler state.
lightx2v/models/schedulers/worldplay/scheduler.py:111
Methodclear
Cleanup scheduler state.
lightx2v/models/schedulers/worldplay/ar_scheduler.py:203
Methodclear
Cleanup scheduler state.
lightx2v/models/schedulers/worldplay/bi_scheduler.py:215
Methodclear
(self)
lightx2v/models/schedulers/hunyuan_video/feature_caching/scheduler.py:8
Methodclear
Clear scheduler state.
lightx2v/models/schedulers/ltx2/scheduler.py:905
Methodclear
(self)
lightx2v/models/schedulers/cosmos3/scheduler.py:632
Methodclear
(self)
lightx2v/models/schedulers/flux2/feature_caching/scheduler.py:17
Methodclear
(self)
lightx2v/models/schedulers/motus/scheduler.py:88
Methodclear_cache
(self, cache_name=None)
lightx2v/models/networks/wan/dreamzero_model.py:32
Methodclear_cache
(self, cache_name)
lightx2v/models/networks/wan/lingbot_va_model.py:39
Methodclear_cache
(self)
lightx2v/models/networks/wan/infer/dreamzero/pre_infer.py:68
Methodclear_cache
(self, cache_name=None)
lightx2v/models/networks/wan/infer/dreamzero/transformer_infer.py:143
Methodclear_compiled_graphs
(self, method_name: str = None)
lightx2v/utils/custom_compiler.py:171
Methodclear_kv_cache
Clear KV cache after generation.
lightx2v/models/networks/worldplay/infer/ar_transformer_infer.py:171
Methodclear_pred_cache
(self, cache_name)
lightx2v/models/networks/wan/lingbot_va_model.py:46
Methodclear_vision_cache
Clear only vision cache (keep text cache for next chunk).
lightx2v/models/networks/worldplay/infer/ar_transformer_infer.py:177
Methodclip_img
(self, x)
lightx2v/models/runners/wan/wan_matrix_game2_runner.py:50
Functionclosed_form_inverse_se3
Efficiently invert batched SE(3) matrices of shape (B, 4, 4). Args: se3 (torch.Tensor): (B, 4, 4) Transformation matrices Retur
lightx2v/models/networks/worldmirror/models/utils/geometry.py:86
Functioncollate_fn
Collate function for DataLoader.
lightx2v/data/worldplay_ar_dataset.py:391
Functioncolmap_to_opencv_intrinsics
Modify camera intrinsics to follow a different convention. Coordinates of the center of the top-left pixels are by default: - (0.5, 0.5)
lightx2v/models/networks/worldmirror/utils/geometry.py:15
Functioncompiled_method
(compile_options: Optional[Dict] = None)
lightx2v/utils/custom_compiler.py:8
Methodcomplete_task
(cls, message)
lightx2v/utils/service_utils.py:64
Functioncompress_kernel
( X, XM, L: tl.constexpr, H: tl.constexpr, D: tl.constexpr, BLOCK_L: tl.constexpr, )
lightx2v/common/ops/attn/utils/sla_util_blhd.py:7
Functioncompress_kernel
( X, XM, L: tl.constexpr, D: tl.constexpr, BLOCK_L: tl.constexpr, )
lightx2v/common/ops/attn/utils/sla_util.py:7
Methodcompute_adaln_modulation
(self, video_adaln_params, layer_idx)
lightx2v/models/networks/motus/model.py:85
← previousnext →6,401–6,500 of 8,429, ranked by callers