MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

↓ 1 callersFunctionresize_with_padding
(frame: np.ndarray, target_size: tuple[int, int])
lightx2v/models/networks/motus/image_utils.py:5
↓ 1 callersFunctionresolve_hw_from_ids
(latent_image_ids: torch.Tensor | None, seq_len: int)
lightx2v/models/schedulers/fls_enhance.py:71
↓ 1 callersMethodresolve_model_config_path
Resolve the MG3 base/distilled config.json with explicit override support.
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:1150
↓ 1 callersFunctionresolve_paint_output_paths
(save_path: str)
tools/postprocess/paint_pipeline.py:59
↓ 1 callersMethodrestore
(self, out)
lightx2v/common/ops/attn/sparse_mask_generator.py:165
↓ 1 callersMethodrestore
(self, layer_id: int, slots: torch.Tensor)
lightx2v/common/kvcache/fifo.py:120
↓ 1 callersFunctionretarget_pose
(src_skeleton, dst_skeleton, all_src_skeleton, src_skeleton_edit, dst_skeleton_edit, threshold=0.4)
tools/preprocess/retarget_pose.py:556
↓ 1 callersFunctionretrieve_timesteps
( scheduler, num_inference_steps: Optional[int] = None, device: Optional[Union[str, torch.device]]
lightx2v/models/schedulers/hunyuan3d/scheduler.py:19
↓ 1 callersFunctionretrieve_timesteps
r""" Calls the scheduler's `set_timesteps` method and retrieves timesteps from the scheduler after the call. Handles custom timesteps. Any kwa
lightx2v/models/schedulers/qwen_image/scheduler.py:47
↓ 1 callersFunctionretrieve_timesteps
Retrieve timesteps from scheduler.
lightx2v/models/schedulers/longcat_image/scheduler.py:34
↓ 1 callersMethodrewrite_prompt
Rewrite prompts using the LLM for better generation quality. Args: prompt: Single prompt string or list of prompts de
lightx2v/models/input_encoders/hf/longcat/longcat_text_encoder.py:136
↓ 1 callersMethodring_attn_sub
(self, q, k, v, dropout_p=0.0, softmax_scale=None, causal=False, window_size=(-1, -1), softcap=0.0, alibi_slop
lightx2v/common/ops/attn/ring_attn.py:219
↓ 1 callersMethodring_attn_sub_kv_fusion
(self, q, kv, dropout_p=0.0, softmax_scale=None, causal=False, window_size=(-1, -1), softcap=0.0, alibi_slopes
lightx2v/common/ops/attn/ring_attn.py:200
↓ 1 callersFunctionrms_norm_no_weight
(x: torch.Tensor, eps: float)
lightx2v/models/networks/seedvr/infer/utils.py:7
↓ 1 callersMethodrmsnorm
RMSNorm compatible with sgl_kernel.rmsnorm(input, weight, eps)
lightx2v_platform/base/amd_rocm.py:52
↓ 1 callersFunctionrmsnorm_torch_naive
(x, weight=None, bias=None, eps=1e-6)
lightx2v/models/networks/ltx2/infer/utils.py:10
↓ 1 callersFunctionrope_apply
Match Wan2.2/wan/modules/s2v/model_s2v.py rope_apply for precomputed freqs.
lightx2v/models/networks/wan/infer/s2v/rope.py:62
↓ 1 callersFunctionrot_x
Rotation matrix around X-axis (pitch).
lightx2v/models/networks/worldplay/pose_utils.py:28
↓ 1 callersFunctionrot_y
Rotation matrix around Y-axis (yaw).
lightx2v/models/networks/worldplay/pose_utils.py:34
↓ 1 callersFunctionrotate_half
(x)
lightx2v/models/networks/wan/infer/infinitetalk/transformer_infer.py:16
↓ 1 callersFunctionrotate_half
(x)
lightx2v/models/networks/seedvr/utils/rotary_embedding_torch.py:41
↓ 1 callersFunctionround_to_multiple
(idx)
lightx2v/common/ops/attn/svg_attn.py:219
↓ 1 callersMethodrun
(self, total_steps=None)
lightx2v/models/runners/hidream_o1_image/hidream_o1_image_runner.py:228
↓ 1 callersMethodrun
(self, total_steps=None)
lightx2v/models/runners/qwen_image/qwen_image_runner.py:318
↓ 1 callersMethodrun
(self, total_steps=None)
lightx2v/models/runners/z_image/z_image_runner.py:259
↓ 1 callersMethodrun
(self, total_steps=None)
lightx2v/models/runners/ernie_image/ernie_image_runner.py:167
↓ 1 callersMethodrun
Abstract method to extract surface mesh from grid logits. This method should be implemented by subclasses. Raises:
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/surface_extractors.py:66
↓ 1 callersMethodrun_back_simulation
(self, condition, latent_shape, end_step_idx, grad_enabled, xt=None)
lightx2v_train/lightx2v_train/trainers/dmd.py:236
↓ 1 callersMethodrun_back_simulation
(self, condition, latent_shape, grad_enabled, xt=None)
lightx2v_train/lightx2v_train/trainers/dmd.py:890
↓ 1 callersFunctionrun_bench
()
lightx2v_kernel_xpu/test/test_fp8.py:192
↓ 1 callersFunctionrun_canny_edges
Per-frame OpenCV Canny on RGB frames → RGB uint8 (white edges on black).
tools/preprocess/ltx2.3_preprocess_data.py:196
↓ 1 callersMethodrun_chunk
(self, frame_indices)
lightx2v/models/runners/wan/wan_dreamzero_runner.py:564
↓ 1 callersFunctionrun_client_upload_flow
( args: argparse.Namespace, s3_client, bucket: str, object_key: str, )
scripts/server/benchmark_sync_s3_latency.py:102
↓ 1 callersMethodrun_clip
(self)
lightx2v/models/runners/wan/wan_audio_runner.py:882
↓ 1 callersMethodrun_clip_pipeline
(self, input_info)
lightx2v/models/runners/wan/wan_audio_runner.py:938
↓ 1 callersMethodrun_denoising_loop
Run autoregressive denoising loop with chunk-based generation. Preserves full pose data and slices per-chunk from it to avoid
lightx2v/models/runners/worldplay/worldplay_ar_runner.py:226
↓ 1 callersFunctionrun_depth_midas_small
(frames_rgb: List[np.ndarray], device: str)
tools/preprocess/ltx2.3_preprocess_data.py:220
↓ 1 callersMethodrun_dit_clip
(self, dit_inputs)
lightx2v/models/runners/wan/wan_s2v_runner.py:255
↓ 1 callersFunctionrun_edit
(client: Any, args: argparse.Namespace)
scripts/hidream_o1_image/test_openai_images_client.py:209
↓ 1 callersFunctionrun_edit
(client: Any, args: argparse.Namespace)
scripts/server/openai_image/test_openai_images_client.py:55
↓ 1 callersMethodrun_forever
(self)
lightx2v/disagg/services/data_mgr_sidecar.py:436
↓ 1 callersFunctionrun_generate
(client: Any, args: argparse.Namespace)
scripts/server/openai_image/test_openai_images_client.py:43
↓ 1 callersFunctionrun_generate_batch
(client: Any, args: argparse.Namespace)
scripts/hidream_o1_image/test_openai_images_client.py:241
↓ 1 callersMethodrun_image_encoder
(self, img)
lightx2v/models/runners/wan/wan_animate_runner.py:433
↓ 1 callersMethodrun_image_encoder
(self, first_frame, last_frame=None)
lightx2v/models/runners/hunyuan_video/hunyuan_video_15_runner.py:492
↓ 1 callersMethodrun_image_encoders
( self, conditioning_pixel_values, refer_t_pixel_values, bg_pixel_values,
lightx2v/models/runners/wan/wan_animate_runner.py:192
↓ 1 callersMethodrun_main
(self)
lightx2v/models/runners/hunyuan3d/hunyuan3d_shape_runner.py:158
↓ 1 callersMethodrun_main
(self)
lightx2v/models/runners/hidream_o1_image/hidream_o1_image_runner.py:253
↓ 1 callersMethodrun_main
(self)
lightx2v/models/runners/wan/wan_s2v_runner.py:268
↓ 1 callersMethodrun_main
(self, total_steps=None)
lightx2v/models/runners/wan/wan_sf_runner.py:131
↓ 1 callersMethodrun_main
(self)
lightx2v/models/runners/wan/wan_infinitetalk_runner.py:765
↓ 1 callersMethodrun_main
(self)
lightx2v/models/runners/wan/wan_dreamzero_runner.py:657
↓ 1 callersMethodrun_main
(self)
lightx2v/models/runners/wan/wan_lingbot_va_runner.py:408
↓ 1 callersMethodrun_pipeline
Run WorldMirror reconstruction on a directory/video/image path.
lightx2v/models/runners/worldmirror/worldmirror_runner.py:422
↓ 1 callersMethodrun_segment
(self, segment_idx=0)
lightx2v/models/runners/default_runner.py:212
↓ 1 callersMethodrun_segment
(self, segment_idx=0)
lightx2v/models/runners/wan/wan_infinitetalk_runner.py:688
↓ 1 callersMethodrun_segment
(self, segment_idx=0)
lightx2v/models/runners/wan/wan_lingbot_fast_runner.py:73
↓ 1 callersMethodrun_segment
(self, segment_idx=0)
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:2061
↓ 1 callersMethodrun_segment
(self, segment_idx=0)
lightx2v/models/runners/wan/wan_lingbot_va_runner.py:325
↓ 1 callersFunctionrun_server
(args)
lightx2v/server/main.py:18
↓ 1 callersFunctionrun_server_upload_flow
( args: argparse.Namespace, s3_client, bucket: str, object_key: str, )
scripts/server/benchmark_sync_s3_latency.py:136
↓ 1 callersFunctionrun_shape
(m, k, n, warmup, iters)
lightx2v_kernel/test/mxfp8_mxfp8/bench_fused_ffn.py:59
↓ 1 callersFunctionrun_skyseg
Runs sky segmentation inference using ONNX model. Args: onnx_session: ONNX runtime session input_size: Target size for model
lightx2v/models/networks/worldmirror/utils/visual_util.py:55
↓ 1 callersMethodrun_sound_decoder
(self, sound_latents)
lightx2v/models/runners/cosmos3/cosmos3_runner.py:573
↓ 1 callersMethodrun_sr
(self, lq_latents)
lightx2v/models/runners/hunyuan_video/hunyuan_video_15_runner.py:401
↓ 1 callersMethodrun_text_encoder
(self, input_info)
lightx2v/models/runners/wan/wan_infinitetalk_runner.py:152
↓ 1 callersMethodrun_text_encoder
(self, input_info)
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:1105
↓ 1 callersMethodrun_text_encoder
Run text encoder for SeedVR. SeedVR uses pre-computed text embeddings. Load them from disk and return as context.
lightx2v/models/runners/seedvr/seedvr_runner.py:395
↓ 1 callersMethodrun_text_encoder
(self, text, neg_prompt=None)
lightx2v/models/runners/ernie_image/ernie_image_runner.py:104
↓ 1 callersMethodrun_text_encoder
(self, text, neg_prompt=None)
lightx2v/models/runners/longcat_image/longcat_image_runner.py:240
↓ 1 callersMethodrun_text_encoder_with_image
Encode text + image for I2I task.
lightx2v/models/runners/longcat_image/longcat_image_runner.py:204
↓ 1 callersMethodrun_upsampler
Run Stage 2: Upsampling and high-resolution refinement. This method handles the upsampling and scheduler preparation, then delegates
lightx2v/models/runners/ltx2/ltx2_runner.py:742
↓ 1 callersMethodrun_vae_cached_decoder_withflag
(self, latents, is_first: bool, is_last: bool)
lightx2v/models/runners/wan/wan_audio_runner.py:872
↓ 1 callersMethodrun_vae_decoder
(self, latents)
lightx2v/models/runners/default_runner.py:448
↓ 1 callersMethodrun_vae_decoder
(self, latents)
lightx2v/models/runners/hidream_o1_image/hidream_o1_image_runner.py:249
↓ 1 callersMethodrun_vae_decoder
(self, latents)
lightx2v/models/runners/wan/wan_s2v_runner.py:245
↓ 1 callersMethodrun_vae_decoder
(self, pred_latent)
lightx2v/models/runners/wan/wan_lingbot_va_runner.py:400
↓ 1 callersMethodrun_vae_decoder
(self, latents, decode_info)
lightx2v/models/runners/bagel/bagel_runner.py:125
↓ 1 callersMethodrun_vae_decoder
(self, latents)
lightx2v/models/runners/z_image/z_image_runner.py:377
↓ 1 callersMethodrun_vae_decoder
(self, latents)
lightx2v/models/runners/seedvr/seedvr_runner.py:375
↓ 1 callersMethodrun_vae_decoder
(self, latents)
lightx2v/models/runners/ernie_image/ernie_image_runner.py:183
↓ 1 callersMethodrun_vae_decoder
(self, latents)
lightx2v/models/runners/longcat_image/longcat_image_runner.py:271
↓ 1 callersMethodrun_vae_decoder
(self, latents)
lightx2v/models/runners/flux2/flux2_runner.py:332
↓ 1 callersMethodrun_vae_decoder_segments
(self, latent_segments)
lightx2v/models/runners/wan/wan_dreamzero_runner.py:645
↓ 1 callersMethodrun_vae_encoder
( self, conditioning_pixel_values, refer_t_pixel_values, bg_pixel_values,
lightx2v/models/runners/wan/wan_animate_runner.py:215
↓ 1 callersMethodrun_vae_encoder
(self, img)
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:1260
↓ 1 callersMethodrun_vae_encoder
(self, image)
lightx2v/models/runners/qwen_image/qwen_image_runner.py:292
↓ 1 callersMethodrun_vae_encoder
(self, image)
lightx2v/models/runners/z_image/z_image_runner.py:249
↓ 1 callersMethodrun_vae_encoder
(self, first_frame)
lightx2v/models/runners/hunyuan_video/hunyuan_video_15_runner.py:530
↓ 1 callersMethodrun_worker_loop
(self)
lightx2v/server/services/inference/service.py:79
↓ 1 callersFunctions2v_self_attn_forward
Mirror of WanS2VSelfAttention.forward (model_s2v.py + model.py).
lightx2v/models/networks/wan/infer/s2v/wan_ops.py:144
↓ 1 callersMethodsample
(self, imgs, deterministic=False, scale=[0, 1])
lightx2v/models/video_encoders/hf/wan/vae.py:805
↓ 1 callersMethodsample
(self, imgs, deterministic=False, scale=[0, 1])
lightx2v/models/video_encoders/hf/wan/vae_2_2.py:960
↓ 1 callersMethodsample_chunkwise
(self, batch_size, num_frames, num_frame_per_chunk, device, dtype)
lightx2v_train/lightx2v_train/schedulers/flow_matching.py:148
↓ 1 callersMethodsample_clean_augmentation
(self, batch_size, num_frames, num_frame_per_chunk, max_timestep, device, dtype)
lightx2v_train/lightx2v_train/schedulers/flow_matching.py:164
↓ 1 callersMethodsample_count
(self, reader)
lightx2v_train/lightx2v_train/data/video_dataset.py:68
↓ 1 callersMethodsample_mse
(self, query, key, value)
lightx2v/common/ops/attn/svg_attn.py:397
↓ 1 callersMethodsample_mse
(self, query, key, value)
lightx2v/common/ops/attn/sparse_mask_generator.py:121
↓ 1 callersMethodsample_points_and_latents
(self, pc: torch.FloatTensor, feats: Optional[torch.FloatTensor] = None)
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:467
↓ 1 callersMethodsample_qk_attention_2d
( self, q: torch.Tensor, k: torch.Tensor, frame_h: int, frame_w: int,
lightx2v/common/ops/attn/draft_attn.py:114
← previousnext →4,401–4,500 of 8,429, ranked by callers