MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

↓ 1 callersMethodinit_kv_cache
Initialize KV cache for autoregressive generation. Structure matches HY-WorldPlay original implementation.
lightx2v/models/networks/worldplay/ar_model.py:100
↓ 1 callersMethodinit_kv_cache_manager
(self)
lightx2v/models/runners/wan/wan_audio_runner.py:1327
↓ 1 callersMethodinit_kv_cache_manager
(self)
lightx2v/models/runners/wan/wan_sf_runner.py:40
↓ 1 callersMethodinit_kv_cache_manager
(self)
lightx2v/models/runners/wan/wan_lingbot_fast_runner.py:54
↓ 1 callersMethodinit_kv_cache_manager
(self)
lightx2v/models/runners/wan/wan_lingbot_va_runner.py:47
↓ 1 callersMethodinit_lazy
Pre-set block-swap leaf live attributes to ``None`` so the adapter forward / hooks don't ``AttributeError`` before the first pre-hook
lightx2v/models/networks/worldmirror/weights/transformer_weights.py:548
↓ 1 callersMethodinit_metrics
(self)
lightx2v/server/metrics/metrics.py:379
↓ 1 callersMethodinit_modules
(self)
lightx2v/models/runners/worldmirror/worldmirror_runner.py:351
↓ 1 callersMethodinit_omni_env
(self)
lightx2v/utils/va_reader_omni.py:338
↓ 1 callersFunctioninit_pipeline
(model_path)
lightx2v/models/runners/vsr/vsr_wrapper.py:82
↓ 1 callersMethodinit_reader
(self, model_runner=None)
lightx2v/utils/va_controller.py:112
↓ 1 callersMethodinit_recorder
(self)
lightx2v/utils/va_controller.py:84
↓ 1 callersMethodinit_run
(self)
lightx2v/models/runners/default_runner.py:395
↓ 1 callersMethodinit_run
(self)
lightx2v/models/runners/wan/wan_audio_runner.py:596
↓ 1 callersMethodinit_run
(self)
lightx2v/models/runners/wan/wan_audio_runner.py:1247
↓ 1 callersMethodinit_run
(self)
lightx2v/models/runners/wan/wan_infinitetalk_runner.py:613
↓ 1 callersMethodinit_run
(self)
lightx2v/models/runners/wan/wan_dreamzero_runner.py:499
↓ 1 callersMethodinit_run
(self)
lightx2v/models/runners/wan/wan_lingbot_fast_runner.py:102
↓ 1 callersMethodinit_run
(self)
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:1608
↓ 1 callersMethodinit_run
(self)
lightx2v/models/runners/wan/wan_lingbot_va_runner.py:118
↓ 1 callersMethodinit_run
(self)
lightx2v/models/runners/neopp/neopp_runner.py:266
↓ 1 callersMethodinit_run
Initialize run with pose conditioning support.
lightx2v/models/runners/worldplay/worldplay_ar_runner.py:190
↓ 1 callersMethodinit_run_segment
(self, segment_idx)
lightx2v/models/runners/base_runner.py:211
↓ 1 callersMethodinit_run_segment
(self, segment_idx)
lightx2v/models/runners/wan/wan_matrix_game2_runner.py:238
↓ 1 callersMethodinit_run_segment
(self, segment_idx)
lightx2v/models/runners/wan/wan_audio_runner.py:1278
↓ 1 callersMethodinit_run_segment
(self, segment_idx)
lightx2v/models/runners/wan/wan_infinitetalk_runner.py:647
↓ 1 callersMethodinit_run_segment
(self, segment_idx)
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:2043
↓ 1 callersMethodinit_run_segment
(self, segment_idx)
lightx2v/models/runners/wan/wan_lingbot_va_runner.py:178
↓ 1 callersMethodinit_scheduler
Initialize scheduler.
lightx2v/models/runners/base_runner.py:185
↓ 1 callersFunctioninit_scheduler_fls
(scheduler)
lightx2v/models/schedulers/fls_enhance.py:66
↓ 1 callersMethodinit_segments_idx
Initialize segment indices with overlap
lightx2v/models/runners/wan/wan_audio_runner.py:246
↓ 1 callersMethodinit_sockets
(self)
lightx2v/utils/video_recorder.py:48
↓ 1 callersMethodinit_sockets
(self)
lightx2v/utils/va_recorder.py:73
↓ 1 callersMethodinit_state_v2
Initialize a inference state.
tools/preprocess/video_predictor.py:74
↓ 1 callersMethodinit_transformer_output_room
( self, room: int, sender_engine_rank: int, receiver_engine_rank: int,
lightx2v/disagg/services/data_mgr_sidecar.py:932
↓ 1 callersMethodinit_video_recorder
(self)
lightx2v/models/runners/wan/wan_sf_runner.py:105
↓ 1 callersMethodinit_weights
(self)
lightx2v/models/networks/worldmirror/models/layers/vision_transformer.py:168
↓ 1 callersMethodinit_weights
r""" Initialize model parameters using Xavier initialization.
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/causal_model.py:826
↓ 1 callersMethodinit_weights
r""" Initialize model parameters using Xavier initialization.
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/model.py:791
↓ 1 callersMethodinitialize
(self, cache_dir: Path, inference_service: DistributedInferenceService, max_queue_size: int = 10)
lightx2v/server/api/deps.py:27
↓ 1 callersMethodinitialize
Initialize cache structure for each block.
lightx2v/models/networks/worldplay/infer/ar_transformer_infer.py:41
↓ 1 callersMethodinitialize_services
(self, cache_dir: Path, inference_service: DistributedInferenceService)
lightx2v/server/api/server.py:159
↓ 1 callersFunctioninject_motion_tokens
(x_list, seq_lens, rope_embs, mask_input, motion_latents, frame_packer, freqs, config, drop_motion_frames, add
lightx2v/models/networks/wan/infer/s2v/framepack.py:85
↓ 1 callersFunctioninstall_gc_duration_probe
Record every Python GC pass duration into ``lightx2v_gc_collection_duration_seconds``. A ``gc.callbacks`` handler times each collection (``start`
lightx2v/server/metrics/metrics.py:434
↓ 1 callersFunctioninstantiate_from_config
(config, **kwargs)
lightx2v/models/networks/hunyuan3d/utils/misc.py:45
↓ 1 callersMethodint8_scaled_mm
INT8 GEMM compatible with sgl_kernel.int8_scaled_mm
lightx2v_platform/base/amd_rocm.py:60
↓ 1 callersFunctionintegrate_camera_into_scene
Adds a camera visualization mesh to the 3D scene. Args: scene (trimesh.Scene): The 3D scene to add the camera visualization.
lightx2v/models/networks/worldmirror/utils/visual_util.py:470
↓ 1 callersFunctioninterleaved_freqs_cis
(freqs: torch.Tensor, pad_size: int)
lightx2v/models/networks/ltx2/infer/utils.py:212
↓ 1 callersFunctioninterleaved_freqs_cis
(freqs: torch.Tensor, pad_size: int)
lightx2v/models/input_encoders/hf/ltx2/gemma/rope.py:155
↓ 1 callersMethodinterpolate_pos_encoding
(self, x, w, h)
lightx2v/models/networks/worldmirror/models/layers/vision_transformer.py:175
↓ 1 callersMethodis_available
Check if Intel XPU is available.
lightx2v_platform/base/intel_xpu.py:42
↓ 1 callersMethodis_base64
(self, data: str)
lightx2v/server/media/image.py:31
↓ 1 callersMethodis_base64
(self, data: str)
lightx2v/server/media/audio.py:33
↓ 1 callersFunctionis_decord_available
()
lightx2v_train/lightx2v_train/model_zoo/native/wan/utils/qwen_vl_utils.py:198
↓ 1 callersMethodis_empty
(self)
lightx2v/common/modules/weight_module.py:9
↓ 1 callersFunctionis_hopper_gpu
()
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/attention.py:7
↓ 1 callersMethodis_processing
(self)
lightx2v/server/task_manager.py:214
↓ 1 callersMethodis_rank_zero
(self)
lightx2v/server/services/distributed_utils.py:92
↓ 1 callersMethodis_spec_equal
(self, other: "AudioInfo")
lightx2v/utils/va_reader_omni.py:35
↓ 1 callersFunctionkeypoints_from_heatmaps
Get final keypoint predictions from heatmaps and transform them back to the image. Note: - batch size: N - num keypoints: K
tools/preprocess/pose2d_utils.py:773
↓ 1 callersMethodkill_all_related_processes
Kill the current process and all its child processes
lightx2v/utils/service_utils.py:18
↓ 1 callersFunctionkivi_dequant_ring_nhd_triton
Dequantize KIVI physical ring chunks directly into contiguous [T, H, D]. ``chunks`` are physical token ranges in logical order, e.g. [(p0, p1), .
lightx2v/common/kvcache/kernel.py:509
↓ 1 callersMethodkmeans_clustering
(self, query, key)
lightx2v/common/ops/attn/svg2_attn.py:308
↓ 1 callersMethodkmeans_init
(self, query, key)
lightx2v/common/ops/attn/svg2_attn.py:317
↓ 1 callersFunctionkmeans_predict
Predict the labels for the input tensor using the centroids.
lightx2v/common/ops/attn/svg2_attn_utils.py:48
↓ 1 callersFunctionkmeans_rapidai
Performs K-means clustering using cuVS.
lightx2v/common/ops/attn/svg2_attn_utils.py:58
↓ 1 callersMethodkmeans_step
(self, query, key)
lightx2v/common/ops/attn/svg2_attn.py:327
↓ 1 callersFunctionlargest_8n1_leq
(n)
lightx2v/models/runners/vsr/vsr_wrapper.py:20
↓ 1 callersMethodlatents2mesh
(self, latents: torch.FloatTensor, **kwargs)
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/model.py:189
↓ 1 callersMethodlaunch_chat_server
(self)
lightx2v/utils/va_reader_omni.py:153
↓ 1 callersFunctionlayer_norm_no_weight
(x: torch.Tensor, eps: float)
lightx2v/models/networks/seedvr/infer/utils.py:13
↓ 1 callersFunctionlcm
(a: int, b: int)
lightx2v/common/kvcache/utils.py:23
↓ 1 callersFunctionlinear_interpolation
(features, output_len: int)
lightx2v/models/input_encoders/hf/seko_audio/audio_adapter.py:16
↓ 1 callersFunctionlinear_interpolation
features: shape=[1, T, 512] input_fps: fps for audio, f_a output_fps: fps for video, f_m output_len: video length
lightx2v/models/input_encoders/hf/wan/s2v/audio_encoder.py:37
↓ 1 callersMethodlinear_shift
(mu, t)
lightx2v_train/lightx2v_train/schedulers/dmd_scheduler.py:15
↓ 1 callersMethodload
(self, weight_dict)
lightx2v/common/ops/conv/conv2d.py:37
↓ 1 callersMethodload
(self, weight_dict)
lightx2v/models/networks/wan/weights/motus/pre_weights.py:219
↓ 1 callersMethodload
加载必要的组件(tokenizer, processor, image_processor)
lightx2v/models/input_encoders/lightllm/qwen25_text_encoder_service.py:69
↓ 1 callersMethodload
Load model and apply kernel optimizations
lightx2v/models/input_encoders/lightllm/qwen25_text_encoder_kernel.py:69
↓ 1 callersMethodload
(self)
lightx2v/models/input_encoders/hf/seko_audio/audio_encoder.py:21
↓ 1 callersMethodload
(self)
lightx2v/models/input_encoders/hf/qwen25/qwen25_vlforconditionalgeneration.py:77
↓ 1 callersMethodload
Load the text encoder and tokenizer.
lightx2v/models/input_encoders/hf/longcat/longcat_text_encoder.py:88
↓ 1 callersMethodload
(self)
lightx2v/models/input_encoders/hf/z_image/qwen3_model.py:33
↓ 1 callersMethodload
(self)
lightx2v/models/input_encoders/hf/ernie_image/mistral3_model.py:31
↓ 1 callersMethodload
(self)
lightx2v/models/input_encoders/hf/flux2/mistral3_model.py:49
↓ 1 callersMethodload
(self)
lightx2v/models/input_encoders/hf/flux2/qwen3_model.py:25
↓ 1 callersMethodload
(self)
lightx2v/models/video_encoders/hf/qwen_image/vae.py:39
↓ 1 callersMethodload
(self)
lightx2v/models/video_encoders/hf/z_image/vae.py:44
↓ 1 callersMethodload
(self)
lightx2v/models/video_encoders/hf/ernie_image/vae.py:26
↓ 1 callersMethodload
(self)
lightx2v/models/video_encoders/hf/ltx2/model.py:139
↓ 1 callersMethodload
Load upsampler model from checkpoint. Aligned exactly with Builder.build() in ltx_core.loader.single_gpu_model_builder: 1. C
lightx2v/models/video_encoders/hf/ltx2/model.py:219
↓ 1 callersMethodload
(self)
lightx2v/models/video_encoders/hf/cosmos3/vae.py:583
↓ 1 callersMethodload
Load the VAE model.
lightx2v/models/video_encoders/hf/longcat_image/vae.py:47
↓ 1 callersFunctionload_ae
(local_path: str)
lightx2v/models/video_encoders/hf/bagel/autoencoder.py:339
↓ 1 callersMethodload_audio_adapter
(self)
lightx2v/models/runners/wan/wan_audio_runner.py:826
↓ 1 callersMethodload_audio_encoder
(self)
lightx2v/models/runners/wan/wan_s2v_runner.py:89
↓ 1 callersMethodload_audio_encoder
(self)
lightx2v/models/runners/wan/wan_infinitetalk_runner.py:139
↓ 1 callersFunctionload_bagel_i2i_input_image
(image_path)
lightx2v/models/runners/bagel/i2i_utils.py:58
↓ 1 callersMethodload_bagel_model
(self)
lightx2v/models/runners/bagel/bagel_runner.py:49
↓ 1 callersFunctionload_bagel_vit_model
(config, weight_dict)
lightx2v/models/networks/bagel/vision.py:196
← previousnext →3,901–4,000 of 8,429, ranked by callers