MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

Functiondequantize_blocks_Q5_1
(blocks, block_size, type_size, dtype=None)
lightx2v/utils/ggml_tensor.py:381
Functiondequantize_blocks_Q5_K
(blocks, block_size, type_size, dtype=None)
lightx2v/utils/ggml_tensor.py:481
Functiondequantize_blocks_Q6_K
(blocks, block_size, type_size, dtype=None)
lightx2v/utils/ggml_tensor.py:457
Functiondequantize_blocks_Q8_0
(blocks, block_size, type_size, dtype=None)
lightx2v/utils/ggml_tensor.py:374
Functiondequantize_tensor
(tensor, dtype=None)
lightx2v/utils/ggml_tensor.py:601
Methoddescriptor
(self)
lightx2v/disagg/rdma_buffer.py:120
Methoddetect_extension
(self, data: bytes)
lightx2v/server/media/image.py:51
Methoddetect_extension
(self, data: bytes)
lightx2v/server/media/audio.py:55
Functiondict_like
(cls)
lightx2v/pipeline.py:45
Functiondiffusers_vae_to_comfy
Convert Diffusers VAE decoder output to ComfyUI Image format Image processor for VAE, return tensor in range [0, 1] when do_denormalize is Tr
lightx2v/utils/utils.py:205
Methoddisable_temporal_tiling
(self)
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:588
Functiondisabled_train
Overwrite model.train with this function to make sure train/eval mode does not change anymore.
lightx2v/models/networks/hunyuan3d/utils/misc.py:64
Methoddisagg_decoder_prepare_dispatch
After phase2 consume: init Mooncake P2 receiver from transformer address.
lightx2v/disagg/disagg_mixin.py:582
Methoddisagg_transformer_prepare_dispatch
After phase1 consume: init Mooncake P1/P2 and publish phase2 meta for decoder.
lightx2v/disagg/disagg_mixin.py:475
Methoddisagg_try_consume_phase1
Non-blocking consume for transformer worker loop.
lightx2v/disagg/disagg_mixin.py:437
Methoddisagg_try_consume_phase2
Non-blocking consume for decoder worker loop.
lightx2v/disagg/disagg_mixin.py:456
Methoddmd_latent_shape
(self, batch_size, height, width)
lightx2v_train/lightx2v_train/model_zoo/longcat_image.py:151
Methoddmd_latent_shape
(self, batch_size, height, width)
lightx2v_train/lightx2v_train/model_zoo/flux2_dev.py:149
Methoddmd_latent_shape
(self, batch_size, height, width)
lightx2v_train/lightx2v_train/model_zoo/qwen_image.py:135
Methoddo_GET
(self)
lightx2v_ros/src/visualization/visualization/image_web_viewer_node/main.py:126
Methoddo_POST
(self)
lightx2v/disagg/services/controller.py:286
Functiondownload_clip_model
(model_path_val, model_name, download_source_val, progress=gr.Progress())
app/utils/model_handlers.py:661
Functiondownload_clip_tokenizer
(model_path_val, download_source_val, progress=gr.Progress())
app/utils/model_handlers.py:664
Functiondownload_dit_model
(model_path_val, model_name, model_type_val, task_type_val, download_source_val, progress=gr.Progress())
app/utils/model_handlers.py:643
Functiondownload_file
(file_path: str)
lightx2v/server/api/files.py:58
Functiondownload_high_noise_model
(model_path_val, model_name, task_type_val, download_source_val, progress=gr.Progress())
app/utils/model_handlers.py:676
Functiondownload_low_noise_model
(model_path_val, model_name, task_type_val, download_source_val, progress=gr.Progress())
app/utils/model_handlers.py:688
Functiondownload_qwen25vl_encoder
(model_path_val, model_name, download_source_val, progress=gr.Progress())
app/utils/model_components.py:556
Functiondownload_qwen25vl_encoder
(model_path_val, model_name, download_source_val, progress=gr.Progress())
app/utils/model_handlers.py:711
Functiondownload_qwen3_encoder
(model_path_val, model_name, download_source_val, progress=gr.Progress())
app/utils/model_components.py:789
Functiondownload_qwen_image_dit
(model_path_val, model_name, model_type_val, download_source_val, progress=gr.Progress())
app/utils/model_components.py:522
Functiondownload_qwen_image_dit
(model_path_val, model_name, download_source_val, progress=gr.Progress())
app/utils/model_handlers.py:700
Functiondownload_qwen_image_scheduler
(model_path_val, model_name, download_source_val, progress=gr.Progress())
app/utils/model_components.py:550
Functiondownload_qwen_image_scheduler
(model_path_val, model_name, download_source_val, progress=gr.Progress())
app/utils/model_handlers.py:706
Functiondownload_qwen_image_vae
(model_path_val, model_name, download_source_val, progress=gr.Progress())
app/utils/model_components.py:544
Functiondownload_qwen_image_vae
(model_path_val, model_name, download_source_val, progress=gr.Progress())
app/utils/model_handlers.py:703
Functiondownload_t5_model
(model_path_val, model_name, download_source_val, progress=gr.Progress())
app/utils/model_handlers.py:655
Functiondownload_t5_tokenizer
(model_path_val, download_source_val, progress=gr.Progress())
app/utils/model_handlers.py:658
Functiondownload_vae_decoder
(model_path_val, model_name, download_source_val, progress=gr.Progress())
app/utils/model_handlers.py:673
Functiondownload_vae_encoder
(model_path_val, model_name, download_source_val, progress=gr.Progress())
app/utils/model_handlers.py:670
Functiondownload_z_image_turbo_dit
(model_path_val, model_name, download_source_val, progress=gr.Progress())
app/utils/model_components.py:780
Functiondownload_z_image_turbo_scheduler
(model_path_val, model_name, download_source_val, progress=gr.Progress())
app/utils/model_components.py:786
Functiondownload_z_image_turbo_vae
(model_path_val, model_name, download_source_val, progress=gr.Progress())
app/utils/model_components.py:783
Functiondraw_aaface_by_meta
(img, meta: AAPoseMeta, threshold=0.5, stick_width_norm=200, draw_hand=False, draw_head=True)
tools/preprocess/human_visualization.py:235
Functiondraw_aanose_by_meta
(img, meta: AAPoseMeta, threshold=0.5, stick_width_norm=100, draw_hand=False)
tools/preprocess/human_visualization.py:243
Methoddraw_aapose
(self, img, threshold=0.5, stick_width_norm=200, draw_hand=True, draw_head=True)
tools/preprocess/pose2d_utils.py:221
Functiondraw_bbox
(img, bbox, color=(255, 0, 0))
tools/preprocess/human_visualization.py:888
Functiondraw_face_kp
Args: img: [H, W, 3] kps: [70, 2]
tools/preprocess/human_visualization.py:1114
Functiondraw_hand_by_meta
(img, meta: AAPoseMeta, threshold=0.5, stick_width_norm=200)
tools/preprocess/human_visualization.py:227
Functiondraw_kp2ds
(img, kp2ds, threshold=0, color=(255, 0, 0), skeleton=None, reverse=False)
tools/preprocess/human_visualization.py:895
Functiondraw_mask
(img, mask, background=0, return_rgba=False)
tools/preprocess/human_visualization.py:989
Functiondraw_pcd
(pcd_list, save_path=None)
tools/preprocess/human_visualization.py:999
Functiondraw_skeleten
(meta)
tools/preprocess/human_visualization.py:1028
Functiondraw_skeleten_with_pncc
Args: pncc: [H,W,3] meta: required keys: keypoints_body: [N, 3] keypoints_left_hand, keypoints_right_hand Return: np.
tools/preprocess/human_visualization.py:1052
Methoddtype
(self)
lightx2v/common/kvcache/base.py:101
Methoddtype
(self)
lightx2v/models/networks/hunyuan3d/model.py:106
Methoddtype
(self)
lightx2v/models/input_encoders/hf/hunyuan15/qwen25/model.py:298
Methodduration
(self)
tools/profile/analyze_torch_trace_gap.py:46
Functiondynamic_block_sparse_fwd_torch
Computes dynamic block sparse attention using pure PyTorch. Args: q (torch.Tensor): Query tensor, shape [B, H, S, D]. k (tor
lightx2v/common/ops/attn/svg2_attn_utils.py:884
Functiondynamic_block_sparse_fwd_triton
Launcher for the Triton dynamic block sparse attention kernel. Args: q (torch.Tensor): Query tensor, shape [B, H, S, D]. k (
lightx2v/common/ops/attn/svg2_attn_utils.py:1186
Methodempty_aligned
( cls, shape: Tuple[int, ...], orig_shape: Tuple[int, ...] = None, dtype: torch.dtype = torch.float32,
lightx2v/utils/ggml_tensor.py:93
Methodenable_bf16
(self)
lightx2v/models/networks/worldmirror/model.py:356
Methodenable_cache
( self, cache_method="Tea", coefficients=[], teacache_thresh=0.15, use
lightx2v/pipeline.py:396
Methodenable_cam
(self)
lightx2v/models/networks/worldmirror/model.py:360
Methodenable_compile
( self, )
lightx2v/pipeline.py:365
Methodenable_flashvdm_decoder
( self, enabled: bool = True, adaptive_kv_selection=True, topk_mode="mean",
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/model.py:196
Methodenable_on_axis
(axis_idx: int, factor: int)
lightx2v/models/video_encoders/hf/ltx2/video_vae/video_vae.py:718
Methodenable_parallel
(self, cfg_p_size=1, seq_p_size=1, seq_p_attn_type="ulysses")
lightx2v/pipeline.py:420
Methodenc_app
(self, x)
lightx2v/models/input_encoders/hf/animate/motion_encoder.py:255
Methodencode
(self, x, device, tiled=False, tile_size=(34, 34), tile_stride=(18, 16))
lightx2v/models/runners/wan/wan_matrix_game2_runner.py:46
Methodencode
( self, extract_features, attention_mask=None, mask_time_indices=None,
lightx2v/models/input_encoders/hf/infinitetalk/wav2vec2.py:85
Methodencode
(self, x)
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:811
Methodencode
(self, surface, sample_posterior=True)
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/model.py:294
Methodencode
(self, videos, device, tiled=True, tile_size=(34, 34), tile_stride=(18, 16))
lightx2v/models/video_encoders/hf/wan/vae_sf.py:319
Methodencode
(self, video)
lightx2v/models/video_encoders/hf/wan/vae_2_2.py:1283
Methodencode
(self, images)
lightx2v/models/video_encoders/hf/bagel/vae.py:18
Methodencode
Encode video frames to latent space. Args: video_frames: Input video tensor [1, C, T, H, W] or [C, T, H, W] Retur
lightx2v/models/video_encoders/hf/ltx2/model.py:81
Methodencode
(self, audio_spectrogram: torch.Tensor)
lightx2v/models/video_encoders/hf/ltx2/model.py:180
Methodencode
(self, x: torch.Tensor)
lightx2v/models/video_encoders/hf/cosmos3/vae.py:547
Methodencode
(self, video: torch.Tensor)
lightx2v/models/video_encoders/hf/cosmos3/vae.py:617
Methodencode_condition
(self, sample)
lightx2v_train/lightx2v_train/model_zoo/flux2_klein.py:95
Methodencode_condition
(self, sample)
lightx2v_train/lightx2v_train/model_zoo/qwen_image_edit.py:111
Methodencode_condition
(self, sample)
lightx2v_train/lightx2v_train/model_zoo/longcat_image.py:90
Methodencode_condition
(self, sample)
lightx2v_train/lightx2v_train/model_zoo/flux2_dev.py:96
Methodencode_condition
(self, sample)
lightx2v_train/lightx2v_train/model_zoo/qwen_image.py:82
Methodencode_images
(self, images)
lightx2v/models/input_encoders/hf/hunyuan15/siglip/model.py:279
Methodencode_latents
Encode latents by first converting to images, then encoding. This is the main function that replaces sigclip_vision_encode.
lightx2v/models/input_encoders/hf/hunyuan15/siglip/model.py:199
Functionencode_text
Encode a list of prompts using the provided Gemma text encoder. Returns: List of tuples, each containing (v_context, a_context) tensors fo
lightx2v/models/input_encoders/hf/ltx2/gemma/encoders/base_encoder.py:223
Methodencode_thread
()
lightx2v/disagg/conn.py:359
Methodencode_to_latent
(self, sample)
lightx2v_train/lightx2v_train/model_zoo/flux2_klein.py:79
Methodencode_to_latent
(self, sample)
lightx2v_train/lightx2v_train/model_zoo/wan_t2v.py:217
Methodencode_to_latent
(self, sample)
lightx2v_train/lightx2v_train/model_zoo/qwen_image_edit.py:105
Methodencode_to_latent
(self, sample)
lightx2v_train/lightx2v_train/model_zoo/longcat_image.py:83
Methodencode_to_latent
(self, sample)
lightx2v_train/lightx2v_train/model_zoo/flux2_dev.py:91
Methodencode_to_latent
(self, sample)
lightx2v_train/lightx2v_train/model_zoo/qwen_image.py:73
Methodencode_vae_image
Encode image to latent space using TensorRT.
lightx2v/models/video_encoders/trt/qwen_image/vae_trt.py:319
Methodencode_vae_image
(self, image)
lightx2v/models/video_encoders/hf/qwen_image/vae.py:185
Methodencode_vae_image
(self, image)
lightx2v/models/video_encoders/hf/z_image/vae.py:100
Methodencode_video
(self, video)
lightx2v/models/input_encoders/hf/wan/matrix_game2/clip.py:307
Methodencode_video
(self, x, scale=[0, 1])
lightx2v/models/video_encoders/hf/wan/vae.py:827
← previousnext →6,601–6,700 of 8,429, ranked by callers