MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

Method_sublayer_edge
(key: str)
lightx2v/models/networks/worldmirror/weights/transformer_weights.py:283
Method_task_processing_loop
(self)
lightx2v/server/api/server.py:84
Function_timed_call
(func, *args, **kwargs)
lightx2v/models/networks/worldmirror/utils/inference_utils.py:533
Method_to_builtin
(value: Any)
lightx2v/disagg/conn.py:621
Method_to_env_prefix
(env_map: dict[str, str])
lightx2v/disagg/services/controller.py:502
Function_to_tensor_scalar_tuple
(x)
lightx2v_kernel/python/lightx2v_kernel/utils.py:23
Method_tokenize
Tokenize a string.
lightx2v/models/networks/bagel/tokenization_qwen2.py:229
Function_triton_layer_norm_custom_op
(x: torch.Tensor, weight: torch.Tensor, bias: torch.Tensor, eps: float)
lightx2v/common/ops/norm/triton_ops.py:876
Function_unpack_dequant_lastdim_kernel
( code_ptr, scale_ptr, mn_ptr, out_ptr, total_rows, T: tl.constexpr, H: tl.constex
lightx2v/common/kvcache/kernel.py:289
Method_unpack_latents
(latents, height, width, vae_scale_factor)
lightx2v/models/schedulers/qwen_image/scheduler.py:462
Method_unpack_latents
(latents, latent_height, latent_width)
lightx2v/models/video_encoders/hf/z_image/vae.py:49
Function_unregister
(name, rtype)
lightx2v/disagg/services/transformer.py:48
Function_unregister
(name, rtype)
lightx2v/disagg/services/data_mgr_sidecar.py:42
Function_unselect_graph
()
lightx2v/utils/custom_compiler.py:68
Method_update_base_attrs
(self)
lightx2v/common/ops/mm/mm_weight.py:2304
Method_update_lora
(self, lora_path, strength)
lightx2v/models/networks/base_model.py:364
Method_v_cpu_layer
(self, layer_id: int)
lightx2v/common/kvcache/rolling.py:453
Method_v_cpu_layer
(self, layer_id: int)
lightx2v/common/kvcache/rolling.py:552
Method_v_layer
(self, layer_id: int)
lightx2v/common/kvcache/rolling.py:445
Method_vec_is_per_token
Check if vec is per-token from scheduler flag.
lightx2v/models/networks/worldplay/infer/transformer_infer.py:68
Method_vec_is_per_token
Check if vec is per-token from scheduler flag.
lightx2v/models/networks/worldplay/infer/bi_transformer_infer.py:78
Method_vec_is_per_token
Check if vec is per-token from scheduler flag.
lightx2v/models/networks/worldplay/infer/ar_transformer_infer.py:158
Method_with_env
(base_cmd: str, env_map: dict[str, str])
lightx2v/disagg/services/controller.py:505
Function_write
(p_f)
lightx2v/models/networks/worldmirror/utils/video_utils.py:427
Function_write_file_sync
(file_path: Path, content: bytes)
lightx2v/server/api/tasks/image.py:17
Function_write_file_sync
(file_path: Path, content: bytes)
lightx2v/server/api/tasks/video.py:15
Methodact_quant_fp4
(self, x)
lightx2v_kernel/test/mxfp4_mxfp4/test_bench.py:27
Methodact_quant_fp4
(self, x)
lightx2v_kernel/test/nvfp4_nvfp4/test_bench2.py:32
Methodact_quant_fp8
(self, x)
lightx2v_kernel/test/mxfp6_mxfp8/test_bench.py:27
Methodact_quant_fp8
(self, x)
lightx2v_kernel/test/mxfp8_mxfp8/test_bench.py:27
Methodact_quant_fp8_perchannel_sym_sgl
(self, x)
lightx2v_platform/ops/mm/template.py:368
Methodact_quant_fp8_perchannel_sym_sgl
(self, x)
lightx2v/common/ops/mm/mm_weight.py:633
Methodact_quant_fp8_perchannel_sym_vllm
(self, x)
lightx2v_platform/ops/mm/template.py:364
Methodact_quant_fp8_perchannel_sym_vllm
(self, x)
lightx2v/common/ops/mm/mm_weight.py:629
Methodact_quant_fp8_perchannelgroup128_sym_deepgemm
(self, x)
lightx2v_platform/ops/mm/template.py:391
Methodact_quant_fp8_perchannelgroup128_sym_deepgemm
(self, x)
lightx2v/common/ops/mm/mm_weight.py:657
Methodact_quant_fp8_perchannelgroup128_sym_sgl
(self, x)
lightx2v_platform/ops/mm/template.py:398
Methodact_quant_fp8_perchannelgroup128_sym_sgl
(self, x)
lightx2v/common/ops/mm/mm_weight.py:664
Methodact_quant_fp8_pertensor_sym
(self, x)
lightx2v/common/ops/mm/mm_weight.py:2374
Methodact_quant_int8_perchannel_sym_npu
(self, x)
lightx2v_platform/ops/mm/ascend_npu/mm_weight.py:38
Methodact_quant_int8_perchannel_sym_tmo
(self, x)
lightx2v_platform/ops/mm/cambricon_mlu/mm_weight.py:27
Methodact_quant_int8_perchannel_sym_torchao
(self, x)
lightx2v_platform/ops/mm/template.py:360
Methodact_quant_int8_perchannel_sym_torchao
(self, x)
lightx2v/common/ops/mm/mm_weight.py:616
Methodact_quant_int8_perchannel_sym_vllm
(self, x)
lightx2v_platform/ops/mm/template.py:375
Methodact_quant_int8_perchannel_sym_vllm
Activation quantization using vLLM's scaled_int8_quant.
lightx2v_platform/ops/mm/hygon_dcu/mm_weight.py:58
Methodact_quant_int8_perchannel_sym_vllm
(self, x)
lightx2v/common/ops/mm/mm_weight.py:640
Methodact_quant_mxfp4
(self, x)
lightx2v_platform/ops/mm/template.py:383
Methodact_quant_mxfp4
(self, x)
lightx2v/common/ops/mm/mm_weight.py:649
Methodact_quant_mxfp8
(self, x)
lightx2v_platform/ops/mm/template.py:387
Methodact_quant_mxfp8
(self, x)
lightx2v/common/ops/mm/mm_weight.py:653
Methodact_quant_nvfp4
(self, x)
lightx2v_platform/ops/mm/template.py:379
Methodact_quant_nvfp4
(self, x)
lightx2v/common/ops/mm/mm_weight.py:644
Methodaction_chunk_size
(self)
lightx2v/models/networks/motus/model.py:263
Methodaction_dim
(self)
lightx2v/models/networks/motus/model.py:268
Functionadain_color_fix
(target: Image, source: Image)
lightx2v/models/video_encoders/hf/seedvr/color_fix.py:8
Methodadaln_input
(self)
lightx2v/models/networks/z_image/infer/module_io.py:19
Methodadd_custom_field
(self, key: str, value)
lightx2v_train/lightx2v_train/model_zoo/native/wan/utils/prompt_extend.py:113
Methodadd_instance
Register an instance address if it is not empty and not duplicated.
lightx2v/disagg/scheduler/base.py:14
Methodadd_line
(self, line: str, source: str, *lineno: int)
docs/ZH_CN/source/conf.py:120
Methodadd_line
(self, line: str, source: str, *lineno: int)
docs/PAPERS_ZH_CN/source/conf.py:114
Methodadd_line
(self, line: str, source: str, *lineno: int)
docs/EN/source/conf.py:120
Methodadd_listener
(self, fn)
lightx2v/disagg/workload.py:16
Methodadd_lora
(self, rank, alpha, target_modules)
lightx2v_train/lightx2v_train/model_zoo/wan_t2v.py:134
Methodadd_noise
(self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.IntTensor)
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:911
Methodadd_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
lightx2v/models/schedulers/wan/s2v/fm_solvers_unipc.py:704
Methodadd_noise
(self, original_samples, noise, sigma)
lightx2v/models/schedulers/wan/step_distill/scheduler.py:38
Methodadd_noise
(self, latent, noise, sigmas)
lightx2v_train/lightx2v_train/schedulers/flow_matching.py:60
Methodadd_noise
(self, latent, noise, sigmas)
lightx2v_train/lightx2v_train/schedulers/flow_matching.py:177
Methodadd_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
lightx2v_train/lightx2v_train/model_zoo/native/wan/utils/fm_solvers.py:731
Methodadd_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
lightx2v_train/lightx2v_train/model_zoo/native/wan/utils/fm_solvers_unipc.py:700
Methodalign_frame_to_block
(frame_idx: int)
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:1838
Functionall_gather_batch
Performs all_gather operation on the provided tensors.
lightx2v/models/networks/hunyuan3d/utils/misc.py:100
Methodapply
(self, input_tensor)
lightx2v_platform/ops/attn/template.py:13
Methodapply
(self, q, k, v, cu_seqlens_q=None, cu_seqlens_kv=None, max_seqlen_q=None, max_seqlen_kv=None, **kwds)
lightx2v_platform/ops/attn/ascend_npu/npu_flash_attn.py:18
Methodapply
Execute Flash Attention computation with variable-length sequences. This method signature matches the standard LightX2V attention in
lightx2v_platform/ops/attn/hygon_dcu/flash_attn.py:52
Methodapply
( self, q, k, v, cu_seqlens_q=None, cu_seqlens_kv=None,
lightx2v_platform/ops/attn/amd_rocm/flash_attn.py:74
Methodapply
(self, q, k, v, cu_seqlens_q=None, cu_seqlens_kv=None, max_seqlen_q=None, max_seqlen_kv=None, **kwds)
lightx2v_platform/ops/attn/iluvatar_cuda/flash_attn.py:20
Methodapply
( self, q, k, v, cu_seqlens_q=None, cu_seqlens_kv=None,
lightx2v_platform/ops/attn/metax_cuda/metax_sage_attn2.py:18
Methodapply
( self, q, k, v, cu_seqlens_q=None, cu_seqlens_kv=None,
lightx2v_platform/ops/attn/intel_xpu/xpu_flash_attn.py:85
Methodapply
Execute Flash Attention computation with variable-length sequences. This method signature matches the standard LightX2V attention in
lightx2v_platform/ops/attn/enflame_gcu/flash_attn.py:60
Methodapply
(self, q, k, v, cu_seqlens_q=None, cu_seqlens_kv=None, max_seqlen_q=None, max_seqlen_kv=None, **kwds)
lightx2v_platform/ops/attn/cambricon_mlu/flash_attn.py:20
Methodapply
(self, q, k, v, cu_seqlens_q=None, cu_seqlens_kv=None, max_seqlen_q=None, max_seqlen_kv=None, **kwds)
lightx2v_platform/ops/attn/cambricon_mlu/sage_attn.py:20
Methodapply
Apply rotary position embedding to query and key tensors. Args: xq: Query tensor xk: Key tensor
lightx2v_platform/ops/rope/rope_template.py:33
Methodapply
Apply WAN RoPE using triton operations, optimized for Iluvatar cuda. Args: xq: Query tensor xk: Key tensor
lightx2v_platform/ops/rope/iluvatar_cuda/wan_rope.py:16
Methodapply
Apply WAN RoPE using PyTorch operations, optimized for GCU. This implementation converts tensors to float32 for computation
lightx2v_platform/ops/rope/enflame_gcu/wan_rope.py:12
Methodapply
(self, input_tensor)
lightx2v_platform/ops/norm/norm_template.py:102
Methodapply
(self, input_tensor)
lightx2v_platform/ops/norm/norm_template.py:238
Methodapply
(self, input_tensor)
lightx2v_platform/ops/norm/iluvatar_cuda/iluvatar_rms_norm.py:16
Methodapply
(self, input_tensor)
lightx2v_platform/ops/norm/enflame_gcu/layer_norm.py:12
Methodapply
(self, input_tensor)
lightx2v_platform/ops/norm/cambricon_mlu/mlu_rms_norm.py:16
Methodapply
(self, input_tensor)
lightx2v_platform/ops/mm/ascend_npu/mm_weight.py:42
Methodapply
(self, input_tensor)
lightx2v_platform/ops/mm/hygon_dcu/mm_weight.py:65
Methodapply
(self, input_tensor)
lightx2v_platform/ops/mm/iluvatar_cuda/mm_weight.py:90
Methodapply
(self, input_tensor)
lightx2v_platform/ops/mm/intel_xpu/__init__.py:102
Methodapply
Forward pass with FP8 → FP16 dequantization Steps: 1. Ensure input is FP16 2. Dequantize weight: fp8 → fp16 (weight
lightx2v_platform/ops/mm/intel_xpu/__init__.py:166
Methodapply
(self, input_tensor)
lightx2v_platform/ops/mm/cambricon_mlu/mm_weight.py:31
Methodapply
执行 Ring 注意力机制,结合图像和文本的查询、键和值。 参数: q (torch.Tensor): 查询张量,形状为 [shard_seqlen, heads, hidden_dims] k (torch.Ten
lightx2v/common/ops/attn/ring_attn.py:54
Methodapply
执行 Ulysses 注意力机制,结合图像和文本的查询、键和值。 参数: q (torch.Tensor): 查询张量,形状为 [shard_seqlen, heads, hidden_dims] k (torch.
lightx2v/common/ops/attn/ulysses_attn.py:587
Methodapply
( self, q, k, v, cu_seqlens_q=None, cu_seqlens_kv=None,
lightx2v/common/ops/attn/draft_attn.py:194
Methodapply
( self, q, k, v, cu_seqlens_q=None, cu_seqlens_kv=None,
lightx2v/common/ops/attn/flash_attn.py:40
← previousnext →6,201–6,300 of 8,429, ranked by callers