MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

Methodkl
Compute the Kullback-Leibler (KL) divergence between this distribution and another. If `other` is None, compute KL divergence to a s
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/model.py:80
Methodkl
(self)
lightx2v/models/video_encoders/hf/seedvr/types.py:26
Functionlayer_norm_fn
( x, weight, bias, residual=None, x1=None, weight1=None, bias1=None, eps=1e-6,
lightx2v/common/ops/norm/triton_ops.py:740
Functionlayer_norm_fn
( x, weight, bias, residual=None, x1=None, weight1=None, bias1=None, eps=1e-6,
lightx2v/models/networks/wan/infer/triton_ops.py:862
Functionlayer_norm_fn
( x, weight, bias, residual=None, x1=None, weight1=None, bias1=None, eps=1e-6,
lightx2v/models/networks/qwen_image/infer/triton_ops.py:998
Functionlayer_norm_fn
( x, weight, bias, residual=None, x1=None, weight1=None, bias1=None, eps=1e-6,
lightx2v/models/networks/hunyuan_video/infer/triton_ops.py:735
Functionlen2weight
(x, loss_reduction="square")
lightx2v/models/networks/bagel/data_utils.py:166
Functionlinear_interpolation
(features, seq_len)
lightx2v/models/networks/wan/infer/infinitetalk/transformer_infer.py:10
Functionlist_tasks
()
lightx2v/server/api/tasks/common.py:62
Methodllm2vae
(self, weights, x)
lightx2v/models/networks/bagel/infer/post_infer.py:28
Methodload
(self, weight_dict)
lightx2v_platform/ops/attn/template.py:9
Methodload
(self, weight_dict)
lightx2v_platform/ops/norm/norm_template.py:55
Methodload
(self, weight_dict)
lightx2v_platform/ops/norm/norm_template.py:165
Methodload
(self, weight_dict)
lightx2v_platform/ops/mm/template.py:72
Methodload
(self, weight_dict)
lightx2v_platform/ops/mm/iluvatar_cuda/mm_weight.py:79
Methodload
(self, weight_dict)
lightx2v_platform/ops/mm/intel_xpu/__init__.py:48
Methodload
Load weights and transpose if needed
lightx2v_platform/ops/mm/intel_xpu/__init__.py:161
Methodload
Load state dict from path or paths (for sharded model storage) and apply sd_ops
lightx2v/utils/ltx2_utils.py:188
Methodload
(self, path: str | list[str], sd_ops: SDOps | None = None, device: torch.device | None = None)
lightx2v/utils/ltx2_utils.py:230
Methodload
(self, weight_dict)
lightx2v/common/ops/tensor/tensor.py:25
Methodload
(self, weight_dict)
lightx2v/common/ops/embedding/embedding_weight.py:25
Methodload
(self, weight_dict)
lightx2v/common/ops/norm/rms_norm_weight.py:467
Methodload
(self, weight_dict)
lightx2v/common/ops/norm/rms_norm_weight.py:528
Methodload
(self, weight_dict)
lightx2v/common/ops/norm/layer_norm_weight.py:90
Methodload
(self, weight_dict)
lightx2v/common/ops/mm/mm_weight.py:292
Methodload
(self, weight_dict)
lightx2v/common/ops/mm/mm_weight.py:388
Methodload
(self, weight_dict)
lightx2v/common/ops/mm/mm_weight.py:461
Methodload
(self, weight_dict)
lightx2v/common/ops/mm/mm_weight.py:2035
Methodload
(self, weight_dict)
lightx2v/common/ops/mm/mm_weight.py:2237
Methodload
Load weights using internal MMWeight's load method. Note: Weights in weight_dict are already split by _load_weights_from_rank0. The f
lightx2v/common/ops/mm/mm_weight.py:2478
Methodload
(self, weight_dict)
lightx2v/common/ops/conv/conv3d.py:68
Methodload
(self, weight_dict)
lightx2v/common/ops/conv/conv3d.py:81
Methodload
(self, weight_dict)
lightx2v/common/ops/conv/conv2d.py:20
Methodload
(self, weight_dict)
lightx2v/common/ops/conv/conv2d.py:73
Methodload
(self, weight_dict)
lightx2v/common/modules/weight_module.py:20
Methodload
(self, weight_dict)
lightx2v/models/networks/wan/weights/motus/transformer_weights.py:101
Methodload
(self, weight_dict)
lightx2v/models/networks/wan/weights/motus/post_weights.py:40
Methodload
(self, weight_dict)
lightx2v/models/networks/wan/weights/motus/pre_weights.py:190
Methodload
(self, weight_dict)
lightx2v/models/networks/neopp/weights/transformer_weights.py:152
Methodload_audio_adapter
(self)
lightx2v/models/runners/wan/wan_audio_runner.py:1024
Methodload_checkpoint
Load training checkpoint.
lightx2v/training/worldplay_ar_pipeline.py:277
Methodload_components
(self)
lightx2v_train/lightx2v_train/model_zoo/flux2_klein.py:24
Methodload_components
(self, transformer_only=False, reference_model=None)
lightx2v_train/lightx2v_train/model_zoo/wan_t2v.py:34
Methodload_components
(self, transformer_only=False, reference_model=None)
lightx2v_train/lightx2v_train/model_zoo/qwen_image_edit.py:45
Methodload_components
(self, transformer_only=False, reference_model=None)
lightx2v_train/lightx2v_train/model_zoo/longcat_image.py:26
Methodload_components
(self, transformer_only=False, reference_model=None)
lightx2v_train/lightx2v_train/model_zoo/flux2_dev.py:24
Methodload_components
(self, transformer_only=False, reference_model=None)
lightx2v_train/lightx2v_train/model_zoo/qwen_image.py:29
Methodload_fp4_weight
(self, w, comfyui_mode=False)
tools/convert/quant/quant.py:134
Methodload_fp8_perblock128_sym
(self, weight_dict)
lightx2v_platform/ops/mm/template.py:336
Methodload_fp8_perblock128_sym
(self, weight_dict)
lightx2v/common/ops/mm/mm_weight.py:565
Methodload_fp8_perchannel_sym
(self, weight_dict)
lightx2v_platform/ops/mm/template.py:195
Methodload_fp8_perchannel_sym
Load FP8 quantized weights with per-channel symmetric quantization
lightx2v_platform/ops/mm/intel_xpu/__init__.py:140
Methodload_fp8_perchannel_sym
(self, weight_dict)
lightx2v/common/ops/mm/mm_weight.py:514
Methodload_fp8_pertensor_sym
(self, weight_dict)
lightx2v/common/ops/mm/mm_weight.py:2331
Methodload_fp8_weight
(self, w, comfyui_mode=False)
tools/convert/quant/quant.py:59
Methodload_full_weights_for_resume
(self, resume_ckpt_path)
lightx2v_train/lightx2v_train/model_zoo/base.py:249
Methodload_full_weights_for_resume
(self, resume_ckpt_path)
lightx2v_train/lightx2v_train/model_zoo/qwen_image_edit.py:76
Methodload_image
(self, image_base64: bytes)
lightx2v/utils/service_utils.py:143
Functionload_image_async
(path: Union[str, Path])
lightx2v/utils/async_io.py:11
Methodload_image_encoder
(self)
lightx2v/models/runners/wan/wan_matrix_game2_runner.py:172
Methodload_image_encoder
(self)
lightx2v/models/runners/wan/wan_s2v_runner.py:86
Methodload_image_encoder
(self)
lightx2v/models/runners/wan/wan_dreamzero_runner.py:112
Methodload_image_encoder
(self)
lightx2v/models/runners/wan/wan_runner.py:923
Methodload_image_encoder
(self)
lightx2v/models/runners/z_image/z_image_runner.py:84
Methodload_image_encoder
SeedVR SR task doesn't use separate image encoder. The input video/image is encoded by VAE directly.
lightx2v/models/runners/seedvr/seedvr_runner.py:304
Methodload_image_encoder
(self)
lightx2v/models/runners/hunyuan_video/hunyuan_video_15_runner.py:299
Methodload_image_encoder
(self)
lightx2v/models/runners/ernie_image/ernie_image_runner.py:56
Methodload_image_encoder
(self)
lightx2v/models/runners/cosmos3/cosmos3_runner.py:104
Methodload_int8_perchannel_sym
(self, weight_dict)
lightx2v_platform/ops/mm/template.py:205
Methodload_int8_perchannel_sym
Load INT8 per-channel symmetric quantized weights.
lightx2v_platform/ops/mm/hygon_dcu/mm_weight.py:45
Methodload_int8_perchannel_sym
(self, weight_dict)
lightx2v/common/ops/mm/mm_weight.py:524
Methodload_int8_weight
(self, w, comfyui_mode=False)
tools/convert/quant/quant.py:32
Methodload_lora_for_infer
(self, lora_path, adapter_name=None)
lightx2v_train/lightx2v_train/model_zoo/wan_t2v.py:162
Methodload_model
(self)
lightx2v/models/runners/wan/wan_audio_runner.py:855
Methodload_model
(self)
lightx2v/models/runners/qwen_image/qwen_image_runner.py:80
Methodload_model
(self)
lightx2v/models/runners/ltx2/ltx2_runner.py:103
Methodload_mxfp4
(self, weight_dict)
lightx2v_platform/ops/mm/template.py:215
Methodload_mxfp4
(self, weight_dict)
lightx2v/common/ops/mm/mm_weight.py:534
Methodload_mxfp4_weight
(self, w, comfyui_mode=False)
tools/convert/quant/quant.py:89
Methodload_mxfp6
(self, weight_dict)
lightx2v_platform/ops/mm/template.py:238
Methodload_mxfp6
(self, weight_dict)
lightx2v/common/ops/mm/mm_weight.py:543
Methodload_mxfp6_weight
(self, w, comfyui_mode=False)
tools/convert/quant/quant.py:104
Methodload_mxfp8
(self, weight_dict)
lightx2v_platform/ops/mm/template.py:261
Methodload_mxfp8
(self, weight_dict)
lightx2v/common/ops/mm/mm_weight.py:552
Methodload_mxfp8_weight
(self, w, comfyui_mode=False)
tools/convert/quant/quant.py:119
Methodload_nvfp4
(self, weight_dict)
lightx2v_platform/ops/mm/template.py:284
Methodload_nvfp4
(self, weight_dict)
lightx2v/common/ops/mm/mm_weight.py:561
Functionload_pose_metas_from_kp2ds_seq_list
(kp2ds_seq, width, height)
tools/preprocess/pose2d_utils.py:1069
Functionload_processor
(module: GemmaTextEncoder)
lightx2v/models/input_encoders/hf/ltx2/gemma/encoders/base_encoder.py:203
Methodload_quantized
(self, weight_dict)
lightx2v/common/ops/mm/mm_weight.py:1010
Methodload_state_dict
(self, destination, block_index, adapter_block_inde=None)
lightx2v_platform/ops/attn/template.py:31
Methodload_state_dict
(self, destination, block_index, adapter_block_index=None)
lightx2v_platform/ops/norm/norm_template.py:124
Methodload_state_dict
(self, destination, block_index, adapter_block_index=None)
lightx2v_platform/ops/norm/norm_template.py:274
Methodload_state_dict
(self, destination, block_index, adapter_block_index=None)
lightx2v_platform/ops/mm/template.py:422
Methodload_state_dict
(self, destination, block_index, adapter_block_index=None)
lightx2v/common/ops/tensor/tensor.py:91
Methodload_state_dict
(self, destination, block_index, adapter_block_inde=None)
lightx2v/common/ops/attn/template.py:31
Methodload_state_dict
(self, destination, block_index, adapter_block_index=None)
lightx2v/common/ops/embedding/embedding_weight.py:86
Methodload_state_dict
(self, destination, block_index, adapter_block_index=None)
lightx2v/common/ops/norm/rms_norm_weight.py:111
Methodload_state_dict
(self, destination, block_index, adapter_block_index=None)
lightx2v/common/ops/norm/layer_norm_weight.py:132
Methodload_state_dict
(self, destination, block_index, adapter_block_index=None)
lightx2v/common/ops/mm/mm_weight.py:271
← previousnext →7,501–7,600 of 8,429, ranked by callers