MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

Methodload_state_dict
(self, destination, block_index, adapter_block_index=None)
lightx2v/common/ops/mm/mm_weight.py:1293
Methodload_state_dict
(self, destination, block_index, adapter_block_index=None)
lightx2v/common/ops/mm/mm_weight.py:2071
Methodload_state_dict
(self, destination, block_index, adapter_block_index=None)
lightx2v/common/modules/weight_module.py:76
Methodload_state_dict
(self, state_dict, strict=False)
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:1474
Methodload_state_dict_from_disk
(self, block_index, adapter_block_index=None)
lightx2v_platform/ops/norm/norm_template.py:136
Methodload_state_dict_from_disk
(self, block_index, adapter_block_index=None)
lightx2v_platform/ops/norm/norm_template.py:290
Methodload_state_dict_from_disk
(self, block_index, adapter_block_index=None)
lightx2v_platform/ops/mm/template.py:443
Methodload_state_dict_from_disk
(self, block_index, adapter_block_index=None)
lightx2v/common/ops/tensor/tensor.py:102
Methodload_state_dict_from_disk
(self, block_index, adapter_block_inde=None)
lightx2v/common/ops/attn/template.py:34
Methodload_state_dict_from_disk
(self, block_index, adapter_block_index=None)
lightx2v/common/ops/embedding/embedding_weight.py:98
Methodload_state_dict_from_disk
(self, block_index, adapter_block_index=None)
lightx2v/common/ops/norm/rms_norm_weight.py:135
Methodload_state_dict_from_disk
(self, block_index, adapter_block_index=None)
lightx2v/common/ops/norm/layer_norm_weight.py:157
Methodload_state_dict_from_disk
(self, block_index, adapter_block_index=None)
lightx2v/common/ops/mm/mm_weight.py:572
Methodload_state_dict_from_disk
(self, block_index, adapter_block_index=None)
lightx2v/common/ops/mm/mm_weight.py:1313
Methodload_state_dict_from_disk
(self, block_index, adapter_block_index=None)
lightx2v/common/modules/weight_module.py:87
Methodload_tensor
(self, tensor_base64: str, device="cuda")
lightx2v/utils/service_utils.py:127
Methodload_text_encoder
(self)
lightx2v/models/runners/hunyuan3d/hunyuan3d_shape_runner.py:91
Methodload_text_encoder
(self)
lightx2v/models/runners/wan/wan_matrix_game2_runner.py:167
Methodload_text_encoder
(self)
lightx2v/models/runners/wan/wan_dreamzero_runner.py:135
Methodload_text_encoder
Load text encoders with BI model support. For BI model with use_bi_model_as_main=True, load byt5_in weights from the action_ckpt inst
lightx2v/models/runners/worldplay/worldplay_bi_runner.py:149
Methodload_text_encoder
Load text encoder for SeedVR. SeedVR uses pre-computed text embeddings (pos_emb.pt, neg_emb.pt). We load them from disk and cache the
lightx2v/models/runners/seedvr/seedvr_runner.py:294
Methodload_text_encoder
(self)
lightx2v/models/runners/hunyuan_video/hunyuan_video_15_runner.py:72
Methodload_text_encoder
(self)
lightx2v/models/runners/flux2/flux2_runner.py:395
Methodload_text_encoder
(self)
lightx2v/models/runners/motus/motus_runner.py:67
Functionload_tokenizer
(module: GemmaTextEncoder)
lightx2v/models/input_encoders/hf/ltx2/gemma/encoders/base_encoder.py:199
Methodload_transformer
(self)
lightx2v/models/runners/wan/wan_matrix_game2_runner.py:230
Methodload_transformer
(self)
lightx2v/models/runners/wan/wan_distill_runner.py:18
Methodload_transformer
(self)
lightx2v/models/runners/wan/wan_distill_runner.py:142
Methodload_transformer
(self)
lightx2v/models/runners/wan/wan_audio_runner.py:810
Methodload_transformer
(self)
lightx2v/models/runners/wan/wan_animate_runner.py:443
Methodload_transformer
(self)
lightx2v/models/runners/wan/wan_vace_runner.py:33
Methodload_transformer
(self)
lightx2v/models/runners/wan/wan_vace_runner.py:218
Methodload_transformer
(self)
lightx2v/models/runners/wan/wan_sf_runner.py:27
Methodload_transformer
(self)
lightx2v/models/runners/wan/wan_lingbot_fast_runner.py:37
Methodload_transformer
(self)
lightx2v/models/runners/wan/wan_runner.py:746
Methodload_transformer
(self)
lightx2v/models/runners/wan/wan_runner.py:928
Methodload_transformer
MoT: Mixture-of-Transformer-Experts (MoT) architecture https://arxiv.org/abs/2505.14683
lightx2v/models/runners/neopp/neopp_runner.py:71
Methodload_transformer
Load the SeedVR transformer model.
lightx2v/models/runners/seedvr/seedvr_runner.py:283
Methodload_transformer
(self)
lightx2v/models/runners/hunyuan_video/hunyuan_video_15_runner.py:105
Methodload_transformer
(self)
lightx2v/models/runners/flux2/flux2_runner.py:387
Methodload_transformer
(self)
lightx2v/models/runners/motus/motus_runner.py:64
Methodload_vae
(self)
lightx2v/models/runners/wan/wan_audio_runner.py:985
Methodload_vae
Load VAE encoder and decoder for SeedVR. SeedVR's VAE is a single model that can both encode and decode, so we return the same instan
lightx2v/models/runners/seedvr/seedvr_runner.py:341
Methodload_vae
(self)
lightx2v/models/runners/hunyuan_video/hunyuan_video_15_runner.py:357
Methodload_vae_decoder
(self)
lightx2v/models/runners/wan/wan_dreamzero_runner.py:180
Methodload_vae_decoder
(self)
lightx2v/models/runners/wan/wan_runner.py:872
Methodload_vae_decoder
(self)
lightx2v/models/runners/seedvr/seedvr_runner.py:338
Methodload_vae_decoder
(self)
lightx2v/models/runners/motus/motus_runner.py:99
Methodload_vae_encoder
(self)
lightx2v/models/runners/wan/wan_dreamzero_runner.py:159
Methodload_vae_encoder
(self)
lightx2v/models/runners/wan/wan_runner.py:866
Methodload_vae_encoder
(self)
lightx2v/models/runners/motus/motus_runner.py:86
Methodload_vsr_model
(self)
lightx2v/models/runners/hunyuan_video/hunyuan_video_15_runner.py:365
Methodlocked
(self)
lightx2v/utils/lockable_dict.py:22
Methodlog_message
(self, format, *args)
lightx2v/disagg/services/controller.py:313
Methodlog_message
(self, *args)
lightx2v_ros/src/visualization/visualization/image_web_viewer_node/main.py:186
Functionlr_lambda
(step)
lightx2v/training/worldplay_ar_pipeline.py:325
Functionmake_720Pwindows_bysize
(size: Tuple[int, int, int], num_windows: Tuple[int, int, int])
lightx2v/models/networks/seedvr/utils/window.py:15
Functionmake_shifted_720Pwindows_bysize
(size: Tuple[int, int, int], num_windows: Tuple[int, int, int])
lightx2v/models/networks/seedvr/utils/window.py:39
Methodmake_window
(x: torch.Tensor)
lightx2v/models/networks/seedvr/infer/transformer_infer.py:108
Functionmap_op
(intervals: DimensionIntervals)
lightx2v/models/video_encoders/hf/ltx2/video_vae/video_vae.py:980
Functionmap_spatial_slice
(begin: int, end: int, left_ramp: int, right_ramp: int, scale: int)
lightx2v/models/video_encoders/hf/ltx2/video_vae/video_vae.py:1006
Functionmap_temporal_slice
(begin: int, end: int, left_ramp: int, right_ramp: int, scale: int)
lightx2v/models/video_encoders/hf/ltx2/video_vae/video_vae.py:997
Methodmask_shape
(self)
lightx2v/models/video_encoders/hf/ltx2/audio_vae/audio_vae.py:46
Methodmask_shape
(self)
lightx2v/models/video_encoders/hf/ltx2/video_vae/video_vae.py:85
Methodmaybe_cast
(t)
lightx2v_platform/ops/mm/ascend_npu/npu_q_linear.py:43
Methodmaybe_cast
(t)
lightx2v_platform/ops/mm/iluvatar_cuda/q_linear.py:77
Methodmaybe_cast
(t)
lightx2v_platform/ops/mm/intel_xpu/q_linear.py:96
Methodmaybe_cast
(t)
lightx2v_platform/ops/mm/intel_xpu/q_linear.py:179
Methodmaybe_cast
(t)
lightx2v_platform/ops/mm/cambricon_mlu/q_linear.py:39
Methodmaybe_cast
(t)
lightx2v/models/input_encoders/hf/q_linear.py:86
Methodmaybe_cast
(t)
lightx2v/models/input_encoders/hf/q_linear.py:146
Methodmaybe_cast
(t)
lightx2v/models/input_encoders/hf/q_linear.py:197
Methodmaybe_cast
(t)
lightx2v/models/input_encoders/hf/q_linear.py:246
Methodmaybe_cast
(t)
lightx2v/models/input_encoders/hf/q_linear.py:298
Methodmaybe_cast
(t)
lightx2v/models/input_encoders/hf/q_linear.py:340
Methodmaybe_cast
(t)
lightx2v/models/input_encoders/hf/q_linear.py:390
Methodmaybe_cast
(t)
lightx2v/models/input_encoders/hf/q_linear.py:439
Methodmaybe_cast
(t)
lightx2v/models/input_encoders/hf/q_linear.py:487
Methodmemory_footprint
(self)
lightx2v/utils/ggml_tensor.py:195
Methodmerge
(self, other_register)
lightx2v_train/lightx2v_train/utils/registry.py:49
Methodmetadata
(self, path: str)
lightx2v/utils/ltx2_utils.py:185
Methodmetadata
(self, path: str)
lightx2v/utils/ltx2_utils.py:226
Methodmetrics_middleware
(request, call_next)
lightx2v/server/api/server.py:33
Methodmodel_config
(self)
lightx2v/models/networks/hidream_o1_image/model.py:52
Functionmodulate
(x, scale, shift)
lightx2v/models/networks/wan/infer/transformer_infer.py:17
Functionmodulate
(x, shift, scale)
lightx2v/models/networks/worldmirror/models/layers/block.py:18
Functionmodulate
(x, scale, shift)
lightx2v/models/networks/hunyuan_video/infer/transformer_infer.py:18
Functionmodulate
(x, scale, shift)
lightx2v/models/networks/motus/infer/transformer_infer.py:21
Functionmodulate_per_token
Modulate with per-token scale and shift (no unsqueeze). Args: x: [L, C] tensor scale: [B, L, C] or [B, C] tensor shift: [
lightx2v/models/networks/worldplay/infer/transformer_infer.py:20
Functionmodulate_per_token
Modulate with per-token scale and shift (no unsqueeze). Args: x: [L, C] tensor scale: [B, L, C] or [B, C] tensor shift: [
lightx2v/models/networks/worldplay/infer/bi_transformer_infer.py:20
Functionmodulate_per_token
Modulate with per-token scale and shift (no unsqueeze). Args: x: [L, C] tensor scale: [B, L, C] or [B, C] tensor shift: [
lightx2v/models/networks/worldplay/infer/ar_transformer_infer.py:96
Functionmodulate_with_rmsnorm_torch_naive
(x, scale, shift, weight=None, bias=None, eps=1e-6)
lightx2v/models/networks/ltx2/infer/utils.py:18
Functionmodule_ops_from_gemma_root
(gemma_root: str)
lightx2v/models/input_encoders/hf/ltx2/gemma/encoders/base_encoder.py:195
Methodmulti_pipeline_run_debug
(self, input_info)
lightx2v/models/runners/neopp/neopp_runner.py:165
Functionmultilabel_classification_accuracy
Get multi-label classification accuracy. Note: - batch size: N - label number: L Args: pred (np.ndarray[N, L, 2]): m
tools/preprocess/pose2d_utils.py:932
Methodnamespace
(self, namespace: str)
lightx2v/models/video_encoders/hf/seedvr/common/cache.py:24
Methodnext_frame
(self)
lightx2v/shot_runner/utils.py:62
Methodnll
(self, sample, dims=(1, 2, 3))
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/model.py:102
Methodnon_block_weights_to_cpu
(self)
lightx2v/models/networks/wan/weights/fastwam/transformer_weights.py:82
Methodnon_block_weights_to_cpu
(self)
lightx2v/models/networks/wan/weights/infinitetalk/transformer_weights.py:100
← previousnext →7,601–7,700 of 8,429, ranked by callers