Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ModelTC/LightX2V
/ functions
Functions
8,429 in github.com/ModelTC/LightX2V
⨍
Functions
8,429
◇
Types & classes
1,399
↳
Endpoints
30
Function
str2bool
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
Method
stream_decode_with_cond
(self, latents, tiled=False, cond=None)
lightx2v/models/runners/vsr/utils/TCDecoder.py:299
Method
stream_forward
(self, video_clip)
lightx2v/models/runners/vsr/utils/utils.py:124
Function
submit_kernel
lightx2v_kernel_xpu/csrc/utils.h:13
Method
submit_request
(self)
lightx2v/disagg/workload.py:259
Method
switch_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
Method
switch_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
Method
switch_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
Function
sync_data
(data, sp_idx, name="tmp")
lightx2v/models/video_encoders/hf/seedvr/common/distributed/ops.py:449
Method
sync_wrapper
(*args, **kwargs)
lightx2v/utils/profiler.py:126
Method
sync_wrapper
(*args, **kwargs)
lightx2v/utils/profiler.py:214
Function
task
(fn)
lightx2v/disagg/workload.py:34
Function
temporal_mask_mod
(b, h, q_idx, kv_idx)
lightx2v/common/ops/attn/svg_attn.py:222
Method
tensor_type
(self)
lightx2v/utils/ggml_tensor.py:171
Method
test_accuracy
Test the accuracy of quantization from BF16 to MXFP6.
lightx2v_kernel/test/mxfp6_mxfp8/test_mxfp6_quant.py:18
Method
test_accuracy
Test the accuracy of quantization from BF16 to MXFP8.
lightx2v_kernel/test/mxfp8_mxfp8/test_mxfp8_quant.py:18
Method
test_accuracy
Test the accuracy of quantization from BF16 to MXFP4.
lightx2v_kernel/test/mxfp4_mxfp4/test_mxfp4_quant.py:18
Method
test_audio_forwards_c_gate_msa
(self)
test_cases/test_wan_mxfp8_fuse_forwarding.py:173
Method
test_base_infer_ffn_respects_mxfp8_fuse_enable
(self)
test_cases/test_wan_mxfp8_fuse_forwarding.py:62
Method
test_default_aspect_ratio
(self)
test_cases/test_bagel_t2i_support.py:89
Method
test_feature_caching_variants_forward_c_gate_msa
(self)
test_cases/test_wan_mxfp8_fuse_forwarding.py:205
Method
test_first_block_reads_cfg_state_from_scheduler
(self)
test_cases/test_wan_feature_cache_cfg_state.py:12
Method
test_gen_text_raises_not_implemented
(self)
test_cases/test_bagel_t2i_support.py:175
Method
test_i2i_auto_shape_preserves_input_ratio_and_aligns
(self)
test_cases/test_bagel_t2i_support.py:149
Method
test_i2i_context_roles_match_mvp_plan
(self)
test_cases/test_bagel_t2i_support.py:180
Method
test_i2i_invalid_shape_raises
(self)
test_cases/test_bagel_t2i_support.py:153
Method
test_i2i_missing_config_error_is_clear
(self)
test_cases/test_bagel_t2i_support.py:157
Method
test_i2i_target_shape_overrides_input_shape
(self)
test_cases/test_bagel_t2i_support.py:145
Method
test_int8_gemm_bias_default_output_dtype_is_float16_and_does_not_overflow
(self)
test_cases/test_int8_triton_kernels.py:68
Method
test_int8_gemm_bias_uses_valid_scale_indices_for_non_tile_mn
(self)
test_cases/test_int8_triton_kernels.py:162
Method
test_int8_gemm_default_output_dtype_is_float16_and_does_not_overflow
(self)
test_cases/test_int8_triton_kernels.py:60
Method
test_int8_gemm_explicit_output_dtype_is_preserved
(self)
test_cases/test_int8_triton_kernels.py:77
Method
test_int8_gemm_handles_k_tail_and_block_k_64_multiples
(self)
test_cases/test_int8_triton_kernels.py:92
Method
test_int8_gemm_handles_non_tile_mn
(self)
test_cases/test_int8_triton_kernels.py:154
Method
test_int8_gemm_random_scales_bias_and_tail_shapes
(self)
test_cases/test_int8_triton_kernels.py:122
Method
test_invalid_aspect_ratio_raises
(self)
test_cases/test_bagel_t2i_support.py:109
Method
test_invalid_target_shape_raises
(self)
test_cases/test_bagel_t2i_support.py:102
Method
test_lingbot_forwards_c_gate_msa
(self)
test_cases/test_wan_mxfp8_fuse_forwarding.py:143
Method
test_missing_flash_attn_error_is_clear
(self)
test_cases/test_bagel_t2i_support.py:128
Method
test_missing_model_weights_error_is_clear
(self)
test_cases/test_bagel_t2i_support.py:137
Method
test_missing_vit_weights_error_is_clear
(self)
test_cases/test_bagel_t2i_support.py:163
Method
test_mxfp8_gelu_quant_matches_baseline
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:90
Method
test_mxfp8_gemm_residual_gate_1d_fast_path_matches_2d_fallback_contract
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:270
Method
test_mxfp8_gemm_residual_gate_2d_fallback_cancellation_case_matches_reference
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:373
Method
test_mxfp8_gemm_residual_gate_2d_fallback_matches_baseline
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:242
Method
test_mxfp8_gemm_residual_gate_2d_fallback_misaligned_x1_path_matches_reference
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:327
Method
test_mxfp8_gemm_residual_gate_2d_fallback_misaligned_x2_path_matches_reference
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:298
Method
test_mxfp8_gemm_residual_gate_2d_fallback_zero_gate_matches_residual
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:355
Method
test_mxfp8_gemm_residual_gate_fast_path_validates_device_mismatch
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:494
Method
test_mxfp8_gemm_residual_gate_fast_path_validates_gemm_inputs
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:413
Method
test_mxfp8_gemm_residual_gate_matches_baseline
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:188
Method
test_mxfp8_gemm_residual_gate_without_bias_matches_baseline
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:215
Method
test_mxfp8_modulate_quant_matches_1d_baseline
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:154
Method
test_mxfp8_modulate_quant_matches_2d_baseline
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:170
Method
test_mxfp8_quant_ops_validate_explicit_outputs
(self)
lightx2v_kernel/test/mxfp8_mxfp8/test_fused_ffn.py:106
Method
test_official_aspect_ratios
(self)
test_cases/test_bagel_t2i_support.py:92
Method
test_offload_phase_two_forwards_c_gate_msa
(self)
test_cases/test_wan_mxfp8_fuse_forwarding.py:85
Method
test_performance
Benchmark the performance of Activation quantization from BF16 to MXFP6.
lightx2v_kernel/test/mxfp6_mxfp8/test_mxfp6_quant.py:39
Method
test_performance
Benchmark the performance of Activation quantization from BF16 to MXFP8.
lightx2v_kernel/test/mxfp8_mxfp8/test_mxfp8_quant.py:39
Method
test_performance
Benchmark the performance of Activation quantization from BF16 to MXFP4.
lightx2v_kernel/test/mxfp4_mxfp4/test_mxfp4_quant.py:40
Method
test_resize_pil_for_vit_respects_stride_and_max_pixels
(self)
test_cases/test_bagel_t2i_support.py:235
Method
test_seed_controls_initial_noise
(self)
test_cases/test_bagel_t2i_support.py:113
Method
test_self_forcing_forwards_c_gate_msa
(self)
test_cases/test_wan_mxfp8_fuse_forwarding.py:112
Method
test_target_shape_overrides_aspect_ratio
(self)
test_cases/test_bagel_t2i_support.py:98
Method
test_vit_config_uses_checkpoint_layer_count
(self)
test_cases/test_bagel_t2i_support.py:167
Method
tflops
(self, args, kwargs, output)
lightx2v/models/networks/seedvr/utils/attention.py:13
Method
tflops
(self, args, kwargs, output)
lightx2v/models/networks/seedvr/utils/attention.py:26
Method
tflops
(self, args, kwargs, output)
lightx2v/models/video_encoders/hf/seedvr/causal_inflation_lib.py:252
Method
tiled_decode
(self, z, scale)
lightx2v/models/video_encoders/hf/wan/vae.py:626
Method
to_cpu
(self, non_blocking=False)
lightx2v_platform/ops/attn/template.py:20
Method
to_cpu
(self, non_blocking=False)
lightx2v_platform/ops/norm/norm_template.py:112
Method
to_cpu
(self, non_blocking=False)
lightx2v_platform/ops/norm/norm_template.py:255
Method
to_cpu
(self, non_blocking=False)
lightx2v_platform/ops/mm/template.py:40
Method
to_cpu
(self, non_blocking=False)
lightx2v/common/ops/tensor/tensor.py:79
Method
to_cpu
(self, non_blocking=False)
lightx2v/common/ops/attn/template.py:20
Method
to_cpu
(self, non_blocking=False)
lightx2v/common/ops/embedding/embedding_weight.py:74
Method
to_cpu
(self, non_blocking=False)
lightx2v/common/ops/norm/rms_norm_weight.py:105
Method
to_cpu
(self, non_blocking=False)
lightx2v/common/ops/norm/layer_norm_weight.py:186
Method
to_cpu
(self, non_blocking=False)
lightx2v/common/ops/mm/mm_weight.py:288
Method
to_cpu
(self, non_blocking=False)
lightx2v/common/ops/mm/mm_weight.py:1262
Method
to_cpu
(self, non_blocking=False)
lightx2v/common/ops/conv/conv2d.py:45
Method
to_cpu
Move all weights to CPU.
lightx2v/models/networks/base_model.py:666
Method
to_cpu
(self, non_blocking=True)
lightx2v/models/networks/qwen_image/weights/transformer_weights.py:299
Method
to_cpu
(self, non_blocking=True)
lightx2v/models/networks/qwen_image/weights/transformer_weights.py:420
Method
to_cpu
(self, non_blocking=True)
lightx2v/models/networks/qwen_image/weights/transformer_weights.py:492
Method
to_cpu
(self, non_blocking=True)
lightx2v/models/networks/qwen_image/weights/post_weights.py:32
Method
to_cpu
(self, non_blocking=True)
lightx2v/models/networks/z_image/weights/transformer_weights.py:227
Method
to_cpu
(self, non_blocking=True)
lightx2v/models/networks/z_image/weights/transformer_weights.py:377
Method
to_cpu
(self, non_blocking=True)
lightx2v/models/networks/z_image/weights/post_weights.py:31
Method
to_cpu
(self, non_blocking=True)
lightx2v/models/networks/longcat_image/weights/transformer_weights.py:315
Method
to_cpu
(self, non_blocking=True)
lightx2v/models/networks/longcat_image/weights/transformer_weights.py:353
Method
to_cpu
(self, non_blocking=True)
lightx2v/models/networks/longcat_image/weights/post_weights.py:40
Method
to_cpu
(self, non_blocking=True)
lightx2v/models/networks/flux2/weights/transformer_weights.py:247
Method
to_cpu
(self, non_blocking=True)
lightx2v/models/networks/flux2/weights/transformer_weights.py:316
Method
to_cpu
(self, non_blocking=True)
lightx2v/models/networks/flux2/weights/post_weights.py:35
Method
to_cpu
(self)
lightx2v/models/input_encoders/hf/seko_audio/audio_encoder.py:33
Method
to_cpu
(self)
lightx2v/models/video_encoders/hf/wan/vae_sf.py:43
Method
to_cpu_async
(self, non_blocking=True)
lightx2v/common/modules/weight_module.py:147
Method
to_cuda
(self, non_blocking=False)
lightx2v_platform/ops/attn/template.py:23
Method
to_cuda
(self, non_blocking=False)
lightx2v_platform/ops/norm/norm_template.py:109
← previous
next →
8,201–8,300 of 8,429, ranked by callers