MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

Functionstr2bool
Convert a string to a boolean. Supported true values: 'yes', 'true', 't', 'y', '1' Supported false values: 'no', 'false', 'f', 'n', '0'
lightx2v_train/lightx2v_train/model_zoo/native/wan/utils/utils.py:68
Methodstream_decode_with_cond
(self, latents, tiled=False, cond=None)
lightx2v/models/runners/vsr/utils/TCDecoder.py:299
Methodstream_forward
(self, video_clip)
lightx2v/models/runners/vsr/utils/utils.py:124
Functionsubmit_kernel
lightx2v_kernel_xpu/csrc/utils.h:13
Methodsubmit_request
(self)
lightx2v/disagg/workload.py:259
Methodswitch_lora
Switch LoRA weights dynamically for Wan2.2 MoE Distill models. This method handles both high_noise_model and low_noise_model separate
lightx2v/models/runners/wan/wan_distill_runner.py:177
Methodswitch_lora
Switch LoRA weights dynamically for Wan2.2 MoE models. This method handles both high_noise_model and low_noise_model separately.
lightx2v/models/runners/wan/wan_runner.py:777
Methodswitch_lora_multi
Apply one or more runtime LoRA adapters using the same primitives as :meth:`switch_lora` (``model._load_lora_file`` + ``model._update
lightx2v/models/runners/default_runner.py:593
Functionsync_data
(data, sp_idx, name="tmp")
lightx2v/models/video_encoders/hf/seedvr/common/distributed/ops.py:449
Methodsync_wrapper
(*args, **kwargs)
lightx2v/utils/profiler.py:126
Methodsync_wrapper
(*args, **kwargs)
lightx2v/utils/profiler.py:214
Functiontask
(fn)
lightx2v/disagg/workload.py:34
Functiontemporal_mask_mod
(b, h, q_idx, kv_idx)
lightx2v/common/ops/attn/svg_attn.py:222
Methodtensor_type
(self)
lightx2v/utils/ggml_tensor.py:171
Methodtest_accuracy
Test the accuracy of quantization from BF16 to MXFP6.
lightx2v_kernel/test/mxfp6_mxfp8/test_mxfp6_quant.py:18
Methodtest_accuracy
Test the accuracy of quantization from BF16 to MXFP8.
lightx2v_kernel/test/mxfp8_mxfp8/test_mxfp8_quant.py:18
Methodtest_accuracy
Test the accuracy of quantization from BF16 to MXFP4.
lightx2v_kernel/test/mxfp4_mxfp4/test_mxfp4_quant.py:18
Methodtest_audio_forwards_c_gate_msa
(self)
test_cases/test_wan_mxfp8_fuse_forwarding.py:173
Methodtest_base_infer_ffn_respects_mxfp8_fuse_enable
(self)
test_cases/test_wan_mxfp8_fuse_forwarding.py:62
Methodtest_default_aspect_ratio
(self)
test_cases/test_bagel_t2i_support.py:89
Methodtest_feature_caching_variants_forward_c_gate_msa
(self)
test_cases/test_wan_mxfp8_fuse_forwarding.py:205
Methodtest_first_block_reads_cfg_state_from_scheduler
(self)
test_cases/test_wan_feature_cache_cfg_state.py:12
Methodtest_gen_text_raises_not_implemented
(self)
test_cases/test_bagel_t2i_support.py:175
Methodtest_i2i_auto_shape_preserves_input_ratio_and_aligns
(self)
test_cases/test_bagel_t2i_support.py:149
Methodtest_i2i_context_roles_match_mvp_plan
(self)
test_cases/test_bagel_t2i_support.py:180
Methodtest_i2i_invalid_shape_raises
(self)
test_cases/test_bagel_t2i_support.py:153
Methodtest_i2i_missing_config_error_is_clear
(self)
test_cases/test_bagel_t2i_support.py:157
Methodtest_i2i_target_shape_overrides_input_shape
(self)
test_cases/test_bagel_t2i_support.py:145
Methodtest_int8_gemm_bias_default_output_dtype_is_float16_and_does_not_overflow
(self)
test_cases/test_int8_triton_kernels.py:68
Methodtest_int8_gemm_bias_uses_valid_scale_indices_for_non_tile_mn
(self)
test_cases/test_int8_triton_kernels.py:162
Methodtest_int8_gemm_default_output_dtype_is_float16_and_does_not_overflow
(self)
test_cases/test_int8_triton_kernels.py:60
Methodtest_int8_gemm_explicit_output_dtype_is_preserved
(self)
test_cases/test_int8_triton_kernels.py:77
Methodtest_int8_gemm_handles_k_tail_and_block_k_64_multiples
(self)
test_cases/test_int8_triton_kernels.py:92
Methodtest_int8_gemm_handles_non_tile_mn
(self)
test_cases/test_int8_triton_kernels.py:154
Methodtest_int8_gemm_random_scales_bias_and_tail_shapes
(self)
test_cases/test_int8_triton_kernels.py:122
Methodtest_invalid_aspect_ratio_raises
(self)
test_cases/test_bagel_t2i_support.py:109
Methodtest_invalid_target_shape_raises
(self)
test_cases/test_bagel_t2i_support.py:102
Methodtest_lingbot_forwards_c_gate_msa
(self)
test_cases/test_wan_mxfp8_fuse_forwarding.py:143
Methodtest_missing_flash_attn_error_is_clear
(self)
test_cases/test_bagel_t2i_support.py:128
Methodtest_missing_model_weights_error_is_clear
(self)
test_cases/test_bagel_t2i_support.py:137
Methodtest_missing_vit_weights_error_is_clear
(self)
test_cases/test_bagel_t2i_support.py:163
Methodtest_mxfp8_gelu_quant_matches_baseline
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:90
Methodtest_mxfp8_gemm_residual_gate_1d_fast_path_matches_2d_fallback_contract
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:270
Methodtest_mxfp8_gemm_residual_gate_2d_fallback_cancellation_case_matches_reference
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:373
Methodtest_mxfp8_gemm_residual_gate_2d_fallback_matches_baseline
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:242
Methodtest_mxfp8_gemm_residual_gate_2d_fallback_misaligned_x1_path_matches_reference
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:327
Methodtest_mxfp8_gemm_residual_gate_2d_fallback_misaligned_x2_path_matches_reference
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:298
Methodtest_mxfp8_gemm_residual_gate_2d_fallback_zero_gate_matches_residual
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:355
Methodtest_mxfp8_gemm_residual_gate_fast_path_validates_device_mismatch
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:494
Methodtest_mxfp8_gemm_residual_gate_fast_path_validates_gemm_inputs
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:413
Methodtest_mxfp8_gemm_residual_gate_matches_baseline
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:188
Methodtest_mxfp8_gemm_residual_gate_without_bias_matches_baseline
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:215
Methodtest_mxfp8_modulate_quant_matches_1d_baseline
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:154
Methodtest_mxfp8_modulate_quant_matches_2d_baseline
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:170
Methodtest_mxfp8_quant_ops_validate_explicit_outputs
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:106
Methodtest_official_aspect_ratios
(self)
test_cases/test_bagel_t2i_support.py:92
Methodtest_offload_phase_two_forwards_c_gate_msa
(self)
test_cases/test_wan_mxfp8_fuse_forwarding.py:85
Methodtest_performance
Benchmark the performance of Activation quantization from BF16 to MXFP6.
lightx2v_kernel/test/mxfp6_mxfp8/test_mxfp6_quant.py:39
Methodtest_performance
Benchmark the performance of Activation quantization from BF16 to MXFP8.
lightx2v_kernel/test/mxfp8_mxfp8/test_mxfp8_quant.py:39
Methodtest_performance
Benchmark the performance of Activation quantization from BF16 to MXFP4.
lightx2v_kernel/test/mxfp4_mxfp4/test_mxfp4_quant.py:40
Methodtest_resize_pil_for_vit_respects_stride_and_max_pixels
(self)
test_cases/test_bagel_t2i_support.py:235
Methodtest_seed_controls_initial_noise
(self)
test_cases/test_bagel_t2i_support.py:113
Methodtest_self_forcing_forwards_c_gate_msa
(self)
test_cases/test_wan_mxfp8_fuse_forwarding.py:112
Methodtest_target_shape_overrides_aspect_ratio
(self)
test_cases/test_bagel_t2i_support.py:98
Methodtest_vit_config_uses_checkpoint_layer_count
(self)
test_cases/test_bagel_t2i_support.py:167
Methodtflops
(self, args, kwargs, output)
lightx2v/models/networks/seedvr/utils/attention.py:13
Methodtflops
(self, args, kwargs, output)
lightx2v/models/networks/seedvr/utils/attention.py:26
Methodtflops
(self, args, kwargs, output)
lightx2v/models/video_encoders/hf/seedvr/causal_inflation_lib.py:252
Methodtiled_decode
(self, z, scale)
lightx2v/models/video_encoders/hf/wan/vae.py:626
Methodto_cpu
(self, non_blocking=False)
lightx2v_platform/ops/attn/template.py:20
Methodto_cpu
(self, non_blocking=False)
lightx2v_platform/ops/norm/norm_template.py:112
Methodto_cpu
(self, non_blocking=False)
lightx2v_platform/ops/norm/norm_template.py:255
Methodto_cpu
(self, non_blocking=False)
lightx2v_platform/ops/mm/template.py:40
Methodto_cpu
(self, non_blocking=False)
lightx2v/common/ops/tensor/tensor.py:79
Methodto_cpu
(self, non_blocking=False)
lightx2v/common/ops/attn/template.py:20
Methodto_cpu
(self, non_blocking=False)
lightx2v/common/ops/embedding/embedding_weight.py:74
Methodto_cpu
(self, non_blocking=False)
lightx2v/common/ops/norm/rms_norm_weight.py:105
Methodto_cpu
(self, non_blocking=False)
lightx2v/common/ops/norm/layer_norm_weight.py:186
Methodto_cpu
(self, non_blocking=False)
lightx2v/common/ops/mm/mm_weight.py:288
Methodto_cpu
(self, non_blocking=False)
lightx2v/common/ops/mm/mm_weight.py:1262
Methodto_cpu
(self, non_blocking=False)
lightx2v/common/ops/conv/conv2d.py:45
Methodto_cpu
Move all weights to CPU.
lightx2v/models/networks/base_model.py:666
Methodto_cpu
(self, non_blocking=True)
lightx2v/models/networks/qwen_image/weights/transformer_weights.py:299
Methodto_cpu
(self, non_blocking=True)
lightx2v/models/networks/qwen_image/weights/transformer_weights.py:420
Methodto_cpu
(self, non_blocking=True)
lightx2v/models/networks/qwen_image/weights/transformer_weights.py:492
Methodto_cpu
(self, non_blocking=True)
lightx2v/models/networks/qwen_image/weights/post_weights.py:32
Methodto_cpu
(self, non_blocking=True)
lightx2v/models/networks/z_image/weights/transformer_weights.py:227
Methodto_cpu
(self, non_blocking=True)
lightx2v/models/networks/z_image/weights/transformer_weights.py:377
Methodto_cpu
(self, non_blocking=True)
lightx2v/models/networks/z_image/weights/post_weights.py:31
Methodto_cpu
(self, non_blocking=True)
lightx2v/models/networks/longcat_image/weights/transformer_weights.py:315
Methodto_cpu
(self, non_blocking=True)
lightx2v/models/networks/longcat_image/weights/transformer_weights.py:353
Methodto_cpu
(self, non_blocking=True)
lightx2v/models/networks/longcat_image/weights/post_weights.py:40
Methodto_cpu
(self, non_blocking=True)
lightx2v/models/networks/flux2/weights/transformer_weights.py:247
Methodto_cpu
(self, non_blocking=True)
lightx2v/models/networks/flux2/weights/transformer_weights.py:316
Methodto_cpu
(self, non_blocking=True)
lightx2v/models/networks/flux2/weights/post_weights.py:35
Methodto_cpu
(self)
lightx2v/models/input_encoders/hf/seko_audio/audio_encoder.py:33
Methodto_cpu
(self)
lightx2v/models/video_encoders/hf/wan/vae_sf.py:43
Methodto_cpu_async
(self, non_blocking=True)
lightx2v/common/modules/weight_module.py:147
Methodto_cuda
(self, non_blocking=False)
lightx2v_platform/ops/attn/template.py:23
Methodto_cuda
(self, non_blocking=False)
lightx2v_platform/ops/norm/norm_template.py:109
← previousnext →8,201–8,300 of 8,429, ranked by callers