MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

↓ 1 callersFunctionload_base_config
()
lightx2v/disagg/workload.py:126
↓ 1 callersFunctionload_byt5_and_byt5_tokenizer
Load ByT5 encoder and tokenizer from Huggingface, and add special tokens if needed. Args: byt5_name (str): Model name or path.
lightx2v/models/input_encoders/hf/hunyuan15/byt5/model.py:63
↓ 1 callersMethodload_encoders
(self)
lightx2v/models/runners/wan/wan_animate_runner.py:454
↓ 1 callersMethodload_fp4_weight
(self, weight, bias)
lightx2v_kernel/test/mxfp4_mxfp4/test_bench.py:19
↓ 1 callersMethodload_fp4_weight
(self, weight, bias)
lightx2v_kernel/test/nvfp4_nvfp4/test_bench2.py:21
↓ 1 callersMethodload_fp6_weight
(self, weight, bias)
lightx2v_kernel/test/mxfp6_mxfp8/test_bench.py:19
↓ 1 callersMethodload_fp8_weight
(self, weight, bias)
lightx2v_kernel/test/mxfp8_mxfp8/test_bench.py:19
↓ 1 callersMethodload_from_env
()
lightx2v/disagg/mooncake.py:72
↓ 1 callersMethodload_from_kp2ds
input 133x3 numpy keypoints and output AAPoseMeta Args: kp2ds (List[np.ndarray]): _description_ width (int): _descrip
tools/preprocess/pose2d_utils.py:169
↓ 1 callersMethodload_from_meta
(self, meta, norm_body=True, norm_hand=False)
tools/preprocess/pose2d_utils.py:144
↓ 1 callersMethodload_from_safetensors
Load a safetensors-style state_dict into both containers. The ``state`` is expected to live on CPU (as returned by ``safetensors.torc
lightx2v/models/networks/worldmirror/model.py:392
↓ 1 callersMethodload_from_safetensors_lazy
(self, safetensors_path: str)
lightx2v/models/networks/worldmirror/model.py:494
↓ 1 callersFunctionload_gguf_sd_ckpt
(gguf_path, return_arch=False, to_device: Optional[Union[int, torch.device]] = None)
lightx2v/utils/ggml_tensor.py:220
↓ 1 callersFunctionload_hf_models_cache
从 Hugging Face 加载模型列表并缓存,如果 HF 超时或失败,则尝试使用 ModelScope
app/utils/model_utils.py:239
↓ 1 callersMethodload_image_encoder
Load image encoder Returns: Image encoder instance or None if not needed
lightx2v/models/runners/base_runner.py:121
↓ 1 callersMethodload_image_encoder
(self)
lightx2v/models/runners/hunyuan3d/hunyuan3d_shape_runner.py:94
↓ 1 callersMethodload_image_encoder
(self)
lightx2v/models/runners/qwen_image/qwen_image_runner.py:150
↓ 1 callersMethodload_image_encoder
(self)
lightx2v/models/runners/longcat_image/longcat_image_runner.py:78
↓ 1 callersFunctionload_image_processor
(processor_type, processor_path=None, logger=None)
lightx2v/models/input_encoders/hf/hunyuan15/siglip/model.py:55
↓ 1 callersMethodload_images
Load images from various input types. Args: inputs (Union[str, np.ndarray, List[np.ndarray]]): Input can be file path,
tools/preprocess/pose2d.py:347
↓ 1 callersFunctionload_init_states
(get_libero_path, task, init_state_id)
lightx2v_ros/src/simulator/simulator/libero_node/observer.py:57
↓ 1 callersFunctionload_layout_bboxes
Load layout boxes from either a JSON string or a JSON file path.
lightx2v/models/networks/hidream_o1_image/utils.py:70
↓ 1 callersFunctionload_libero
(libero_root)
lightx2v_ros/src/simulator/simulator/libero_node/observer.py:42
↓ 1 callersMethodload_lora_state_dict_from_disk
(self, block_index)
lightx2v/common/ops/norm/rms_norm_weight.py:121
↓ 1 callersMethodload_lora_state_dict_from_disk
(self, block_index)
lightx2v/common/ops/norm/layer_norm_weight.py:142
↓ 1 callersFunctionload_lora_weights
Load LoRA weights from file Args: lora_path: Path to LoRA model file Returns: Dictionary of weights
tools/extract/convert_lightning_to_x2v_lora.py:33
↓ 1 callersFunctionload_loras
Load and apply LoRA weights to model weights using the LoRALoader class. Args: lora_path: Path to LoRA safetensors file weig
tools/convert/converter.py:445
↓ 1 callersMethodload_model
(self)
lightx2v/models/runners/default_runner.py:157
↓ 1 callersMethodload_model
(self)
lightx2v/models/runners/hunyuan3d/hunyuan3d_shape_runner.py:49
↓ 1 callersMethodload_model
(self)
lightx2v/models/runners/hidream_o1_image/hidream_o1_image_runner.py:67
↓ 1 callersMethodload_model
(self)
lightx2v/models/runners/wan/wan_s2v_runner.py:77
↓ 1 callersMethodload_model
(self)
lightx2v/models/runners/wan/wan_infinitetalk_runner.py:127
↓ 1 callersMethodload_model
(self)
lightx2v/models/runners/wan/wan_runner.py:269
↓ 1 callersMethodload_model
(self)
lightx2v/models/runners/bagel/bagel_runner.py:45
↓ 1 callersMethodload_model
(self)
lightx2v/models/runners/z_image/z_image_runner.py:61
↓ 1 callersMethodload_model
(self)
lightx2v/models/runners/ernie_image/ernie_image_runner.py:41
↓ 1 callersMethodload_model
(self)
lightx2v/models/runners/cosmos3/cosmos3_runner.py:85
↓ 1 callersMethodload_model
(self)
lightx2v/models/runners/longcat_image/longcat_image_runner.py:382
↓ 1 callersMethodload_model
(self)
lightx2v/models/runners/flux2/flux2_runner.py:50
↓ 1 callersMethodload_model
(self, path, rank=0)
lightx2v/models/vfi/rife/train_log/RIFE_HDv3.py:32
↓ 1 callersFunctionload_model_weights
Load model weights from file
tools/extract/convert_vigen_to_x2v_model.py:71
↓ 1 callersMethodload_models
(self)
lightx2v/disagg/services/transformer.py:501
↓ 1 callersMethodload_models
(self)
lightx2v/disagg/services/encoder.py:422
↓ 1 callersMethodload_multi_person_audio
(self, audio_paths: List[str])
lightx2v/models/runners/wan/wan_audio_runner.py:196
↓ 1 callersMethodload_pose_cond
Align with Wan2.2 WanS2V.load_pose_cond: VAE-encoded pose latents per clip.
lightx2v/models/runners/wan/wan_s2v_runner.py:137
↓ 1 callersFunctionload_pose_metas_from_kp2ds_seq
(kp2ds_seq, width, height)
tools/preprocess/pose2d_utils.py:1095
↓ 1 callersFunctionload_prior_camera
Load camera priors from JSON. Returns (extrinsics [1,N,4,4], intrinsics [1,N,3,3]).
lightx2v/models/networks/worldmirror/utils/inference_utils.py:214
↓ 1 callersFunctionload_prior_depth
Load depth priors from a folder. Returns [1, N, H, W] or None.
lightx2v/models/networks/worldmirror/utils/inference_utils.py:297
↓ 1 callersFunctionload_prompts_from_file
Load prompts from a file, one prompt per line. Returns: list: prompts, where each element is a prompt string
scripts/server/post_multi_servers_t2v.py:41
↓ 1 callersFunctionload_prompts_from_folder
Load prompts from all files in the specified folder. Returns: tuple: (prompts, filenames) where prompts is a list of prompt strings
scripts/server/post_multi_servers_t2v.py:8
↓ 1 callersMethodload_quantized
(self, weight_dict)
lightx2v/common/ops/mm/mm_weight.py:2309
↓ 1 callersFunctionload_safetensors_from_dir
从目录加载所有safetensors文件,支持按key筛选
lightx2v/utils/utils.py:481
↓ 1 callersMethodload_sound_tokenizer
(self)
lightx2v/models/runners/cosmos3/cosmos3_runner.py:110
↓ 1 callersFunctionload_text_encoder
( text_encoder_type, text_encoder_precision=None, text_encoder_path=None, logger=None, device=None, text_e
lightx2v/models/input_encoders/hf/hunyuan15/qwen25/model.py:115
↓ 1 callersMethodload_text_encoder
Load text encoder Returns: Text encoder instance or list of text encoder instances
lightx2v/models/runners/base_runner.py:113
↓ 1 callersFunctionload_tokenizer
(tokenizer_type, tokenizer_path=None, padding_side="right", logger=None)
lightx2v/models/input_encoders/hf/hunyuan15/qwen25/model.py:176
↓ 1 callersMethodload_transformer
(self)
lightx2v/models/runners/hunyuan3d/hunyuan3d_shape_runner.py:71
↓ 1 callersMethodload_transformer
(self)
lightx2v/models/runners/wan/wan_audio_runner.py:1015
↓ 1 callersMethodload_transformer
(self)
lightx2v/models/runners/wan/wan_s2v_runner.py:83
↓ 1 callersMethodload_transformer
(self)
lightx2v/models/runners/wan/wan_infinitetalk_runner.py:136
↓ 1 callersMethodload_transformer
(self)
lightx2v/models/runners/wan/wan_dreamzero_runner.py:47
↓ 1 callersMethodload_transformer
(self)
lightx2v/models/runners/wan/wan_runner.py:83
↓ 1 callersMethodload_transformer
(self)
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:1114
↓ 1 callersMethodload_transformer
(self)
lightx2v/models/runners/wan/wan_lingbot_va_runner.py:38
↓ 1 callersMethodload_transformer
Load the WorldMirror model. Two code paths, matching HY-World-2.0 ``from_pretrained``: 1. Exported model dir: ``{model_path}/{subfo
lightx2v/models/runners/worldmirror/worldmirror_runner.py:201
↓ 1 callersMethodload_transformer
Load WorldPlay AR transformer with action conditioning.
lightx2v/models/runners/worldplay/worldplay_ar_runner.py:68
↓ 1 callersMethodload_transformer
Load WorldPlay transformer with action conditioning.
lightx2v/models/runners/worldplay/worldplay_distill_runner.py:56
↓ 1 callersMethodload_transformer
Load WorldPlay BI transformer with action conditioning.
lightx2v/models/runners/worldplay/worldplay_bi_runner.py:207
↓ 1 callersMethodload_transformer
(self, model_path=None)
lightx2v_train/lightx2v_train/model_zoo/flux2_klein.py:39
↓ 1 callersMethodload_transformer
(self)
lightx2v_train/lightx2v_train/model_zoo/qwen_image_edit.py:72
↓ 1 callersMethodload_vae
(self)
lightx2v/models/runners/hunyuan3d/hunyuan3d_shape_runner.py:98
↓ 1 callersMethodload_vae_decoder
(self)
lightx2v/models/runners/hunyuan_video/hunyuan_video_15_runner.py:335
↓ 1 callersMethodload_vae_encoder
(self)
lightx2v/models/runners/seedvr/seedvr_runner.py:311
↓ 1 callersMethodload_vae_encoder
(self)
lightx2v/models/runners/hunyuan_video/hunyuan_video_15_runner.py:315
↓ 1 callersMethodload_video
(self, data_key, crop_box=None, seed=2024, **kwargs)
lightx2v/models/input_encoders/hf/vace/vace_processor.py:122
↓ 1 callersFunctionload_video_conditioning
Loads a video from a path and preprocesses it for conditioning. Note: The video is resized to the nearest multiple of 2 for compatibility wit
lightx2v/utils/ltx2_media_io.py:103
↓ 1 callersFunctionload_video_frames
Load the video frames from a directory of JPEG files ("<frame_index>.jpg" format). The frames are resized to image_size x image_size and are
tools/preprocess/sam_utils.py:30
↓ 1 callersFunctionload_video_frames_v2
Load the video frames from a directory of JPEG files ("<frame_index>.jpg" format). The frames are resized to image_size x image_size and are
tools/preprocess/sam_utils.py:79
↓ 1 callersMethodload_video_pair
(self, data_key, data_key2, crop_box=None, seed=2024, **kwargs)
lightx2v/models/input_encoders/hf/vace/vace_processor.py:125
↓ 1 callersFunctionload_vision_encoder
( vision_encoder_type, vision_encoder_precision=None, vision_encoder_path=None, logger=None,
lightx2v/models/input_encoders/hf/hunyuan15/siglip/model.py:28
↓ 1 callersMethodload_vsr_model
(self)
lightx2v/models/runners/default_runner.py:147
↓ 1 callersFunctionlog_pipeline_info
输出pipeline信息
tools/convert/seko_talk_converter.py:310
↓ 1 callersFunctionlog_profile_done
(cfg: TorchTraceProfileConfig)
lightx2v/utils/torch_trace_profiler.py:88
↓ 1 callersFunctionlog_profile_start
(cfg: TorchTraceProfileConfig, name: Optional[str] = None)
lightx2v/utils/torch_trace_profiler.py:77
↓ 1 callersFunctionmain
()
tools/download_rife.py:57
↓ 1 callersFunctionmain
(argv: Sequence[str] | None = None)
tools/profile/analyze_torch_trace_gap.py:256
↓ 1 callersFunctionmain
Main function
tools/extract/lora_merger.py:383
↓ 1 callersFunctionmain
Main function
tools/extract/convert_lightning_to_x2v_lora.py:241
↓ 1 callersFunctionmain
Main function
tools/extract/convert_vigen_to_x2v_model.py:155
↓ 1 callersFunctionmain
Main function
tools/extract/lora_extractor.py:420
↓ 1 callersFunctionmain
()
tools/convert/add_scale_to_models.py:7
↓ 1 callersFunctionmain
()
tools/convert/export_dummy_meta.py:69
↓ 1 callersFunctionmain
()
tools/convert/quant_adapter.py:20
↓ 1 callersFunctionmain
()
tools/convert/converter.py:742
↓ 1 callersFunctionmain
()
tools/convert/seko_talk_converter.py:334
↓ 1 callersFunctionmain
()
lightx2v/infer.py:57
↓ 1 callersFunctionmain
()
lightx2v/disagg/services/instance_proxy.py:239
↓ 1 callersFunctionmain
()
lightx2v/disagg/examples/wan_i2v.py:74
↓ 1 callersFunctionmain
()
lightx2v/disagg/examples/infer.py:51
↓ 1 callersFunctionmain
()
lightx2v/disagg/examples/run_controller.py:552
← previousnext →4,001–4,100 of 8,429, ranked by callers