MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

Function_attn_bwd_dkdv
( Q, K, V, DOS, DK, DV, qk_scale, KBID, LSE, DELTAS, L: tl.constex
lightx2v/common/ops/attn/kernels/sla_kernel.py:165
Function_attn_bwd_dq
( Q, K, V, LSE, DELTAS, DOS, DQ, LUT, qk_scale: tl.constexpr, topk: tl
lightx2v/common/ops/attn/kernels/sla_kernel_ar.py:119
Function_attn_bwd_dq
( Q, K, V, LSE, DELTAS, DOS, DQ, LUT, qk_scale: tl.constexpr, topk: tl
lightx2v/common/ops/attn/kernels/sla_kernel.py:102
Function_attn_bwd_preprocess
( OS, DOS, DELTAS, H: tl.constexpr, LQ, D: tl.constexpr, BLOCK_M: tl.constexpr, )
lightx2v/common/ops/attn/kernels/sla_kernel_ar.py:86
Function_attn_bwd_preprocess
( OS, DOS, DELTAS, L, D: tl.constexpr, BLOCK_M: tl.constexpr, )
lightx2v/common/ops/attn/kernels/sla_kernel.py:75
Function_attn_fwd
( Q, K, V, qk_scale: tl.constexpr, topk: tl.constexpr, LUT, LSE, OS, H: tl
lightx2v/common/ops/attn/kernels/sla_kernel_ar.py:7
Function_attn_fwd
( Q, K, V, qk_scale: tl.constexpr, topk: tl.constexpr, LUT, LSE, OS, L: tl
lightx2v/common/ops/attn/kernels/sla_kernel.py:7
Function_audio_cache_rope_kernel
( out_ptr, x_ptr, freqs_real_ptr, h: tl.constexpr, w: tl.constexpr, token_start, g
lightx2v/models/networks/wan/infer/triton_ops.py:339
Function_bbox_area
(item: Dict[str, Any])
lightx2v/models/networks/hidream_o1_image/utils.py:145
Method_bf16_to
Custom to() for bf16 mode: selectively move heads to target device/dtype.
lightx2v/models/networks/worldmirror/models/models/worldmirror.py:236
Method_block_mm_type
(i: int)
lightx2v/models/networks/worldmirror/weights/transformer_weights.py:269
Method_block_use_fp32
(i: int, key: str)
lightx2v/models/networks/worldmirror/weights/transformer_weights.py:299
Method_buffer_view
(buf: torch.Tensor, dtype: torch.dtype, shape: tuple[int, ...])
lightx2v/disagg/services/decoder.py:208
Method_buffer_view
(buf: torch.Tensor, dtype: torch.dtype, shape: tuple[int, ...])
lightx2v/disagg/services/transformer.py:576
Method_buffer_view
(buf: torch.Tensor, dtype: torch.dtype, shape: tuple[int, ...])
lightx2v/disagg/services/encoder.py:597
Method_build_action_step_inputs
(self, scheduler)
lightx2v/models/runners/wan/wan_lingbot_va_runner.py:263
Method_build_video_step_inputs
(self, scheduler)
lightx2v/models/runners/wan/wan_lingbot_va_runner.py:239
Method_cat_recursive
(a, b, c=None, dtype=None)
lightx2v/models/input_encoders/hf/hunyuan3d/encoder.py:103
Function_causal_rope_apply_kernel
( out_ptr, x_ptr, freqs_real_ptr, grid_sizes_ptr, num_heads: tl.constexpr, head_dim: t
lightx2v/models/networks/wan/infer/triton_ops.py:1033
Function_ceil_div
(a: int, b: int)
lightx2v/common/ops/attn/svg2_attn_utils.py:428
Function_centroid_update_chunk_kernel
Each program processes **BLOCK_N consecutive, already-sorted tokens**. Because the tokens are sorted by cluster id, identical ids appear in c
lightx2v/common/ops/attn/svg2_attn_utils.py:256
Function_centroid_update_kernel
Each program processes 1 point (token) across BLOCK_D dimensions with atomics.
lightx2v/common/ops/attn/svg2_attn_utils.py:95
Function_cfg_keep
Basic heuristic to prune unbalanced configs.
lightx2v/common/ops/attn/svg2_attn_utils.py:439
Function_clear_graphs
()
lightx2v/utils/custom_compiler.py:82
Method_collect
(node: "LockableDict")
lightx2v/utils/lockable_dict.py:54
Function_compute
(item)
lightx2v/models/networks/worldmirror/utils/video_utils.py:380
Method_convert_id_to_token
Converts an index (integer) in a token (str) using the vocab.
lightx2v/models/networks/bagel/tokenization_qwen2.py:243
Method_convert_token_to_id
Converts a token (str) in an id using the vocab.
lightx2v/models/networks/bagel/tokenization_qwen2.py:238
Method_copy_layer_to_gpu
(self, layer_id: int)
lightx2v/common/kvcache/quant.py:363
Function_cosine_iter
(x_norm, centroids)
lightx2v/common/ops/attn/svg2_attn_utils.py:634
Method_cpu_k_code
(self, layer_id: int)
lightx2v/common/kvcache/quant.py:797
Method_cpu_k_mn
(self, layer_id: int)
lightx2v/common/kvcache/quant.py:806
Method_cpu_k_scale
(self, layer_id: int)
lightx2v/common/kvcache/quant.py:803
Method_cpu_v_code
(self, layer_id: int)
lightx2v/common/kvcache/quant.py:800
Method_cpu_v_mn
(self, layer_id: int)
lightx2v/common/kvcache/quant.py:812
Method_cpu_v_scale
(self, layer_id: int)
lightx2v/common/kvcache/quant.py:809
Method_decode
(z)
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:775
Method_dense_mlp
(self, mlp_w, hidden_states)
lightx2v/models/networks/neopp/infer/transformer_infer.py:445
Method_destroy
()
lightx2v/server/services/distributed_utils.py:70
Function_disable_compile_mode
()
lightx2v/utils/custom_compiler.py:53
Function_dot_iter
(x, centroids)
lightx2v/common/ops/attn/svg2_attn_utils.py:644
Function_dynamic_block_sparse_fwd_kernel
Triton kernel for dynamic block sparse attention. Each program computes attention for one query block within a batch/head. Processes quer
lightx2v/common/ops/attn/svg2_attn_utils.py:984
Function_enable_compile_mode
()
lightx2v/utils/custom_compiler.py:49
Method_encode
(x)
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:748
Function_euclid_assign_kernel
Each program handles a tile of BLOCK_N points for a given batch element. The kernel iterates over the centroid dimension K in chunks of BLOCK_K a
lightx2v/common/ops/attn/svg2_attn_utils.py:454
Function_euclid_iter
(x, x_sq, centroids)
lightx2v/common/ops/attn/svg2_attn_utils.py:617
Function_fifo_kwargs
(_config, _ar_config, _kv_quant)
lightx2v/common/kvcache/manager.py:58
Method_forward_classify
r""" Feature extraction through the diffusion model Args: x (List[Tensor]): List of input video tensors,
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/model.py:677
Function_fp8_scaled_mm
( mat_a: torch.Tensor, mat_b: torch.Tensor, scales_a: torch.Tensor, scales_b:
lightx2v/common/ops/mm/mm_weight.py:76
Function_fp8_scaled_mm_meta
(mat_a, mat_b, scales_a, scales_b, out_dtype, bias=None)
lightx2v/common/ops/mm/mm_weight.py:65
Function_fp_kwargs
(_config, ar_config, _kv_quant)
lightx2v/common/kvcache/manager.py:32
Function_fused_norm_3drope_kernel
( x_ptr, w_t_ptr, w_hw_ptr, cos_t_ptr, sin_t_ptr, cos_h_ptr, sin_h_ptr, cos_w_
lightx2v/common/ops/norm/triton_ops.py:989
Function_fused_qk_norm_3drope_kernel
( q_ptr, k_ptr, w_qt_ptr, w_qhw_ptr, w_kt_ptr, w_khw_ptr, cos_t_ptr, sin_t_ptr
lightx2v/common/ops/norm/triton_ops.py:1074
Function_fused_rmsnorm_modulate_kernel
( X, # Input [M, N] Y, # Output [M, N] Scale, # Scale tensor (various shapes supported) Shi
lightx2v/models/networks/ltx2/infer/triton_ops.py:22
Function_fused_scale_shift_4d_kernel
( output_ptr, normalized_ptr, scale_ptr, shift_ptr, rows, inner_dim, seq_len,
lightx2v/common/ops/norm/triton_ops.py:28
Function_fused_scale_shift_4d_kernel
( output_ptr, normalized_ptr, scale_ptr, shift_ptr, rows, inner_dim, seq_len,
lightx2v/models/networks/wan/infer/triton_ops.py:23
Function_fused_scale_shift_4d_kernel
( output_ptr, normalized_ptr, scale_ptr, shift_ptr, rows, inner_dim, seq_len,
lightx2v/models/networks/qwen_image/infer/triton_ops.py:23
Function_fused_scale_shift_4d_kernel
( output_ptr, normalized_ptr, scale_ptr, shift_ptr, rows, inner_dim, seq_len,
lightx2v/models/networks/hunyuan_video/infer/triton_ops.py:23
Function_gc_cb
(phase, info)
lightx2v/server/metrics/metrics.py:463
Function_get_cache_buf
(name: str, bytes: int, device: torch.device)
lightx2v_kernel/python/lightx2v_kernel/utils.py:14
Method_get_optimizer_config
(self)
lightx2v_train/lightx2v_train/trainers/dmd.py:59
Method_get_queue_metrics
(self)
lightx2v/disagg/services/decoder.py:75
Method_get_queue_metrics
(self)
lightx2v/disagg/services/transformer.py:221
Method_get_queue_metrics
(self)
lightx2v/disagg/services/encoder.py:187
Method_get_shape
(key: str)
lightx2v/disagg/services/transformer.py:716
Method_get_spatial_patch
(self)
lightx2v/models/runners/hidream_o1_image/hidream_o1_image_runner.py:49
Method_get_spatial_patch
(self)
lightx2v/models/runners/bagel/bagel_runner.py:37
Method_get_spatial_stride
(self)
lightx2v/models/runners/hidream_o1_image/hidream_o1_image_runner.py:46
Method_get_spatial_stride
(self)
lightx2v/models/runners/bagel/bagel_runner.py:32
Function_get_status
()
lightx2v/utils/custom_compiler.py:73
Method_infer_cond_uncond
Run conditional/unconditional inference. Args: inputs: Input dictionary infer_condition: Whether to infer condition
lightx2v/models/networks/base_model.py:618
Method_infer_cond_uncond
(self, inputs, infer_condition=True)
lightx2v/models/networks/wan/s2v_model.py:85
Method_infer_cond_uncond
(self, inputs, infer_condition=True)
lightx2v/models/networks/wan/vace_model.py:44
Method_infer_cond_uncond
(self, inputs, infer_condition=True)
lightx2v/models/networks/seedvr/model.py:140
Method_infer_latents_shape_from_config
()
lightx2v/disagg/services/decoder.py:237
Method_infer_with_offload
(self, weights, grid_sizes, embed, x, embed0, seq_lens, freqs, context, kv_start, kv_end)
lightx2v/models/networks/wan/infer/causvid/transformer_infer.py:54
Method_infer_without_offload
(self, weights, grid_sizes, embed, x, embed0, seq_lens, freqs, context, kv_start, kv_end)
lightx2v/models/networks/wan/infer/causvid/transformer_infer.py:81
Method_init_crossattn_cache
(self, dtype, device)
lightx2v/models/networks/wan/infer/causvid/transformer_infer.py:35
Method_init_infer
Initialize inference modules. Subclasses should override this to set up their specific inference modules.
lightx2v/models/networks/base_model.py:262
Method_init_infer
(self)
lightx2v/models/networks/wan/vace_model.py:22
Method_init_infer
Initialize inference modules and connect action weights.
lightx2v/models/networks/worldplay/ar_model.py:88
Method_init_infer
Initialize inference modules and connect action weights.
lightx2v/models/networks/worldplay/bi_model.py:136
Method_init_infer
Initialize inference modules and connect action weights.
lightx2v/models/networks/worldplay/model.py:90
Method_init_infer_class
Initialize inference class references. Subclasses should override this to set their specific inference classes.
lightx2v/models/networks/base_model.py:138
Method_init_infer_class
(self)
lightx2v/models/networks/wan/dreamzero_model.py:23
Method_init_infer_class
(self)
lightx2v/models/networks/wan/matrix_game2_model.py:39
Method_init_infer_class
(self)
lightx2v/models/networks/wan/matrix_game3_model.py:36
Method_init_infer_class
(self)
lightx2v/models/networks/wan/s2v_model.py:28
Method_init_infer_class
(self)
lightx2v/models/networks/wan/lingbot_va_model.py:34
Method_init_infer_class
(self)
lightx2v/models/networks/wan/animate_model.py:16
Method_init_infer_class
(self)
lightx2v/models/networks/wan/lingbot_fast_model.py:13
Method_init_infer_class
(self)
lightx2v/models/networks/wan/causvid_model.py:28
Method_init_infer_class
(self)
lightx2v/models/networks/wan/lingbot_model.py:17
Method_init_infer_class
(self)
lightx2v/models/networks/wan/vace_model.py:38
Method_init_infer_class
(self)
lightx2v/models/networks/wan/sf_model.py:37
Method_init_infer_class
(self)
lightx2v/models/networks/wan/infinitetalk_model.py:24
Method_init_infer_class
(self)
lightx2v/models/networks/wan/audio_model.py:187
Method_init_infer_class
Initialize WorldPlay AR-specific inference classes.
lightx2v/models/networks/worldplay/ar_model.py:40
Method_init_infer_class
Initialize WorldPlay BI-specific inference classes.
lightx2v/models/networks/worldplay/bi_model.py:49
Method_init_infer_class
Initialize WorldPlay-specific inference classes.
lightx2v/models/networks/worldplay/model.py:31
← previousnext →5,901–6,000 of 8,429, ranked by callers