MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

↓ 3 callersMethodclear
(self)
lightx2v/models/schedulers/scheduler.py:7
↓ 3 callersMethodclear_cache
(self)
lightx2v/models/video_encoders/hf/cosmos3/vae.py:463
↓ 3 callersMethodclear_kvcache
(self)
lightx2v/models/runners/neopp/neopp_runner.py:261
↓ 3 callersFunctioncombine_data
(data, num_frames=57, keyboard_dim=6, mouse=True)
lightx2v/models/input_encoders/hf/wan/matrix_game2/conditions.py:6
↓ 3 callersMethodconfigure_model
(self, model_config)
lightx2v/models/networks/hidream_o1_image/weights/pre_weights.py:22
↓ 3 callersMethodcopy_from
(self, source: Union[torch.Tensor, "GGMLTensor"], transpose: bool = False, non_blocking: bool = False)
lightx2v/utils/ggml_tensor.py:98
↓ 3 callersMethodcreate_coordinate_grid
Create a 3D coordinate grid.
lightx2v/models/schedulers/z_image/scheduler.py:426
↓ 3 callersFunctioncreate_image_mesh
Create a mesh from image data using pixel coordinates as vertices and grid connections as faces. Args: *image_data (np.ndarray): Ima
lightx2v/models/networks/worldmirror/utils/visual_util.py:119
↓ 3 callersFunctioncreate_window
(window_size, channel=1)
lightx2v/models/vfi/rife/model/pytorch_msssim/__init__.py:15
↓ 3 callersFunctioncutlass_scaled_mxfp4_mm
(mat_a, mat_b, scales_a, scales_b, alpha, bias=None)
lightx2v_kernel/python/lightx2v_kernel/gemm.py:143
↓ 3 callersMethoddecode
(self, z, scale, offload_cache=False)
lightx2v/models/video_encoders/hf/wan/vae_2_2.py:936
↓ 3 callersMethoddecode
( self, z: torch.Tensor, return_dict: bool = True, tiled: bool = False, tile_size: Tuple[int, int] = (
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:1136
↓ 3 callersMethoddecode_latent
(self, latent)
lightx2v_train/lightx2v_train/model_zoo/base.py:172
↓ 3 callersMethoddecode_packed_x0_to_images
(self, packed_x0, latent_ids)
lightx2v_train/lightx2v_train/model_zoo/flux2_klein.py:141
↓ 3 callersMethoddecode_video
(self, vid_enc)
lightx2v/models/video_encoders/hf/wan/vae_tiny.py:79
↓ 3 callersFunctiondefault_hy3dpaint_root
()
tools/postprocess/paint_pipeline.py:21
↓ 3 callersMethoddenoiser_module
(self)
lightx2v_train/lightx2v_train/model_zoo/wan_t2v.py:124
↓ 3 callersFunctiondepth_to_world_coords_points
Convert a batch of depth maps to world coordinates. Args: depth_map (torch.Tensor): (B, H, W) Depth map extrinsic (torch.Ten
lightx2v/models/networks/worldmirror/models/utils/geometry.py:53
↓ 3 callersFunctiondraw_aapose_by_meta_new
(img, meta: AAPoseMeta, threshold=0.5, stickwidth_type="v2", draw_hand=True, draw_head=True)
tools/preprocess/human_visualization.py:219
↓ 3 callersMethodenable_gradient_checkpointing
(self)
lightx2v_train/lightx2v_train/model_zoo/base.py:115
↓ 3 callersMethodencode
(self, x, scale, return_mu=False)
lightx2v/models/video_encoders/hf/wan/vae_2_2.py:905
↓ 3 callersMethodencode
(self, x: torch.FloatTensor, return_dict: bool = True, tiled: bool = False, tile_size: Tuple[int, int] = (512,
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:1122
↓ 3 callersMethodencode
(self, x: torch.FloatTensor, return_dict: bool = True, tiled: bool = False, tile_size: Tuple[int, int] = (512,
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:1519
↓ 3 callersMethodencode_prompt_text
(self, prompt)
lightx2v_train/lightx2v_train/model_zoo/flux2_klein.py:84
↓ 3 callersMethodencode_vae_image
(self, image)
lightx2v/models/video_encoders/hf/flux2/vae.py:44
↓ 3 callersMethodend_layer
CPU cache is updated directly by ``store_kv``; prefetch the next layer.
lightx2v/common/kvcache/rolling.py:272
↓ 3 callersFunctionflatten
( hid: List[torch.FloatTensor], # List of (*** c) )
lightx2v/models/networks/seedvr/utils/na.py:8
↓ 3 callersFunctionfloor_by_factor
Returns the largest integer less than or equal to 'number' that is divisible by 'factor'.
lightx2v_train/lightx2v_train/model_zoo/native/wan/utils/qwen_vl_utils.py:49
↓ 3 callersMethodforward
(self, t: Tensor, seq_len: int | None = None, offset=0)
lightx2v/models/networks/seedvr/utils/rotary_embedding_torch.py:302
↓ 3 callersMethodforward
( self, input: Union[Tensor, List[Tensor]], memory_state: MemoryState = MemoryState.UN
lightx2v/models/video_encoders/hf/seedvr/causal_inflation_lib.py:150
↓ 3 callersMethodforward_audio_proj
(self, audio_feat, latent_frame)
lightx2v/models/input_encoders/hf/seko_audio/audio_adapter.py:420
↓ 3 callersMethodfrom_config
(cls, config: dict)
lightx2v/models/input_encoders/hf/ltx2/utils.py:143
↓ 3 callersMethodfrom_dict
(cls, config)
lightx2v/models/networks/bagel/vision.py:29
↓ 3 callersFunctionfsdp2_enabled
(config)
lightx2v_train/lightx2v_train/runtime/fsdp.py:9
↓ 3 callersFunctionfused_rmsnorm_modulate
融合的 RMSNorm + Modulation 操作 计算: (RMSNorm(x) * weight + bias) * (1 + scale) + shift Args: x: 输入张量 [B, L, C] 或 [M, N] sca
lightx2v/models/networks/ltx2/infer/triton_ops.py:93
↓ 3 callersMethodgap_budget_us
(self, gap_per_event_us: float)
tools/profile/analyze_torch_trace_gap.py:74
↓ 3 callersMethodgenerate_crop_size_list
(self, base_size=256, patch_size=16, max_ratio=4.0)
lightx2v/models/runners/hunyuan_video/hunyuan_video_15_runner.py:242
↓ 3 callersFunctiongenerate_dense_grid_points
( bbox_min: np.ndarray, bbox_max: np.ndarray, octree_resolution: int, indexing: str = "ij", )
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/volume_decoders.py:126
↓ 3 callersFunctiongenerate_nbhd_mask
a : block num per frame block_num : block num per col/row attnmap_frame_num : total frame num
lightx2v/common/ops/attn/nbhd_attn.py:19
↓ 3 callersFunctiongenerate_task_id
Generate a random task ID in the format XXXX-XXXX-XXXX-XXXX-XXXX. Features: 1. Does not modify the global random state. 2. Each X is
lightx2v/utils/generate_task_id.py:7
↓ 3 callersFunctionget_3d_mrope_ids_vae_tokens
( grid_t: int, grid_h: int, grid_w: int, temporal_offset: int | float, reset_spatial_indic
lightx2v/models/networks/cosmos3/infer/utils.py:149
↓ 3 callersMethodget_audio_range
Calculate audio range for given frame range
lightx2v/models/runners/wan/wan_audio_runner.py:214
↓ 3 callersFunctionget_available_urls
Check which URLs are available and return the list
scripts/server/post_multi_servers.py:79
↓ 3 callersFunctionget_bagel_latent_downsample
(config)
lightx2v/models/runners/bagel/t2i_utils.py:18
↓ 3 callersFunctionget_cuda_arch
(device_index)
lightx2v/common/ops/attn/utils/sla_util.py:65
↓ 3 callersFunctionget_default_config
()
lightx2v/utils/set_config.py:15
↓ 3 callersFunctionget_device
Get current rank device.
lightx2v/models/video_encoders/hf/seedvr/common/distributed/basic.py:34
↓ 3 callersFunctionget_frame_indices
(frame_num, video_fps, clip_length, train_fps)
tools/preprocess/utils.py:159
↓ 3 callersFunctionget_global_rank
Get the global rank, the global index of the GPU.
lightx2v/models/video_encoders/hf/seedvr/common/distributed/basic.py:13
↓ 3 callersFunctionget_initial_download_btn_visibility
(choices, model_path_val, model_type_val, base_category)
app/utils/model_components.py:381
↓ 3 callersFunctionget_key_mapping_rules
(direction, model_type)
tools/convert/converter.py:36
↓ 3 callersMethodget_latent_shape_with_lat_hw
(self, latent_h, latent_w)
lightx2v/models/runners/wan/wan_runner.py:611
↓ 3 callersMethodget_local_end
(self, layer_id: int)
lightx2v/common/kvcache/quant.py:821
↓ 3 callersFunctionget_logger
Get a logger.
lightx2v/models/video_encoders/hf/seedvr/common/logger.py:23
↓ 3 callersFunctionget_model_category
(model_type_val, base_category)
app/utils/model_components.py:560
↓ 3 callersMethodget_output_path
(self, save_result_path: str)
lightx2v/server/services/file_service.py:204
↓ 3 callersMethodget_pending_counts
(self)
lightx2v/disagg/services/data_mgr_sidecar.py:929
↓ 3 callersFunctionget_pixel_coords
Map latent-space [start, end) coordinates to pixel-space equivalents. Args: latent_coords: Tensor of latent bounds shaped [3, num_pat
lightx2v/models/schedulers/ltx2/scheduler.py:36
↓ 3 callersFunctionget_qkv_subset
x : [seq_len, num_heads, head_dim] return: [batch_size, num_heads, seq_len, head_dim] batch_size = 1, num_heads = 1, seq_len = token_end
lightx2v/utils/print_atten_score.py:46
↓ 3 callersFunctionget_qwen25vl_encoder_choices
获取 Qwen25-VL 编码器可选项
app/utils/model_choices.py:357
↓ 3 callersFunctionget_qwen_image_2512_dit_choices
获取 Qwen Image 2512 Diffusion 模型可选项 注意:Diffusion 模型只从 model_path/Qwen-Image-2512 目录检索,如果不存在可以从 HF/MS 下载到子目录 只显示包含 "qwen_image_2512" 字段的模型
app/utils/model_choices.py:373
↓ 3 callersFunctionget_qwen_image_2512_scheduler_choices
获取 Qwen Image 2512 Scheduler 可选项 注意:Scheduler 只从 model_path/Qwen-Image-2512/scheduler 目录检索,如果不存在可以从 HF/MS 下载到子目录
app/utils/model_choices.py:471
↓ 3 callersFunctionget_qwen_image_2512_vae_choices
获取 Qwen Image 2512 VAE 可选项 注意:VAE 只从 model_path/Qwen-Image-2512/vae 目录检索,如果不存在可以从 HF/MS 下载到子目录
app/utils/model_choices.py:435
↓ 3 callersFunctionget_qwen_image_dit_choices
获取 Qwen Image Edit Diffusion 模型可选项 注意:Diffusion 模型只从 model_path/Qwen-Image-Edit-2511 目录检索,如果不存在可以从 HF/MS 下载到子目录
app/utils/model_choices.py:230
↓ 3 callersFunctionget_qwen_image_scheduler_choices
获取 Qwen Image Edit Scheduler 可选项 注意:Scheduler 只从 model_path/Qwen-Image-Edit-2511/scheduler 目录检索,如果不存在可以从 HF/MS 下载到子目录
app/utils/model_choices.py:321
↓ 3 callersFunctionget_qwen_image_vae_choices
获取 Qwen Image Edit VAE 可选项 注意:VAE 只从 model_path/Qwen-Image-Edit-2511/vae 目录检索,如果不存在可以从 HF/MS 下载到子目录
app/utils/model_choices.py:285
↓ 3 callersMethodget_scale
(self, t: Tensor, seq_len: int | None = None, offset=0)
lightx2v/models/networks/seedvr/utils/rotary_embedding_torch.py:242
↓ 3 callersMethodget_self_attn_kv_cache
(self, cache_name=None)
lightx2v/common/kvcache/manager.py:175
↓ 3 callersMethodget_seq_pos
(self, seq_len, device=None, dtype=None, offset=0)
lightx2v/models/networks/seedvr/utils/rotary_embedding_torch.py:175
↓ 3 callersFunctionhalf
(x)
lightx2v_train/lightx2v_train/model_zoo/native/wan/distributed/xdit_context_parallel.py:124
↓ 3 callersFunctionhomogenize_points
Append a '1' along the final dimension of the tensor (i.e. convert xyz->xyz1)
lightx2v/models/networks/worldmirror/models/utils/frustum.py:86
↓ 3 callersFunctionhyperparameter_check
(hyper, H, device)
lightx2v/common/ops/attn/utils/sparge_util.py:35
↓ 3 callersMethodinfer
(self, inputs: dict)
lightx2v/models/networks/hunyuan3d/model.py:153
↓ 3 callersMethodinfer
(self, inputs)
lightx2v/models/networks/hidream_o1_image/model.py:106
↓ 3 callersMethodinfer
(self, inputs)
lightx2v/models/networks/bagel/model.py:734
↓ 3 callersMethodinfer
(self, inputs)
lightx2v/models/networks/qwen_image/model.py:92
↓ 3 callersMethodinfer
(self, inputs)
lightx2v/models/networks/z_image/model.py:102
↓ 3 callersMethodinfer
Run inference with action and camera pose conditioning. Args: inputs: Dict containing: - text_encoder_ou
lightx2v/models/networks/worldplay/bi_model.py:149
↓ 3 callersMethodinfer
(self, inputs)
lightx2v/models/networks/seedvr/model.py:170
↓ 3 callersMethodinfer
(self, inputs)
lightx2v/models/networks/hunyuan_video/model.py:89
↓ 3 callersMethodinfer
(self, inputs)
lightx2v/models/networks/ernie_image/model.py:67
↓ 3 callersMethodinfer
(self, inputs)
lightx2v/models/networks/ltx2/model.py:662
↓ 3 callersMethodinfer
(self, inputs)
lightx2v/models/networks/cosmos3/model.py:152
↓ 3 callersMethodinfer
(self, inputs)
lightx2v/models/networks/longcat_image/model.py:111
↓ 3 callersMethodinfer
(self, inputs)
lightx2v/models/networks/flux2/model.py:248
↓ 3 callersMethodinfer
(self, inputs)
lightx2v/models/networks/motus/model.py:624
↓ 3 callersMethodinfer
(self)
lightx2v_train/lightx2v_train/infer/base.py:44
↓ 3 callersMethodinfer_cross_attn
( self, cross_attn_phase, seq_txt, img_query, img_key, img_val
lightx2v/models/networks/qwen_image/infer/transformer_infer.py:168
↓ 3 callersMethodinfer_cross_attn_with_kvcache
(self, phase, x, context, y_out, gate_msa)
lightx2v/models/networks/wan/infer/self_forcing/transformer_infer.py:340
↓ 3 callersMethodinfer_ffn
(self, phase, x, attn_out, c_shift_msa, c_scale_msa, c_gate_msa=None)
lightx2v/models/networks/wan/infer/transformer_infer.py:337
↓ 3 callersMethodinfer_ffn
(self, phase, x, attn_out, c_shift_msa, c_scale_msa)
lightx2v/models/networks/wan/infer/lingbot_va/transformer_infer.py:79
↓ 3 callersMethodinfer_ffn
Apply second modulation and FFN to both streams (compute_phases[4])
lightx2v/models/networks/qwen_image/infer/transformer_infer.py:228
↓ 3 callersMethodinfer_final_layer
(self, weights, infer_module_out)
lightx2v/models/networks/hunyuan_video/infer/transformer_infer.py:139
↓ 3 callersMethodinfer_img_qkv
( self, img_attn_phase, hidden_states, temb_img_silu, img_freqs,
lightx2v/models/networks/qwen_image/infer/transformer_infer.py:110
↓ 3 callersMethodinfer_main_blocks
(self, blocks, pre_infer_out, kv_cache)
lightx2v/models/networks/wan/infer/dreamzero/transformer_infer.py:371
↓ 3 callersMethodinfer_txt_qkv
(self, txt_attn_phase, encoder_hidden_states, temb_txt_silu, txt_freqs)
lightx2v/models/networks/qwen_image/infer/transformer_infer.py:141
↓ 3 callersFunctioninit_input_info_from_args
(task, args, **overrides)
lightx2v/utils/input_info.py:582
↓ 3 callersMethodinit_run
(self)
lightx2v/models/runners/wan/wan_sf_runner.py:70
↓ 3 callersMethodinitialize
Initialize the mooncake instance.
lightx2v/disagg/mooncake.py:172
↓ 3 callersFunctionis_ddp_module
(module)
lightx2v_train/lightx2v_train/runtime/ddp.py:64
← previousnext →901–1,000 of 8,429, ranked by callers