MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

↓ 2,360 callersMethodget
(self, key: str)
lightx2v/models/networks/seedvr/utils/cache.py:29
↓ 1,205 callersMethodinfo
(self, message, *args, **kwargs)
lightx2v/disagg/services/base.py:30
↓ 1,080 callersMethodappend
(self, module)
lightx2v/common/modules/weight_module.py:199
↓ 1,059 callersMethodget
(self, key, default=None)
lightx2v/server/schema.py:71
↓ 1,019 callersMethodapply
(self, x)
lightx2v/models/networks/wan/weights/motus/_shared.py:224
↓ 938 callersMethodto
(self, *args, **kwargs)
lightx2v/utils/ggml_tensor.py:215
↓ 833 callersMethodadd_module
(self, name, module)
lightx2v/common/modules/weight_module.py:12
↓ 706 callersMethodto
(self, *args, **kwargs)
lightx2v/models/networks/worldmirror/models/layers/mlp.py:49
↓ 618 callersMethodto
(self, device)
lightx2v/models/video_encoders/hf/flux2/vae.py:39
↓ 481 callersMethodget
(self, key, default=None)
lightx2v_train/lightx2v_train/utils/registry.py:46
↓ 309 callersFunctionGET_DTYPE
()
lightx2v/utils/envs.py:32
↓ 300 callersMethodwarning
(self, message, *args, **kwargs)
lightx2v/disagg/services/base.py:33
↓ 279 callersMethodto
(self, device, dtype)
lightx2v/models/runners/wan/wan_matrix_game2_runner.py:58
↓ 268 callersFunctionrearrange
( hid: torch.FloatTensor, # (L c) hid_shape: torch.LongTensor, # (b n) pattern: str, **kwarg
lightx2v/models/networks/seedvr/utils/na.py:130
↓ 245 callersMethodcpu
(self, pin_memory: bool = False)
lightx2v/utils/ggml_tensor.py:211
↓ 223 callersMethoditems
(self)
lightx2v/utils/registry_factory.py:46
↓ 186 callersMethodcopy_
(self, target: Union[torch.Tensor, "GGMLTensor"], transpose: bool = False, non_blocking: bool = False)
lightx2v/utils/ggml_tensor.py:114
↓ 186 callersMethodupdate
(self, other: Mapping | Iterable, **kwargs)
lightx2v/utils/lockable_dict.py:114
↓ 175 callersMethodget
(self, key: str)
lightx2v/models/video_encoders/hf/seedvr/common/cache.py:31
↓ 155 callersMethodlog
(self, level, message, *args, **kwargs)
lightx2v/disagg/services/base.py:45
↓ 142 callersMethoderror
(self, message, *args, **kwargs)
lightx2v/disagg/services/base.py:36
↓ 140 callersMethodload
(self, weight_dict)
lightx2v/models/networks/wan/weights/motus/_shared.py:213
↓ 139 callersMethodkeys
(self)
lightx2v/utils/registry_factory.py:40
↓ 118 callersFunctiont
获取翻译文本
app/utils/i18n.py:183
↓ 117 callersMethodpop
(self, k, d: Any = ...)
lightx2v/utils/lockable_dict.py:97
↓ 105 callersMethodcuda
(self, device: Optional[Union[int, torch.device]] = None, non_blocking: bool = False)
lightx2v/utils/ggml_tensor.py:204
↓ 97 callersMethodopen
(self)
lightx2v/disagg/rdma_base.py:28
↓ 91 callersMethodcopy
(self)
lightx2v/utils/lockable_dict.py:77
↓ 89 callersMethodsetdefault
(self, key, default=None)
lightx2v/utils/lockable_dict.py:107
↓ 89 callersMethodto
(self, *args, **kwargs)
lightx2v/models/video_encoders/hf/wan/vae_sf.py:181
↓ 85 callersMethodvalues
(self)
lightx2v/utils/registry_factory.py:43
↓ 82 callersMethodload
(self, weight_dict)
lightx2v/common/ops/norm/rms_norm_weight.py:79
↓ 80 callersMethodload
(self, weight_dict)
lightx2v/common/ops/attn/template.py:9
↓ 78 callersMethodextend
(self, prompt, system_prompt, seed=-1, *args, **kwargs)
lightx2v_train/lightx2v_train/model_zoo/native/wan/utils/prompt_extend.py:126
↓ 75 callersMethoddevice
(self)
lightx2v/models/runners/wan/wan_runner.py:644
↓ 75 callersMethodis_available
()
lightx2v_platform/base/nvidia.py:21
↓ 72 callersMethoddebug
(self, message, *args, **kwargs)
lightx2v/disagg/services/base.py:27
↓ 70 callersMethoddevice
(self)
lightx2v/utils/ggml_tensor.py:167
↓ 70 callersMethodinfer
(self, inputs)
lightx2v/models/runners/wan/wan_runner.py:653
↓ 65 callersMethodgenerate
( self, seed=42, prompt="", negative_prompt="", save_result_path="ligh
lightx2v/pipeline.py:428
↓ 62 callersMethodload
Load state dict from path or paths (for sharded model storage) and apply sd_ops
lightx2v/utils/ltx2_utils.py:174
↓ 60 callersMethodclose
(self)
lightx2v/models/runners/wan/fastwam_runner.py:268
↓ 57 callersMethodis_initialized
(self)
lightx2v/models/networks/worldplay/infer/ar_transformer_infer.py:92
↓ 55 callersMethoddecode
(self, zs)
lightx2v/models/video_encoders/hf/wan/vae.py:1531
↓ 55 callersMethodget
(self, size=1024)
lightx2v/utils/va_reader_omni.py:56
↓ 54 callersMethodresize
Resize function wrapper
lightx2v/models/networks/hunyuan3d/utils/torchvision_fix.py:50
↓ 54 callersMethodto
(self, **kwargs: object)
lightx2v/models/video_encoders/hf/ltx2/audio_vae/ops.py:20
↓ 53 callersMethodt
(self)
lightx2v/utils/ggml_tensor.py:126
↓ 52 callersMethodconvert
(param)
lightx2v/models/vfi/rife/train_log/RIFE_HDv3.py:33
↓ 51 callersFunctionextract_model_name
从格式化的选项名称中提取原始模型名称
app/utils/model_utils.py:387
↓ 50 callersMethod_get_branch
(self, block_weight, name: str, branch: str)
lightx2v/models/networks/seedvr/infer/transformer_infer.py:35
↓ 50 callersMethodload
(self, weight_dict)
lightx2v/common/ops/mm/mm_weight.py:326
↓ 50 callersMethodwrite
(self, frame_tensor)
lightx2v/models/video_encoders/hf/vid_recon.py:34
↓ 49 callersMethoddevice
(self)
lightx2v/models/vfi/rife/train_log/RIFE_HDv3.py:29
↓ 49 callersMethodeval
(self)
lightx2v/models/vfi/rife/train_log/RIFE_HDv3.py:26
↓ 49 callersMethodfrom_pretrained
(cls, config, ckpt: dict[str, dict[str, torch.Tensor]] | None = None)
lightx2v/models/input_encoders/hf/hunyuan3d/encoder.py:38
↓ 49 callersMethodload
(self)
lightx2v/models/video_encoders/hf/flux2/vae.py:24
↓ 47 callersFunctionGET_RECORDER_MODE
()
lightx2v/utils/envs.py:47
↓ 46 callersMethodfrom_pretrained
(cls, config, ckpt: dict[str, dict[str, torch.Tensor]] | None = None)
lightx2v/models/networks/hunyuan3d/model.py:143
↓ 46 callersMethodload_state_dict
(self, state_dict, strict=True)
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:997
↓ 46 callersMethodwait
(self)
lightx2v/common/ops/attn/utils/ring_comm.py:40
↓ 45 callersMethodto_cpu
(self)
lightx2v/models/networks/motus/model.py:325
↓ 44 callersMethodcreate_generator
( self, attn_mode="flash_attn2", infer_steps=50, num_frames=81, height
lightx2v/pipeline.py:154
↓ 43 callersFunctionGET_SENSITIVE_DTYPE
()
lightx2v/utils/envs.py:39
↓ 42 callersMethodencode
video: one video with shape [1, C, T, H, W].
lightx2v/models/video_encoders/hf/wan/vae.py:1196
↓ 41 callersMethodencode
(self, x)
lightx2v/models/runners/wan/wan_matrix_game2_runner.py:29
↓ 41 callersMethodto_cuda
(self)
lightx2v/models/networks/motus/model.py:319
↓ 40 callersMethodset_scheduler
(self, shared_scheduler)
lightx2v/models/runners/wan/wan_runner.py:647
↓ 38 callersMethodadd
(self, byte_data: bytes)
lightx2v/utils/va_reader_omni.py:52
↓ 37 callersMethodupdate
(self, imgs, gt, learning_rate=0, mul=1, training=True, flow_gt=None)
lightx2v/models/vfi/rife/train_log/RIFE_HDv3.py:58
↓ 36 callersMethodparameters
(self)
lightx2v/models/networks/worldmirror/model.py:383
↓ 35 callersMethodexception
(self, message, *args, **kwargs)
lightx2v/disagg/services/base.py:42
↓ 34 callersFunctionbarrier
()
lightx2v_train/lightx2v_train/runtime/distributed.py:60
↓ 34 callersMethoddenoiser_module
(self)
lightx2v_train/lightx2v_train/model_zoo/base.py:30
↓ 33 callersFunction_buffer_view
Create a typed view over a raw uint8 buffer without copying.
lightx2v/disagg/disagg_mixin.py:104
↓ 33 callersFunctionupdate_model_status
通用的模型状态更新函数 Args: model_path_val: 模型路径 model_name: 模型名称(可能包含状态标识) model_category: 模型类别 (dit, high_noise, low_noise, t5, c
app/utils/model_handlers.py:389
↓ 32 callersMethodload
(self, weight_dict)
lightx2v_platform/ops/mm/template.py:23
↓ 31 callersMethodapply
(self, x, domain_ids)
lightx2v/models/networks/cosmos3/weights/pre_weights.py:15
↓ 28 callersMethodpost
(module, args, output)
lightx2v/models/networks/worldmirror/model.py:954
↓ 28 callersFunctionresolve_block_name
Resolve the name according to the block index, replacing the block index in the name with the specified block_index. Args: name: Original
lightx2v/common/ops/utils.py:13
↓ 28 callersMethodrun_input_encoder
(self)
lightx2v/models/runners/neopp/neopp_runner.py:108
↓ 28 callersMethodwith_replacement
Create a new SDOps instance with the specified replacement added to the mapping.
lightx2v/models/input_encoders/hf/ltx2/utils.py:80
↓ 27 callersFunctionis_main_process
()
lightx2v_train/lightx2v_train/runtime/distributed.py:46
↓ 27 callersMethodload_kvcache
(self, to_x2v_cond_kv_path, to_x2v_uncond_kv_path=None)
lightx2v/models/runners/neopp/neopp_runner.py:228
↓ 27 callersMethodpoll
(self)
lightx2v/disagg/conn.py:564
↓ 27 callersMethodset_inference_params
(self, index_offset_cond, index_offset_uncond=None, cfg_interval=(-1, 2), cfg_scale=4.0, cfg_norm="global", ti
lightx2v/models/runners/neopp/neopp_runner.py:237
↓ 27 callersMethodstep_post
(self)
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:990
↓ 27 callersMethodwith_matching
Create a new SDOps instance with the specified prefix and suffix matching added to the mapping.
lightx2v/models/input_encoders/hf/ltx2/utils.py:86
↓ 26 callersFunctionapply_mm
(weight_module, x)
lightx2v/models/networks/wan/weights/motus/_shared.py:75
↓ 26 callersMethodstart
(self)
lightx2v/disagg/services/data_mgr_sidecar.py:902
↓ 26 callersMethodstep_pre
(self, step_index)
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:985
↓ 25 callersMethod_get_actual_bias
(self, bias=None)
lightx2v/common/ops/mm/mm_weight.py:186
↓ 25 callersFunction_sha256_tensor
(tensor: Optional[torch.Tensor])
lightx2v/disagg/disagg_mixin.py:111
↓ 25 callersFunctionfind_torch_model_path
(config, ckpt_config_key=None, filename=None, subdir=["original", "fp8", "int8", "distill_models", "distill_fp
lightx2v/utils/utils.py:437
↓ 24 callersMethoddevice
(self)
lightx2v/models/input_encoders/hf/hunyuan15/qwen25/model.py:302
↓ 24 callersMethodremove
(self, room: int)
lightx2v/disagg/conn.py:203
↓ 24 callersFunctionscaled_mxfp8_quant
(input: torch.Tensor)
lightx2v_kernel/python/lightx2v_kernel/gemm.py:84
↓ 23 callersMethod__init__
( self, weight_name, bias_name=None, create_cuda_buffer=False, create_
lightx2v/common/ops/mm/mm_weight.py:302
↓ 23 callersMethodapply_lora
(self, input_tensor)
lightx2v/common/ops/mm/mm_weight.py:198
↓ 23 callersMethodclear
(self)
lightx2v/utils/lockable_dict.py:93
next →1–100 of 8,429, ranked by callers