Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ModelTC/LightX2V
/ functions
Functions
8,429 in github.com/ModelTC/LightX2V
⨍
Functions
8,429
◇
Types & classes
1,399
↳
Endpoints
30
↓ 1 callers
Method
preprocess_image
(self, image)
lightx2v/models/input_encoders/hf/z_image/qwen3_model.py:50
↓ 1 callers
Method
preprocess_t5_embeddings
(self, language_embeddings)
lightx2v/models/networks/motus/model.py:58
↓ 1 callers
Function
print_and_save_timings
Print formatted timing table and save to JSON.
lightx2v/models/networks/worldmirror/utils/inference_utils.py:815
↓ 1 callers
Function
print_load_warning
(missing: list[str], unexpected: list[str])
lightx2v/models/video_encoders/hf/bagel/autoencoder.py:328
↓ 1 callers
Method
process
(self, config)
lightx2v/disagg/services/decoder.py:194
↓ 1 callers
Method
process
Executes the diffusion process and video decoding.
lightx2v/disagg/services/transformer.py:549
↓ 1 callers
Method
process
Generates encoder outputs from prompt and image input.
lightx2v/disagg/services/encoder.py:516
↓ 1 callers
Function
process_files
处理文件列表,提取模型名称
app/utils/model_utils.py:201
↓ 1 callers
Function
process_image_path
Process image_path: convert to base64 if local path, keep unchanged if HTTP link
scripts/server/post_multi_servers.py:19
↓ 1 callers
Method
process_images_after_vae_decoder
(self)
lightx2v/models/runners/default_runner.py:487
↓ 1 callers
Method
process_images_after_vae_decoder
(self)
lightx2v/models/runners/wan/wan_audio_runner.py:803
↓ 1 callers
Method
process_images_after_vae_decoder
(self)
lightx2v/models/runners/wan/wan_dreamzero_runner.py:684
↓ 1 callers
Method
process_images_after_vae_decoder
(self)
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:2147
↓ 1 callers
Method
process_images_after_vae_decoder
(self)
lightx2v/models/runners/wan/wan_lingbot_va_runner.py:429
↓ 1 callers
Method
process_images_after_vae_decoder
(self)
lightx2v/models/runners/neopp/neopp_runner.py:304
↓ 1 callers
Method
process_images_after_vae_decoder_for_debug
(self)
lightx2v/models/runners/neopp/neopp_runner.py:309
↓ 1 callers
Function
process_input_video
(args)
tools/preprocess/preprocess_data.py:59
↓ 1 callers
Function
process_input_video
(args)
tools/preprocess/ltx2.3_preprocess_data.py:332
↓ 1 callers
Function
process_paint
(args)
tools/postprocess/postprocess_paint.py:74
↓ 1 callers
Method
process_prev_frames
Process previous frames with noise and masking
lightx2v/models/runners/wan/wan_audio_runner.py:176
↓ 1 callers
Method
process_results
(self, results, shape_raw, cat_id=[1], single_person=True)
tools/preprocess/pose2d.py:205
↓ 1 callers
Method
project_context
(self, weights, inputs, device, dtype)
lightx2v/models/networks/wan/infer/dreamzero/pre_infer.py:217
↓ 1 callers
Function
projector_depth
(projector_type)
lightx2v/models/networks/wan/weights/motus/_shared.py:84
↓ 1 callers
Function
pseudo_random
(a, b)
lightx2v/utils/video_recorder.py:14
↓ 1 callers
Method
publish_action
(self, action)
lightx2v_ros/src/inference/inference/fastwam_node/main.py:156
↓ 1 callers
Method
quant
(self, tensor, scales, zeros, qmax, qmin)
lightx2v/utils/quant_utils.py:133
↓ 1 callers
Function
quant2mxfp6
(x: torch.Tensor)
lightx2v_kernel/test/mxfp6_mxfp8/test_fake_quant.py:13
↓ 1 callers
Function
quant2mxfp8
(x: torch.Tensor)
lightx2v_kernel/test/mxfp6_mxfp8/test_fake_quant.py:6
↓ 1 callers
Method
quant_dequant
(self, tensor, scales, zeros, qmax, qmin)
lightx2v/utils/quant_utils.py:195
↓ 1 callers
Method
quant_query_per_thread_int8
(self, q, BLKQ=128, WARPQ=32, sm_scale=None)
lightx2v/common/ops/attn/sage_attn.py:238
↓ 1 callers
Function
quantize_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 callers
Function
quat_to_axis_angle
(quat)
lightx2v_ros/src/simulator/simulator/libero_node/main.py:137
↓ 1 callers
Function
quaternion_to_rotation_matrix
Convert quaternion (scalar-first: [w, x, y, z]) to rotation matrix.
lightx2v/models/networks/worldmirror/utils/render_utils.py:59
↓ 1 callers
Function
rand_name
(length=8, suffix="")
lightx2v_train/lightx2v_train/model_zoo/native/wan/utils/utils.py:14
↓ 1 callers
Function
randn_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 callers
Function
randn_tensor
Create random tensors on the desired device with the desired dtype.
lightx2v/models/schedulers/longcat_image/scheduler.py:65
↓ 1 callers
Method
rasterize_splats
( self, means, quats, scales, opacities, colors, camto
lightx2v/models/networks/worldmirror/models/models/rasterization.py:32
↓ 1 callers
Method
raw_frame_id
(self, sequence_id, raw_frame_rate, total_raw_frames)
lightx2v_train/lightx2v_train/data/video_dataset.py:77
↓ 1 callers
Method
rdma_cas
Execute true remote atomic compare-and-swap and return previous value.
lightx2v/disagg/rdma_client.py:390
↓ 1 callers
Method
rdma_faa
Execute true remote atomic fetch-and-add and return previous value.
lightx2v/disagg/rdma_client.py:362
↓ 1 callers
Method
rdma_read
执行单边读:直接从远程内存读取数据到本地
lightx2v/disagg/rdma_client.py:304
↓ 1 callers
Method
rdma_read_from
Read bytes from an explicit remote address.
lightx2v/disagg/rdma_client.py:344
↓ 1 callers
Method
rdma_write
执行单边写:将本地数据直接写入远程内存
lightx2v/disagg/rdma_client.py:271
↓ 1 callers
Method
rdma_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 callers
Method
read_hidden_states
从共享内存读取 hidden states 数据 Args: shm_name: 共享内存名称 shape: 数据形状 dtype: 数据类型(默认 uint8,需要后续 view 为 bfl
lightx2v/models/input_encoders/lightllm/shm_client.py:21
↓ 1 callers
Method
read_image_input
(self, img_path)
lightx2v/models/runners/wan/wan_audio_runner.py:1054
↓ 1 callers
Method
read_image_input
(self, img_path)
lightx2v/models/runners/qwen_image/qwen_image_runner.py:223
↓ 1 callers
Method
read_image_input
(self, img_path)
lightx2v/models/runners/z_image/z_image_runner.py:130
↓ 1 callers
Method
read_image_input
(self, img_path)
lightx2v/models/runners/hunyuan_video/hunyuan_video_15_runner.py:459
↓ 1 callers
Function
read_img
(image, convert="RGB", check_exist=False)
tools/preprocess/pose2d_utils.py:21
↓ 1 callers
Method
read_memory
Read bytes from a validated sub-region within server MR.
lightx2v/disagg/rdma_server.py:115
↓ 1 callers
Method
read_pose_video_frames
(video_path, n_frames, target_fps=16, reverse=False)
lightx2v/models/runners/wan/wan_s2v_runner.py:120
↓ 1 callers
Function
read_readme
()
setup_vae.py:12
↓ 1 callers
Function
read_tensor_metadata
Read tensor metadata from a full safetensors file header.
tools/convert/export_dummy_meta.py:28
↓ 1 callers
Method
rearange_audio_features
(self, audio_feature: torch.Tensor)
lightx2v/models/input_encoders/hf/seko_audio/audio_adapter.py:411
↓ 1 callers
Function
ref_nvfp4_quant
(x, global_scale)
lightx2v_kernel/test/nvfp4_nvfp4/fake_quant.py:33
↓ 1 callers
Function
reference_impl_with_wb
(x, scale, shift, weight, bias, eps)
lightx2v/models/networks/ltx2/infer/triton_ops.py:250
↓ 1 callers
Method
register_buffer_to_engine
(self, room: int)
lightx2v/disagg/conn.py:258
↓ 1 callers
Method
register_counter
(self, name, desc, labels)
lightx2v/server/metrics/metrics.py:390
↓ 1 callers
Method
register_gauge
(self, name, desc, labels)
lightx2v/server/metrics/metrics.py:411
↓ 1 callers
Method
register_histogram
(self, name, desc, labels, buckets=None)
lightx2v/server/metrics/metrics.py:394
↓ 1 callers
Method
register_offload_buffers
(self, config, lazy_load_path, lora_path)
lightx2v/models/networks/wan/weights/transformer_weights.py:55
↓ 1 callers
Method
register_offload_buffers
(self, config, lazy_load_path, lora_path)
lightx2v/models/networks/wan/weights/infinitetalk/transformer_weights.py:43
↓ 1 callers
Method
register_offload_buffers
(self, config, lazy_load_path, lora_path)
lightx2v/models/networks/wan/weights/vace/transformer_weights.py:26
↓ 1 callers
Method
register_offload_buffers
(self, config, lazy_load_path, lora_path)
lightx2v/models/networks/qwen_image/weights/transformer_weights.py:37
↓ 1 callers
Method
register_offload_buffers
(self, config, lazy_load_path, lora_path)
lightx2v/models/networks/z_image/weights/transformer_weights.py:62
↓ 1 callers
Method
register_offload_buffers
(self, config)
lightx2v/models/networks/hunyuan_video/weights/transformer_weights.py:23
↓ 1 callers
Method
register_offload_buffers
(self, config, lazy_load_path, lora_path)
lightx2v/models/networks/ltx2/weights/transformer_weights.py:45
↓ 1 callers
Method
register_offload_buffers
(self, config, lazy_load_path, lora_path)
lightx2v/models/networks/cosmos3/weights/transformer_weights.py:34
↓ 1 callers
Method
register_offload_buffers
(self, config)
lightx2v/models/networks/longcat_image/weights/transformer_weights.py:337
↓ 1 callers
Method
register_offload_buffers
(self, config)
lightx2v/models/networks/flux2/weights/transformer_weights.py:291
↓ 1 callers
Method
release
(self)
lightx2v/disagg/services/transformer.py:945
↓ 1 callers
Method
release
(self)
lightx2v/disagg/services/encoder.py:713
↓ 1 callers
Method
release_memory
(self, room: int)
lightx2v/disagg/services/decoder.py:317
↓ 1 callers
Method
release_memory
Releases the RDMA buffers and clears GPU cache.
lightx2v/disagg/services/transformer.py:908
↓ 1 callers
Method
release_memory
Releases the RDMA buffers and clears GPU cache.
lightx2v/disagg/services/encoder.py:694
↓ 1 callers
Method
release_processing_lock
(self, task_id: str)
lightx2v/server/task_manager.py:226
↓ 1 callers
Function
remove_head
Remove duplicated first frame features in the up-sampling process.
lightx2v/models/video_encoders/hf/seedvr/causal_inflation_lib.py:337
↓ 1 callers
Method
remove_instance
Remove instance address from the matching scheduling policy by type.
lightx2v/disagg/services/controller.py:1858
↓ 1 callers
Function
remove_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 callers
Function
render_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 callers
Function
render_report
( path: Path, stats: Sequence[ProfilerStepStats], *, gap_threshold: float, gap_per_event_u
tools/profile/analyze_torch_trace_gap.py:193
↓ 1 callers
Method
reorg
(self, q, k, v)
lightx2v/common/ops/attn/sparse_mask_generator.py:144
↓ 1 callers
Function
repeat_concat
( vid: torch.FloatTensor, # (VL ... c) txt: torch.FloatTensor, # (TL ... c) vid_len: torch.LongT
lightx2v/models/networks/seedvr/utils/na.py:74
↓ 1 callers
Function
replace_linear
(module, new_linear_cls)
lightx2v/models/input_encoders/hf/hunyuan15/qwen25/model.py:105
↓ 1 callers
Function
request_t2i_sync
( base_url: str, payload: dict, timeout_seconds: int, poll_interval_seconds: float, )
scripts/server/post_sync_t2i_base64.py:23
↓ 1 callers
Method
resample_audio
Resample audio to the processor's target sample rate if needed.
lightx2v/models/video_encoders/hf/ltx2/audio_vae/ops.py:52
↓ 1 callers
Function
rescale_shorten_skeleton
(ratio_list, src_length_list, dst_length_list)
tools/preprocess/retarget_pose.py:440
↓ 1 callers
Function
rescale_skeleton
(H, W, keypoints, bone_ratio_list)
tools/preprocess/retarget_pose.py:300
↓ 1 callers
Method
reset
(self, seed, latent_shape, step_index=None)
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:973
↓ 1 callers
Method
reset
(self, seed, latent_shape, step_index=None)
lightx2v/models/schedulers/wan/scheduler.py:150
↓ 1 callers
Method
reset_infer_states
(self)
lightx2v/models/networks/wan/infer/transformer_infer.py:86
↓ 1 callers
Method
reset_parameters
(self)
lightx2v/models/video_encoders/hf/ltx2/video_vae/convolution.py:158
↓ 1 callers
Method
reset_post_adapter_states
(self)
lightx2v/models/networks/wan/infer/transformer_infer.py:83
↓ 1 callers
Method
reshape_tensor
(self, tensor, allow_padding=False)
lightx2v/utils/quant_utils.py:77
↓ 1 callers
Method
resize_and_center_crop
(self, image, target_width, target_height)
lightx2v/models/runners/hunyuan_video/hunyuan_video_15_runner.py:506
↓ 1 callers
Method
resize_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 callers
Function
resize_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 callers
Function
resize_pil_to_shape
(image, image_shape)
lightx2v/models/runners/bagel/i2i_utils.py:72
↓ 1 callers
Function
resize_to_target_area
(image, target_area)
lightx2v_train/lightx2v_train/data/utils.py:15
← previous
next →
4,301–4,400 of 8,429, ranked by callers