MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

↓ 2 callersFunctionfind_latest_checkpoint
(output_dir)
lightx2v_train/lightx2v_train/runtime/checkpoint.py:24
↓ 2 callersFunctionfind_matching_file
Recursively search for files matching a glob pattern and return the first match.
lightx2v/models/input_encoders/hf/ltx2/utils.py:8
↓ 2 callersMethodfire
(self, **kwargs)
lightx2v/disagg/workload.py:19
↓ 2 callersFunctionfixed_shape_resize
(img, target_height, target_width)
lightx2v/utils/utils.py:684
↓ 2 callersFunctionflash_attention
Mirror of Wan2.2/wan/modules/attention.py flash_attention.
lightx2v/models/networks/wan/infer/s2v/wan_ops.py:78
↓ 2 callersFunctionfls_config_from_dict
(config: dict | None)
lightx2v/models/schedulers/fls_enhance.py:42
↓ 2 callersMethodforward
( x, weight, bias, residual=None, x1=None, weight1=None,
lightx2v/common/ops/norm/triton_ops.py:674
↓ 2 callersMethodforward
( x, weight, bias, residual=None, x1=None, weight1=None,
lightx2v/models/networks/wan/infer/triton_ops.py:796
↓ 2 callersMethodforward
( x, weight, bias, residual=None, x1=None, weight1=None,
lightx2v/models/networks/qwen_image/infer/triton_ops.py:932
↓ 2 callersMethodforward
( x, weight, bias, residual=None, x1=None, weight1=None,
lightx2v/models/networks/hunyuan_video/infer/triton_ops.py:669
↓ 2 callersMethodforward
(self, x_0: torch.Tensor, x_T: torch.Tensor, t: torch.Tensor)
lightx2v/models/schedulers/seedvr/utils.py:54
↓ 2 callersMethodforward
(self, input)
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:124
↓ 2 callersMethodforward
(self, x)
lightx2v/models/video_encoders/hf/wan/vae.py:545
↓ 2 callersMethodforward
(self, x: torch.Tensor, first_chunk=False)
lightx2v/models/video_encoders/hf/wan/vae_2_2.py:521
↓ 2 callersMethodforward
(self, x: torch.Tensor, first_chunk=False)
lightx2v/models/video_encoders/hf/cosmos3/vae.py:104
↓ 2 callersMethodforward
(self, x)
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/clip.py:94
↓ 2 callersMethodforward
(self, x)
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/vae.py:424
↓ 2 callersMethodforward_loss
(self, latent_shape, conditions, stage, current_iter=None)
lightx2v_train/lightx2v_train/trainers/dmd.py:282
↓ 2 callersFunctionfp8_gemm_bias_triton
(a, b, bias, a_scales, b_scales, fuse_gelu=False, output_dtype=None)
lightx2v/common/ops/mm/triton_kernels.py:549
↓ 2 callersFunctionfp8_gemm_triton
(a, b, a_scales, b_scales, fuse_gelu=False, output_dtype=None)
lightx2v/common/ops/mm/triton_kernels.py:692
↓ 2 callersFunctionfp8_quantize_triton
(x)
lightx2v/common/ops/mm/triton_kernels.py:59
↓ 2 callersFunctionfps
( src: torch.Tensor, batch: Optional[Tensor] = None, ratio: Optional[Union[Tensor, float]] = None,
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/attention_blocks.py:403
↓ 2 callersMethodfrom_humanapi_meta
(meta)
tools/preprocess/pose2d_utils.py:128
↓ 2 callersFunctionfused_leaky_relu
(input, bias, negative_slope=0.2, scale=2**0.5)
lightx2v/models/input_encoders/hf/animate/motion_encoder.py:18
↓ 2 callersFunctiongaussian
(window_size, sigma)
lightx2v/models/vfi/rife/model/pytorch_msssim/__init__.py:10
↓ 2 callersMethodgen_text
(self, *args, **kwargs)
lightx2v/models/networks/bagel/model.py:570
↓ 2 callersMethodgenerate
(self, args)
lightx2v/shot_runner/rs2v_infer.py:155
↓ 2 callersMethodgenerate
r""" Generates video frames from text prompt using diffusion process. Args: input_prompt (`str`): Text pr
lightx2v_train/lightx2v_train/model_zoo/native/wan/text2video.py:105
↓ 2 callersMethodgenerate_freqs_cis_from_position_ids
(self, position_ids: torch.Tensor, device: torch.device = None)
lightx2v/models/schedulers/z_image/scheduler.py:505
↓ 2 callersFunctiongenerate_presigned_pair
(s3_client, bucket: str, object_key: str, expires_in: int)
scripts/server/benchmark_sync_s3_latency.py:64
↓ 2 callersFunctionget_1d_sincos_pos_embed_from_grid
embed_dim: output dimension for each position pos: a list of positions to be encoded: size (M,) out: (M, D)
lightx2v/models/networks/bagel/modeling_utils.py:49
↓ 2 callersMethodget_active_task_count
(self)
lightx2v/server/task_manager.py:206
↓ 2 callersFunctionget_attention_mask
(mask_name, sample_mse_max_row, context_length, num_frame, frame_size)
lightx2v/common/ops/attn/svg_attn.py:260
↓ 2 callersFunctionget_attn_bias_and_cat
this will perform the index select, cat the tensors, and provide the attn_bias from cache
lightx2v/models/networks/worldmirror/models/layers/block.py:162
↓ 2 callersMethodget_audio_segment
(self, timeout: float = 1.0, fetch_duration: float = None, prev_duration: float = None)
lightx2v/utils/va_reader.py:201
↓ 2 callersFunctionget_cache_size
(conv_module, input_len, pad_len, dim=0)
lightx2v/models/video_encoders/hf/seedvr/context_parallel_lib.py:79
↓ 2 callersFunctionget_clip_model_choices
获取 CLIP 模型可选项
app/utils/model_choices.py:193
↓ 2 callersMethodget_comfy_target_shape
(self)
lightx2v/models/runners/wan/wan_animate_runner.py:119
↓ 2 callersMethodget_compile_status
(self)
lightx2v/utils/custom_compiler.py:162
↓ 2 callersFunctionget_data_parallel_group
Get data parallel process group.
lightx2v/models/video_encoders/hf/seedvr/common/distributed/advanced.py:24
↓ 2 callersFunctionget_device
()
lightx2v_train/lightx2v_train/runtime/distributed.py:50
↓ 2 callersMethodget_graph_name
(self, shape, audio_num, with_mask=True)
lightx2v/models/networks/wan/audio_model.py:81
↓ 2 callersFunctionget_higher_dtype
(a, b)
lightx2v/common/ops/mm/triton_kernels.py:78
↓ 2 callersMethodget_input_target_shape
(self)
lightx2v/models/runners/z_image/z_image_runner.py:279
↓ 2 callersMethodget_instance
(cls)
lightx2v/server/api/deps.py:22
↓ 2 callersFunctionget_latent_num_from_pose
Get the number of latent frames from pose data without full tensor conversion.
lightx2v/models/networks/worldplay/pose_utils.py:234
↓ 2 callersMethodget_latent_shape_with_target_hw
(self, origin_size=None)
lightx2v/models/runners/hunyuan_video/hunyuan_video_15_runner.py:118
↓ 2 callersMethodget_local_info
获取本机 QP 信息,用于交换
lightx2v/disagg/rdma_server.py:127
↓ 2 callersFunctionget_low_noise_choices
获取低噪模型可选项
app/utils/model_choices.py:136
↓ 2 callersFunctionget_max_int
(q_lens, k_lens)
lightx2v/models/input_encoders/hf/seko_audio/audio_adapter.py:23
↓ 2 callersMethodget_media_signatures
(self)
lightx2v/server/media/image.py:14
↓ 2 callersMethodget_media_signatures
Return the binary signatures of this media type and their corresponding file extensions.
lightx2v/server/media/base.py:14
↓ 2 callersMethodget_media_signatures
(self)
lightx2v/server/media/audio.py:14
↓ 2 callersFunctionget_nd_rotary_pos_embed
This is a n-d version of precompute_freqs_cis, which is a RoPE for tokens with n-d structure. Args: rope_dim_list (list of int): Dim
lightx2v/models/networks/wan/infer/matrix_game2/posemb_layers.py:182
↓ 2 callersFunctionget_nd_rotary_pos_embed
This is a n-d version of precompute_freqs_cis, which is a RoPE for tokens with n-d structure. Args: rope_dim_list (list of int): Dim
lightx2v/models/networks/hunyuan_video/infer/posemb_layers.py:171
↓ 2 callersFunctionget_obj_from_str
(string, reload=False)
lightx2v/models/networks/hunyuan3d/utils/misc.py:30
↓ 2 callersFunctionget_optimal_patched_size_with_sp
(patched_h, patched_w, sp_size)
lightx2v/utils/utils.py:621
↓ 2 callersMethodget_output_extension
(self)
lightx2v/server/services/generation/base.py:22
↓ 2 callersFunctionget_pairs
Return set of symbol pairs in a word. Word is represented as tuple of symbols (symbols being variable-length strings).
lightx2v/models/networks/bagel/tokenization_qwen2.py:54
↓ 2 callersFunctionget_pool_sim_triton_simmean
(x, block_size, simthreshd1)
lightx2v/common/ops/attn/utils/sparge_util.py:151
↓ 2 callersFunctionget_qwen3_encoder_choices
获取 Qwen3 编码器可选项 注意:Qwen3 编码器只检测整个仓库目录(Qwen3-4B-GPTQ-Int4)是否存在,不存在可以下载
app/utils/model_choices.py:634
↓ 2 callersFunctionget_rank_and_world_size
()
lightx2v/utils/utils.py:769
↓ 2 callersFunctionget_reciprocal
(x)
lightx2v_kernel/test/nvfp4_nvfp4/fake_quant.py:24
↓ 2 callersFunctionget_retarget_pose
(tpl_pose_meta0, refer_pose_meta, tpl_pose_metas, tql_edit_pose_meta0, refer_edit_pose_meta)
tools/preprocess/retarget_pose.py:765
↓ 2 callersFunctionget_rope_index_fix_point
( spatial_merge_size, image_token_id, video_token_id, vision_start_token_id, input_ids: Op
lightx2v/models/networks/hidream_o1_image/utils.py:291
↓ 2 callersFunctionget_sampling_sigmas
(sampling_steps, shift)
lightx2v_train/lightx2v_train/model_zoo/native/wan/utils/fm_solvers.py:20
↓ 2 callersFunctionget_scale_min
(scales)
lightx2v/utils/ggml_tensor.py:444
↓ 2 callersFunctionget_sequence_parallel_global_ranks
Get all global ranks of the sequence parallel process group that the caller rank belongs to.
lightx2v/models/video_encoders/hf/seedvr/common/distributed/advanced.py:166
↓ 2 callersMethodget_service_status
(self)
lightx2v/server/task_manager.py:254
↓ 2 callersFunctionget_source_tensor
Get the source tensor from either weight dictionary or lazy loading safetensors file. Args: source_name: Name of the target tensor to get
lightx2v/common/ops/utils.py:35
↓ 2 callersFunctionget_t5_model_choices
获取 T5 模型可选项
app/utils/model_choices.py:162
↓ 2 callersMethodget_task
(self, task_id: str)
lightx2v/server/task_manager.py:169
↓ 2 callersMethodget_task
(self)
lightx2v_ros/src/visualization/visualization/image_web_viewer_node/main.py:46
↓ 2 callersMethodget_task_result_png
(self, task_id: str)
lightx2v/server/task_manager.py:173
↓ 2 callersMethodget_taylor_step_diff
(self)
lightx2v/common/transformer_infer/transformer_infer.py:25
↓ 2 callersMethodget_tensor_qparams
(self, tensor)
lightx2v/utils/quant_utils.py:91
↓ 2 callersMethodget_time_embedding
(self, timestep, seq_len)
lightx2v/models/networks/motus/model.py:109
↓ 2 callersFunctionget_timestep_embedding
( timesteps: torch.Tensor, embedding_dim: int = 256, flip_sin_to_cos: bool = True, downscale_f
lightx2v/models/schedulers/flux2/scheduler.py:28
↓ 2 callersMethodget_txt_cache
Get text KV cache.
lightx2v/models/networks/worldplay/infer/ar_transformer_infer.py:63
↓ 2 callersFunctionget_vae_choices
获取 VAE 编码器可选项,只返回 Wan2.1_VAE.safetensors
app/utils/model_choices.py:224
↓ 2 callersFunctionget_vae_parallel
(config: Dict[str, Any])
lightx2v/disagg/utils.py:251
↓ 2 callersMethodget_vision_cache
Get vision KV cache.
lightx2v/models/networks/worldplay/infer/ar_transformer_infer.py:76
↓ 2 callersMethodget_weight
(self, tensor, dtype)
lightx2v/common/ops/mm/mm_weight.py:2108
↓ 2 callersFunctionget_z_image_turbo_dit_choices
获取 Z-Image-Turbo Diffusion 模型可选项 注意:Diffusion 模型只从 model_path/Z-Image-Turbo 目录检索,如果不存在可以从 HF/MS 下载到子目录
app/utils/model_choices.py:507
↓ 2 callersFunctionget_z_image_turbo_scheduler_choices
获取 Z-Image-Turbo Scheduler 可选项 注意:Scheduler 只从 model_path/Z-Image-Turbo/scheduler 目录检索,如果不存在可以从 HF/MS 下载到子目录
app/utils/model_choices.py:598
↓ 2 callersFunctionget_z_image_turbo_vae_choices
获取 Z-Image-Turbo VAE 可选项 注意:VAE 只从 model_path/Z-Image-Turbo/vae 目录检索,如果不存在可以从 HF/MS 下载到子目录
app/utils/model_choices.py:562
↓ 2 callersMethodhas_qp_error
(self)
lightx2v/disagg/rdma_client.py:76
↓ 2 callersMethodhas_voice
(self, duration)
lightx2v/utils/va_reader_omni.py:257
↓ 2 callersFunctionimage_file_to_base64
(image_path: str)
scripts/server/post_sync_i2i_base64.py:8
↓ 2 callersFunctionimage_msg_to_rgb
(msg)
lightx2v_ros/src/inference/inference/fastwam_node/main.py:171
↓ 2 callersMethodindex_for_timestep
(self, timestep, schedule_timesteps=None)
lightx2v/models/runners/wan/wan_matrix_game3_runner.py:839
↓ 2 callersMethodindex_for_timestep
(self, timestep, schedule_timesteps=None)
lightx2v/models/schedulers/hunyuan3d/flow_match_euler.py:221
↓ 2 callersMethodindex_for_timestep
(self, timestep, schedule_timesteps=None)
lightx2v/models/schedulers/hidream_o1_image/fm_solvers_unipc.py:584
↓ 2 callersMethodindex_for_timestep
(self, timestep, schedule_timesteps=None)
lightx2v/models/schedulers/wan/s2v/fm_solvers_unipc.py:588
↓ 2 callersMethodindex_for_timestep
(self, timestep, schedule_timesteps=None)
lightx2v_train/lightx2v_train/model_zoo/native/wan/utils/fm_solvers.py:611
↓ 2 callersMethodindex_for_timestep
(self, timestep, schedule_timesteps=None)
lightx2v_train/lightx2v_train/model_zoo/native/wan/utils/fm_solvers_unipc.py:584
↓ 2 callersMethodinfer
(self, inputs)
lightx2v/models/networks/wan/dreamzero_model.py:193
↓ 2 callersMethodinfer
(self, inputs)
lightx2v/models/networks/wan/lingbot_va_model.py:162
↓ 2 callersMethodinfer
(self, inputs)
lightx2v/models/networks/neopp/model.py:49
↓ 2 callersMethodinfer
(self, texts)
lightx2v/models/input_encoders/hf/hunyuan15/qwen25/model.py:590
← previousnext →1,701–1,800 of 8,429, ranked by callers