MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

↓ 1 callersMethodpreprocess_image
(self, image)
lightx2v/models/input_encoders/hf/z_image/qwen3_model.py:50
↓ 1 callersMethodpreprocess_t5_embeddings
(self, language_embeddings)
lightx2v/models/networks/motus/model.py:58
↓ 1 callersFunctionprint_and_save_timings
Print formatted timing table and save to JSON.
lightx2v/models/networks/worldmirror/utils/inference_utils.py:815
↓ 1 callersFunctionprint_load_warning
(missing: list[str], unexpected: list[str])
lightx2v/models/video_encoders/hf/bagel/autoencoder.py:328
↓ 1 callersMethodprocess
(self, config)
lightx2v/disagg/services/decoder.py:194
↓ 1 callersMethodprocess
Executes the diffusion process and video decoding.
lightx2v/disagg/services/transformer.py:549
↓ 1 callersMethodprocess
Generates encoder outputs from prompt and image input.
lightx2v/disagg/services/encoder.py:516
↓ 1 callersFunctionprocess_files
处理文件列表,提取模型名称
app/utils/model_utils.py:201
↓ 1 callersFunctionprocess_image_path
Process image_path: convert to base64 if local path, keep unchanged if HTTP link
scripts/server/post_multi_servers.py:19
↓ 1 callersMethodprocess_images_after_vae_decoder
(self)
lightx2v/models/runners/default_runner.py:487
↓ 1 callersMethodprocess_images_after_vae_decoder
(self)
lightx2v/models/runners/wan/wan_audio_runner.py:803
↓ 1 callersMethodprocess_images_after_vae_decoder
(self)
lightx2v/models/runners/wan/wan_dreamzero_runner.py:684
↓ 1 callersMethodprocess_images_after_vae_decoder
(self)
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:2147
↓ 1 callersMethodprocess_images_after_vae_decoder
(self)
lightx2v/models/runners/wan/wan_lingbot_va_runner.py:429
↓ 1 callersMethodprocess_images_after_vae_decoder
(self)
lightx2v/models/runners/neopp/neopp_runner.py:304
↓ 1 callersMethodprocess_images_after_vae_decoder_for_debug
(self)
lightx2v/models/runners/neopp/neopp_runner.py:309
↓ 1 callersFunctionprocess_input_video
(args)
tools/preprocess/preprocess_data.py:59
↓ 1 callersFunctionprocess_input_video
(args)
tools/preprocess/ltx2.3_preprocess_data.py:332
↓ 1 callersFunctionprocess_paint
(args)
tools/postprocess/postprocess_paint.py:74
↓ 1 callersMethodprocess_prev_frames
Process previous frames with noise and masking
lightx2v/models/runners/wan/wan_audio_runner.py:176
↓ 1 callersMethodprocess_results
(self, results, shape_raw, cat_id=[1], single_person=True)
tools/preprocess/pose2d.py:205
↓ 1 callersMethodproject_context
(self, weights, inputs, device, dtype)
lightx2v/models/networks/wan/infer/dreamzero/pre_infer.py:217
↓ 1 callersFunctionprojector_depth
(projector_type)
lightx2v/models/networks/wan/weights/motus/_shared.py:84
↓ 1 callersFunctionpseudo_random
(a, b)
lightx2v/utils/video_recorder.py:14
↓ 1 callersMethodpublish_action
(self, action)
lightx2v_ros/src/inference/inference/fastwam_node/main.py:156
↓ 1 callersMethodquant
(self, tensor, scales, zeros, qmax, qmin)
lightx2v/utils/quant_utils.py:133
↓ 1 callersFunctionquant2mxfp6
(x: torch.Tensor)
lightx2v_kernel/test/mxfp6_mxfp8/test_fake_quant.py:13
↓ 1 callersFunctionquant2mxfp8
(x: torch.Tensor)
lightx2v_kernel/test/mxfp6_mxfp8/test_fake_quant.py:6
↓ 1 callersMethodquant_dequant
(self, tensor, scales, zeros, qmax, qmin)
lightx2v/utils/quant_utils.py:195
↓ 1 callersMethodquant_query_per_thread_int8
(self, q, BLKQ=128, WARPQ=32, sm_scale=None)
lightx2v/common/ops/attn/sage_attn.py:238
↓ 1 callersFunctionquantize_model
Quantize model weights in-place Args: weights: Model state dictionary w_bit: Quantization bit width target_keys: Lis
tools/convert/converter.py:314
↓ 1 callersFunctionquat_to_axis_angle
(quat)
lightx2v_ros/src/simulator/simulator/libero_node/main.py:137
↓ 1 callersFunctionquaternion_to_rotation_matrix
Convert quaternion (scalar-first: [w, x, y, z]) to rotation matrix.
lightx2v/models/networks/worldmirror/utils/render_utils.py:59
↓ 1 callersFunctionrand_name
(length=8, suffix="")
lightx2v_train/lightx2v_train/model_zoo/native/wan/utils/utils.py:14
↓ 1 callersFunctionrandn_tensor
A helper function to create random tensors on the desired `device` with the desired `dtype`. When passing a list of generators, you can seed each
lightx2v/models/schedulers/z_image/scheduler.py:109
↓ 1 callersFunctionrandn_tensor
Create random tensors on the desired device with the desired dtype.
lightx2v/models/schedulers/longcat_image/scheduler.py:65
↓ 1 callersMethodrasterize_splats
( self, means, quats, scales, opacities, colors, camto
lightx2v/models/networks/worldmirror/models/models/rasterization.py:32
↓ 1 callersMethodraw_frame_id
(self, sequence_id, raw_frame_rate, total_raw_frames)
lightx2v_train/lightx2v_train/data/video_dataset.py:77
↓ 1 callersMethodrdma_cas
Execute true remote atomic compare-and-swap and return previous value.
lightx2v/disagg/rdma_client.py:390
↓ 1 callersMethodrdma_faa
Execute true remote atomic fetch-and-add and return previous value.
lightx2v/disagg/rdma_client.py:362
↓ 1 callersMethodrdma_read
执行单边读:直接从远程内存读取数据到本地
lightx2v/disagg/rdma_client.py:304
↓ 1 callersMethodrdma_read_from
Read bytes from an explicit remote address.
lightx2v/disagg/rdma_client.py:344
↓ 1 callersMethodrdma_write
执行单边写:将本地数据直接写入远程内存
lightx2v/disagg/rdma_client.py:271
↓ 1 callersMethodrdma_write_to
Write bytes to an explicit remote address. Keeps compatibility with existing rdma_write implementation by temporarily overriding remo
lightx2v/disagg/rdma_client.py:322
↓ 1 callersMethodread_hidden_states
从共享内存读取 hidden states 数据 Args: shm_name: 共享内存名称 shape: 数据形状 dtype: 数据类型(默认 uint8,需要后续 view 为 bfl
lightx2v/models/input_encoders/lightllm/shm_client.py:21
↓ 1 callersMethodread_image_input
(self, img_path)
lightx2v/models/runners/wan/wan_audio_runner.py:1054
↓ 1 callersMethodread_image_input
(self, img_path)
lightx2v/models/runners/qwen_image/qwen_image_runner.py:223
↓ 1 callersMethodread_image_input
(self, img_path)
lightx2v/models/runners/z_image/z_image_runner.py:130
↓ 1 callersMethodread_image_input
(self, img_path)
lightx2v/models/runners/hunyuan_video/hunyuan_video_15_runner.py:459
↓ 1 callersFunctionread_img
(image, convert="RGB", check_exist=False)
tools/preprocess/pose2d_utils.py:21
↓ 1 callersMethodread_memory
Read bytes from a validated sub-region within server MR.
lightx2v/disagg/rdma_server.py:115
↓ 1 callersMethodread_pose_video_frames
(video_path, n_frames, target_fps=16, reverse=False)
lightx2v/models/runners/wan/wan_s2v_runner.py:120
↓ 1 callersFunctionread_readme
()
setup_vae.py:12
↓ 1 callersFunctionread_tensor_metadata
Read tensor metadata from a full safetensors file header.
tools/convert/export_dummy_meta.py:28
↓ 1 callersMethodrearange_audio_features
(self, audio_feature: torch.Tensor)
lightx2v/models/input_encoders/hf/seko_audio/audio_adapter.py:411
↓ 1 callersFunctionref_nvfp4_quant
(x, global_scale)
lightx2v_kernel/test/nvfp4_nvfp4/fake_quant.py:33
↓ 1 callersFunctionreference_impl_with_wb
(x, scale, shift, weight, bias, eps)
lightx2v/models/networks/ltx2/infer/triton_ops.py:250
↓ 1 callersMethodregister_buffer_to_engine
(self, room: int)
lightx2v/disagg/conn.py:258
↓ 1 callersMethodregister_counter
(self, name, desc, labels)
lightx2v/server/metrics/metrics.py:390
↓ 1 callersMethodregister_gauge
(self, name, desc, labels)
lightx2v/server/metrics/metrics.py:411
↓ 1 callersMethodregister_histogram
(self, name, desc, labels, buckets=None)
lightx2v/server/metrics/metrics.py:394
↓ 1 callersMethodregister_offload_buffers
(self, config, lazy_load_path, lora_path)
lightx2v/models/networks/wan/weights/transformer_weights.py:55
↓ 1 callersMethodregister_offload_buffers
(self, config, lazy_load_path, lora_path)
lightx2v/models/networks/wan/weights/infinitetalk/transformer_weights.py:43
↓ 1 callersMethodregister_offload_buffers
(self, config, lazy_load_path, lora_path)
lightx2v/models/networks/wan/weights/vace/transformer_weights.py:26
↓ 1 callersMethodregister_offload_buffers
(self, config, lazy_load_path, lora_path)
lightx2v/models/networks/qwen_image/weights/transformer_weights.py:37
↓ 1 callersMethodregister_offload_buffers
(self, config, lazy_load_path, lora_path)
lightx2v/models/networks/z_image/weights/transformer_weights.py:62
↓ 1 callersMethodregister_offload_buffers
(self, config)
lightx2v/models/networks/hunyuan_video/weights/transformer_weights.py:23
↓ 1 callersMethodregister_offload_buffers
(self, config, lazy_load_path, lora_path)
lightx2v/models/networks/ltx2/weights/transformer_weights.py:45
↓ 1 callersMethodregister_offload_buffers
(self, config, lazy_load_path, lora_path)
lightx2v/models/networks/cosmos3/weights/transformer_weights.py:34
↓ 1 callersMethodregister_offload_buffers
(self, config)
lightx2v/models/networks/longcat_image/weights/transformer_weights.py:337
↓ 1 callersMethodregister_offload_buffers
(self, config)
lightx2v/models/networks/flux2/weights/transformer_weights.py:291
↓ 1 callersMethodrelease
(self)
lightx2v/disagg/services/transformer.py:945
↓ 1 callersMethodrelease
(self)
lightx2v/disagg/services/encoder.py:713
↓ 1 callersMethodrelease_memory
(self, room: int)
lightx2v/disagg/services/decoder.py:317
↓ 1 callersMethodrelease_memory
Releases the RDMA buffers and clears GPU cache.
lightx2v/disagg/services/transformer.py:908
↓ 1 callersMethodrelease_memory
Releases the RDMA buffers and clears GPU cache.
lightx2v/disagg/services/encoder.py:694
↓ 1 callersMethodrelease_processing_lock
(self, task_id: str)
lightx2v/server/task_manager.py:226
↓ 1 callersFunctionremove_head
Remove duplicated first frame features in the up-sampling process.
lightx2v/models/video_encoders/hf/seedvr/causal_inflation_lib.py:337
↓ 1 callersMethodremove_instance
Remove instance address from the matching scheduling policy by type.
lightx2v/disagg/services/controller.py:1858
↓ 1 callersFunctionremove_seqeunce_parallel_padding
A func to remove the padding part of the tensor based on its original shape
lightx2v/models/video_encoders/hf/seedvr/common/distributed/ops.py:229
↓ 1 callersFunctionrender_interpolated_video
Render an interpolated fly-through video from Gaussian splat predictions. Args: gs_renderer: GaussianSplatRenderer instance (from the mod
lightx2v/models/networks/worldmirror/utils/render_utils.py:117
↓ 1 callersFunctionrender_report
( path: Path, stats: Sequence[ProfilerStepStats], *, gap_threshold: float, gap_per_event_u
tools/profile/analyze_torch_trace_gap.py:193
↓ 1 callersMethodreorg
(self, q, k, v)
lightx2v/common/ops/attn/sparse_mask_generator.py:144
↓ 1 callersFunctionrepeat_concat
( vid: torch.FloatTensor, # (VL ... c) txt: torch.FloatTensor, # (TL ... c) vid_len: torch.LongT
lightx2v/models/networks/seedvr/utils/na.py:74
↓ 1 callersFunctionreplace_linear
(module, new_linear_cls)
lightx2v/models/input_encoders/hf/hunyuan15/qwen25/model.py:105
↓ 1 callersFunctionrequest_t2i_sync
( base_url: str, payload: dict, timeout_seconds: int, poll_interval_seconds: float, )
scripts/server/post_sync_t2i_base64.py:23
↓ 1 callersMethodresample_audio
Resample audio to the processor's target sample rate if needed.
lightx2v/models/video_encoders/hf/ltx2/audio_vae/ops.py:52
↓ 1 callersFunctionrescale_shorten_skeleton
(ratio_list, src_length_list, dst_length_list)
tools/preprocess/retarget_pose.py:440
↓ 1 callersFunctionrescale_skeleton
(H, W, keypoints, bone_ratio_list)
tools/preprocess/retarget_pose.py:300
↓ 1 callersMethodreset
(self, seed, latent_shape, step_index=None)
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:973
↓ 1 callersMethodreset
(self, seed, latent_shape, step_index=None)
lightx2v/models/schedulers/wan/scheduler.py:150
↓ 1 callersMethodreset_infer_states
(self)
lightx2v/models/networks/wan/infer/transformer_infer.py:86
↓ 1 callersMethodreset_parameters
(self)
lightx2v/models/video_encoders/hf/ltx2/video_vae/convolution.py:158
↓ 1 callersMethodreset_post_adapter_states
(self)
lightx2v/models/networks/wan/infer/transformer_infer.py:83
↓ 1 callersMethodreshape_tensor
(self, tensor, allow_padding=False)
lightx2v/utils/quant_utils.py:77
↓ 1 callersMethodresize_and_center_crop
(self, image, target_width, target_height)
lightx2v/models/runners/hunyuan_video/hunyuan_video_15_runner.py:506
↓ 1 callersMethodresize_crop
Resize, center crop and normalize for decord loaded video (torch.Tensor type) Parameters: video - video to process (torch.
lightx2v/models/input_encoders/hf/vace/vace_processor.py:27
↓ 1 callersFunctionresize_image
Resize input image for i2v / flf2v. Supports the same six modes as wan_audio_runner.resize_image (adaptive, keep_ratio_fixed_area, fixed_min_
lightx2v/models/runners/default_runner.py:25
↓ 1 callersFunctionresize_pil_to_shape
(image, image_shape)
lightx2v/models/runners/bagel/i2i_utils.py:72
↓ 1 callersFunctionresize_to_target_area
(image, target_area)
lightx2v_train/lightx2v_train/data/utils.py:15
← previousnext →4,301–4,400 of 8,429, ranked by callers