MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

↓ 3 callersFunction_format_request_timing
(result: ImageRequestResult)
scripts/hidream_o1_image/test_openai_images_client.py:109
↓ 3 callersMethod_get_action_chunk_index
(self)
lightx2v/models/runners/cosmos3/cosmos3_runner.py:422
↓ 3 callersMethod_get_actual_bias
(self)
lightx2v/common/ops/norm/layer_norm_weight.py:83
↓ 3 callersMethod_get_actual_weight
(self)
lightx2v/common/ops/norm/layer_norm_weight.py:76
↓ 3 callersMethod_get_cu_seqlens
(self, cache_name, batch, seq_len, device, attn_type)
lightx2v/models/networks/motus/infer/transformer_infer.py:102
↓ 3 callersMethod_get_cuda_bias_tensor
(self, source, is_lazy)
lightx2v/common/ops/mm/mm_weight.py:1071
↓ 3 callersMethod_get_last_sigma
(self, sigmas)
lightx2v/models/schedulers/cosmos3/scheduler.py:204
↓ 3 callersFunction_get_models_from_repos
从多个仓库获取模型并合并
app/utils/model_choices.py:14
↓ 3 callersMethod_get_next_pending_task_unlocked
(self)
lightx2v/server/task_manager.py:248
↓ 3 callersMethod_get_recent_len
(self, layer_id: int)
lightx2v/common/kvcache/quant.py:181
↓ 3 callersMethod_get_target_video_length
(self)
lightx2v/models/runners/cosmos3/cosmos3_runner.py:182
↓ 3 callersMethod_get_tensor
(self, weight_dict=None, use_infer_dtype=False)
lightx2v/common/ops/tensor/tensor.py:43
↓ 3 callersMethod_get_video_block
(self, layer_idx)
lightx2v/models/networks/motus/infer/transformer_infer.py:93
↓ 3 callersFunction_gid_to_ipv4
Map an IPv6 GID string to IPv4 when it is IPv4-mapped.
lightx2v/disagg/rdma_utils.py:47
↓ 3 callersMethod_infer_block
(self, layer_weights, und_seq, gen_seq, rotary_emb)
lightx2v/models/networks/cosmos3/infer/transformer_infer.py:95
↓ 3 callersMethod_infer_causal_attn
Perform attention for AR model. Note: When running full-video inference (not chunk-by-chunk AR generation), we use bidirecti
lightx2v/models/networks/worldplay/infer/ar_transformer_infer.py:298
↓ 3 callersMethod_infer_cond_uncond
(self, latents_input, prompt_embeds, infer_condition=True)
lightx2v/models/networks/ernie_image/model.py:44
↓ 3 callersMethod_infer_img_branch_after_attn
Override to handle per-token modulation in post-attention.
lightx2v/models/networks/worldplay/infer/ar_transformer_infer.py:348
↓ 3 callersMethod_infer_img_branch_before_attn
Override to handle per-token vec modulation for WorldPlay AR. Returns: Tuple of (img_q, img_k, img_v, img_q_pre_rope, im
lightx2v/models/networks/worldplay/infer/ar_transformer_infer.py:183
↓ 3 callersMethod_infer_infinitetalk_branch
(self, inputs, infer_condition=True, use_audio=True)
lightx2v/models/networks/wan/infinitetalk_model.py:60
↓ 3 callersMethod_infer_lingbot_va
(self, inputs, action_mode=False, update_cache=0, cache_name="pos")
lightx2v/models/networks/wan/lingbot_va_model.py:103
↓ 3 callersMethod_infer_lingbot_va_guided
(self, inputs, action_mode=False, update_cache=0, cache_name="pos", guide_scale=1.0)
lightx2v/models/networks/wan/lingbot_va_model.py:116
↓ 3 callersMethod_infer_mlp
(self, weights, hidden_states)
lightx2v/models/networks/hidream_o1_image/infer/transformer_infer.py:210
↓ 3 callersMethod_infer_txt_branch_before_attn
Override to handle per-token vec modulation for text branch.
lightx2v/models/networks/worldplay/infer/ar_transformer_infer.py:255
↓ 3 callersMethod_keep_dreamzero_key
(key)
lightx2v/models/networks/wan/dreamzero_model.py:60
↓ 3 callersMethod_load_ckpt
(self, unified_dtype, sensitive_layer)
lightx2v/models/networks/wan/sf_model.py:14
↓ 3 callersMethod_load_model_weights
(self, model, save_dir)
lightx2v_train/lightx2v_train/trainers/base.py:148
↓ 3 callersMethod_load_or_encode_audio
(self, audio_path_or_array)
lightx2v/models/runners/wan/wan_infinitetalk_runner.py:324
↓ 3 callersMethod_load_quant_ckpt
(self, unified_dtype, sensitive_layer)
lightx2v/models/networks/wan/sf_model.py:29
↓ 3 callersMethod_load_transformer
(self, model_path)
lightx2v_train/lightx2v_train/model_zoo/wan_t2v.py:105
↓ 3 callersFunction_make_video
(frames, path)
lightx2v/models/networks/worldmirror/utils/render_utils.py:355
↓ 3 callersMethod_merge_request_metrics
(self, existing: dict[str, Any] | None, update: dict[str, Any] | None)
lightx2v/disagg/services/controller.py:228
↓ 3 callersMethod_meta_idx
(self, layer_id: int)
lightx2v/common/kvcache/rolling.py:42
↓ 3 callersMethod_modulate
(self, x, scale, shift)
lightx2v/models/networks/wan/infer/dreamzero/transformer_infer.py:203
↓ 3 callersMethod_normalize_attention_dtype
(self, tensor)
lightx2v/models/networks/motus/infer/transformer_infer.py:114
↓ 3 callersMethod_normalize_csv_row
(self, row, column_to_index=None)
lightx2v_train/lightx2v_train/data/video_dataset.py:433
↓ 3 callersMethod_normalize_i2av_input_fields
(self)
lightx2v/models/runners/ltx2/ltx2_runner.py:260
↓ 3 callersFunction_normalize_loopback_host
(host: str)
lightx2v/disagg/conn.py:85
↓ 3 callersMethod_overlay_dreamzero_component
(self, module, prefix, component_name, strict=False)
lightx2v/models/runners/wan/wan_dreamzero_runner.py:84
↓ 3 callersMethod_pack_latents
(latents, batchsize, num_channels_latents, height, width, layers=None)
lightx2v/models/schedulers/qwen_image/scheduler.py:450
↓ 3 callersMethod_pad_text_encoder_outputs
(self, contexts)
lightx2v/models/runners/wan/wan_audio_runner.py:1127
↓ 3 callersFunction_parse_csv_override
(v: str | None)
tools/convert/converter.py:854
↓ 3 callersMethod_patchify_latents
(self, latents: torch.Tensor)
lightx2v/models/networks/wan/infer/lingbot_va/pre_infer.py:19
↓ 3 callersMethod_physical_store_kv
( self, k: torch.Tensor, v: torch.Tensor, physical_start: int, physica
lightx2v/common/kvcache/quant.py:411
↓ 3 callersMethod_prefetch_layer
(self, layer_id: int)
lightx2v/common/kvcache/rolling.py:240
↓ 3 callersMethod_prepare_latent_ids
(self, batch_size, height, width)
lightx2v/models/runners/flux2/flux2_runner.py:212
↓ 3 callersMethod_prepare_text_ids
(self, x)
lightx2v/models/runners/flux2/flux2_runner.py:203
↓ 3 callersMethod_project_qkv
(self, weights, hidden_states, rope_cos_sin)
lightx2v/models/networks/hidream_o1_image/infer/transformer_infer.py:168
↓ 3 callersMethod_query_sidecar
(self, req_addr: str, cmd: str)
lightx2v/disagg/services/controller.py:279
↓ 3 callersMethod_read_safetensors_metadata
Read tensor metadata (names, shapes, dtypes) from safetensors file header without loading data. Supports two kinds of safetensors files:
lightx2v/models/networks/base_model.py:146
↓ 3 callersMethod_recent_capacity
(self, sink: int)
lightx2v/common/kvcache/rolling.py:86
↓ 3 callersMethod_register_cam_for_blocks
(self, blocks, lora_path=None)
lightx2v/models/networks/wan/weights/lingbot/transformer_weights.py:22
↓ 3 callersMethod_register_swap_hooks
( self, nn_block: nn.Module, wm_block: VitBlockWeights, *, lazy: bool
lightx2v/models/networks/worldmirror/model.py:896
↓ 3 callersMethod_remote_proxy_req_addr
(self, slot: dict[str, Any])
lightx2v/disagg/services/controller.py:331
↓ 3 callersMethod_resolve_resume
(self)
lightx2v_train/lightx2v_train/trainers/base.py:214
↓ 3 callersMethod_ring_set
(self, layer_id: int, *, active: bool, sink: int, head: int, recent_len: int)
lightx2v/common/kvcache/rolling.py:64
↓ 3 callersMethod_rope_base
(self, dim: int, device: torch.device)
lightx2v/models/networks/wan/infer/lingbot_va/pre_infer.py:32
↓ 3 callersFunction_run_mux
(audio_codec: str, extra_args: Optional[list] = None)
lightx2v/utils/utils.py:388
↓ 3 callersMethod_run_ssh_script
(self, slot: dict[str, Any], script: str, timeout_seconds: float = 30.0, check: bool = True)
lightx2v/disagg/services/controller.py:441
↓ 3 callersMethod_save_images
(self, images, input_info, log_prefix="Image saved")
lightx2v/models/runners/qwen_image/qwen_image_runner.py:446
↓ 3 callersMethod_save_model_weights
(self, model, save_dir)
lightx2v_train/lightx2v_train/trainers/base.py:141
↓ 3 callersFunction_save_old_metadata
Save metadata for old sampling strategy.
lightx2v/models/networks/worldmirror/utils/video_utils.py:156
↓ 3 callersMethod_seq_parallel_gather_tokens
(self, x)
lightx2v/models/networks/wan/infer/infinitetalk/transformer_infer.py:69
↓ 3 callersMethod_set_output_fps
(self, fps)
lightx2v/models/runners/seedvr/seedvr_runner.py:133
↓ 3 callersMethod_set_recent_head
(self, layer_id: int, value: int)
lightx2v/common/kvcache/quant.py:178
↓ 3 callersMethod_set_scheduler_noise_pred
(self, output)
lightx2v/models/networks/cosmos3/model.py:100
↓ 3 callersMethod_strip_dreamzero_prefix
(key)
lightx2v/models/networks/wan/dreamzero_model.py:53
↓ 3 callersMethod_swap_block_leaves
Swap a single ``Block``'s attn/norm/mlp leaves with adapters.
lightx2v/models/networks/worldmirror/model.py:679
↓ 3 callersMethod_sync_runtime_config
(self, config)
lightx2v/disagg/services/base.py:69
↓ 3 callersMethod_terminate_pid
(self, pid: int, timeout_seconds: float)
lightx2v/disagg/services/instance_proxy.py:39
↓ 3 callersMethod_u64_distance
Return unsigned circular distance on a 64-bit counter space.
lightx2v/disagg/rdma_buffer.py:131
↓ 3 callersMethod_unpack_latents
(latents, height, width, vae_scale_factor)
lightx2v/models/schedulers/z_image/scheduler.py:398
↓ 3 callersMethod_unpatchify_latents
(latents)
lightx2v/models/video_encoders/hf/ernie_image/vae.py:37
↓ 3 callersMethod_validate_checkpoint_metadata
(self, state, state_path, resume_ckpt_path)
lightx2v_train/lightx2v_train/trainers/base.py:203
↓ 3 callersFunction_video_vae
( pretrained_path=None, z_dim=16, dim=160, device="cpu", cpu_offload=False, dtype=torc
lightx2v/models/video_encoders/hf/wan/vae_2_2.py:995
↓ 3 callersFunction_vocoder_from_config
Instantiate a Vocoder from a flat config dict. Args: cfg: Vocoder config dict (keys match Vocoder constructor args). apply_final_a
lightx2v/models/video_encoders/hf/ltx2/audio_vae/model_configurator.py:11
↓ 3 callersMethod_wan_lookup_config
(self)
lightx2v/models/runners/motus/motus_runner.py:55
↓ 3 callersFunction_wavg
(vals)
lightx2v/models/networks/worldmirror/utils/inference_utils.py:594
↓ 3 callersMethodalign_target_shape
(self, height, width)
lightx2v/models/runners/wan/wan_animate_runner.py:112
↓ 3 callersMethodapply
(self)
lightx2v_platform/ops/mm/template.py:27
↓ 3 callersMethodapply
(self, image_embeds)
lightx2v/models/networks/wan/weights/motus/pre_weights.py:197
↓ 3 callersMethodapply_parameter_activation
Apply specified activation function to parameter tensor Args: tensor: Tensor containing parameter values act
lightx2v/models/networks/worldmirror/models/heads/camera_head.py:141
↓ 3 callersFunctionapply_scale
(w, h, scale)
lightx2v/models/runners/bagel/i2i_utils.py:93
↓ 3 callersMethodattention
(self, h_: Tensor)
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:228
↓ 3 callersFunctionbackward_convert_model
Convert diffuser format model to x2v format using converter.py -d backward. Returns path to converted safetensors file.
tools/convert/seko_talk_converter.py:182
↓ 3 callersFunctionbasic_clean
(text)
lightx2v/models/input_encoders/hf/wan/t5/tokenizer.py:12
↓ 3 callersFunctionbasic_clean
(text)
lightx2v/models/input_encoders/hf/wan/matrix_game2/tokenizers.py:12
↓ 3 callersFunctionbasic_clean
(text)
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/tokenizers.py:12
↓ 3 callersMethodbegin_layer
Wait until the single GPU staging buffer holds ``layer_id``.
lightx2v/common/kvcache/rolling.py:263
↓ 3 callersFunctionbenchmark
A decorator function to assist in performance testing of CUDA operations. This function will: 1. Automatically determine whether any par
lightx2v_kernel/python/lightx2v_kernel/utils.py:75
↓ 3 callersFunctionbuild_data
(config, train_or_val)
lightx2v_train/lightx2v_train/utils/registry.py:86
↓ 3 callersFunctionbuild_image_encoder
(config)
lightx2v/models/input_encoders/hf/hunyuan3d/conditioner.py:200
↓ 3 callersFunctionbuild_inferencer
(config)
lightx2v_train/lightx2v_train/utils/registry.py:78
↓ 3 callersMethodbuild_mask
(self, data, is_bound, border_width)
lightx2v/models/video_encoders/hf/wan/vae_sf.py:196
↓ 3 callersFunctionbuild_wan_model_with_lora
(wan_module, config, model_kwargs, lora_configs, model_type="high_noise_model")
lightx2v/disagg/utils.py:138
↓ 3 callersFunctioncache_init
Initialization for cache.
lightx2v/models/networks/bagel/model_io.py:23
↓ 3 callersFunctioncalculate_memory
Calculate memory usage in bytes for a tensor.
lightx2v_kernel/python/lightx2v_kernel/utils.py:108
↓ 3 callersMethodcheck_input_info
(self, user_input_info, clip_config)
lightx2v/shot_runner/shot_base.py:79
↓ 3 callersFunctioncheck_sdp_tensor
Validate tensor: must be XPU, contiguous, [B, L, H, 128], B=1
lightx2v_kernel_xpu/csrc/sdp.cpp:13
↓ 3 callersFunctioncheckpoint_to_safetensors
Convert checkpoint to safetensors format.
tools/convert/seko_talk_converter.py:132
← previousnext →801–900 of 8,429, ranked by callers