MCPcopy Create free account

hub / github.com/ModelTC/LightX2V / functions

Functions8,429 in github.com/ModelTC/LightX2V

Functioncompute_freqs
(c, grid_sizes, freqs)
lightx2v/models/networks/wan/infer/utils.py:127
Functioncompute_freqs_dist
(s, c, grid_sizes, freqs, seq_p_group)
lightx2v/models/networks/wan/infer/utils.py:143
Methodcompute_loss_on_sample
(self, sample)
lightx2v_train/lightx2v_train/trainers/tf.py:31
Functionconcat_idx
( vid_len: torch.LongTensor, # (b) txt_len: torch.LongTensor, # (b) )
lightx2v/models/networks/seedvr/utils/na.py:41
Methodconfig
(self)
lightx2v/shot_runner/shot_base.py:142
Methodconfig
(self)
lightx2v/models/networks/worldmirror/model.py:368
Methodconfigure_model
(self, text_config, device)
lightx2v/models/networks/hidream_o1_image/weights/transformer_weights.py:22
Functionconv_bn
(in_planes, out_planes, kernel_size=3, stride=1, padding=1, dilation=1)
lightx2v/models/vfi/rife/train_log/IFNet_HDv3.py:27
Functionconv_woact
(in_planes, out_planes, kernel_size=3, stride=1, padding=1, dilation=1)
lightx2v/models/vfi/rife/train_log/refine.py:23
Functionconvert_gs_to_ply
Export Gaussian splat data to PLY format. Args: means: Gaussian centers [N, 3] scales: Gaussian scales [N, 3] rotati
lightx2v/models/networks/worldmirror/utils/save_utils.py:202
Functionconvert_predictions_to_glb_scene
Converts model predictions to a 3D scene represented as a GLB file. Args: predictions (dict): Dictionary containing model prediction
lightx2v/models/networks/worldmirror/utils/visual_util.py:221
Functionconvert_to_ddp
(module: torch.nn.Module, **kwargs)
lightx2v/models/video_encoders/hf/seedvr/common/distributed/basic.py:65
Methodconvert_to_pred
(self, x_0: torch.Tensor, x_T: torch.Tensor, t: torch.Tensor, pred_type: PredictionType)
lightx2v/models/schedulers/seedvr/utils.py:80
Methodconvert_tokens_to_string
Converts a sequence of tokens (string) in a single string.
lightx2v/models/networks/bagel/tokenization_qwen2.py:248
Functioncreate_and_populate
(module: GemmaTextEncoder)
lightx2v/models/input_encoders/hf/ltx2/gemma/encoders/encoder_configurator.py:164
Functioncreate_ar_training_pipeline
Create AR training pipeline with optimizer and scheduler. Args: model: WorldPlay AR model config: Training configuration
lightx2v/training/worldplay_ar_pipeline.py:294
Methodcreate_custom_forward
(module)
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:769
Methodcreate_custom_forward
(module)
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:940
Methodcreate_custom_forward
(module)
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/causal_model.py:630
Methodcreate_custom_forward
(module)
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/model.py:625
Functioncreate_image_task
(message: ImageTaskRequest)
lightx2v/server/api/tasks/image.py:96
Functioncreate_image_task_form
( image_file: UploadFile = File(None), prompt: str = Form(default=""), save_result_path: str = For
lightx2v/server/api/tasks/image.py:186
Functioncreate_image_task_sync
( request: Request, message: ImageTaskRequest, timeout_seconds: int = 600, poll_interval_secon
lightx2v/server/api/tasks/image.py:124
Functioncreate_openai_image_edit
( request: Request, image: list[UploadFile] | None = File(default=None), prompt: str = Form(...),
lightx2v/server/api/openai_images.py:250
Functioncreate_openai_image_generation
(request: Request, body: OpenAIImageGenerationRequest)
lightx2v/server/api/openai_images.py:210
Functioncreate_sparse_mask
(document_lens, split_lens, attn_modes, device)
lightx2v/models/networks/bagel/data_utils.py:13
Functioncreate_video_task
(message: VideoTaskRequest)
lightx2v/server/api/tasks/video.py:21
Functioncreate_video_task_form
( image_file: UploadFile = File(...), last_frame_file: UploadFile = File(None), prompt: str = Form
lightx2v/server/api/tasks/video.py:43
Methodcritical
(self, message, *args, **kwargs)
lightx2v/disagg/services/base.py:39
Methodcross_attn_ffn
(x, context, context_lens, e, crossattn_cache=None)
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/causal_model.py:224
Methodcross_attn_ffn
(x, context, context_lens, e)
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/model.py:296
Methodcross_attn_ffn
(x, context)
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/model.py:363
Methodcuda_error
* @brief Constructs a `cuda_error` object with the given `message`. * * @param message The error char array used to construct `cuda_error` */
lightx2v_kernel/include/utils.h:208
Methodcurrent_step
(self)
lightx2v/common/kvcache/quant.py:679
Methodcurrent_step
(self)
lightx2v/common/kvcache/rolling.py:416
Methodcurrent_step
(self)
lightx2v/common/kvcache/manager.py:113
Functioncustom_forward
(*inputs)
lightx2v/models/video_encoders/hf/hunyuanvideo15/hunyuanvideo_15_vae.py:50
Methodcustom_forward
(*inputs)
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:770
Methodcustom_forward
(*inputs)
lightx2v/models/video_encoders/hf/seedvr/attn_video_vae.py:941
Methodcustom_forward
(*inputs, **kwargs)
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/causal_model.py:631
Methodcustom_forward
(*inputs, **kwargs)
lightx2v_train/lightx2v_train/model_zoo/native/wan/modules/model.py:626
Methoddecode
(self, latents, device, tiled=False, tile_size=(34, 34), tile_stride=(18, 16))
lightx2v/models/runners/wan/wan_matrix_game2_runner.py:54
Methoddecode
(self, latents, return_dict=None)
lightx2v/models/runners/vsr/utils/TCDecoder.py:295
Methoddecode
(self, latents)
lightx2v/models/audio_encoders/hf/cosmos3/sound_tokenizer.py:133
Methoddecode
(self)
lightx2v/models/schedulers/hidream_o1_image/scheduler.py:239
Methoddecode
Decode latents to image.
lightx2v/models/video_encoders/trt/qwen_image/vae_trt.py:356
Methoddecode
(self, latents, parallel=True, show_progress_bar=True, skip_trim=False)
lightx2v/models/video_encoders/hf/hunyuanvideo15/lighttae_hy15.py:15
Methoddecode
(self, latents)
lightx2v/models/video_encoders/hf/hunyuan3d/autoencoders/model.py:306
Methoddecode
(self, hidden_states, device, tiled=True, tile_size=(34, 34), tile_stride=(18, 16))
lightx2v/models/video_encoders/hf/wan/vae_sf.py:336
Methoddecode
(self, zs)
lightx2v/models/video_encoders/hf/wan/vae_2_2.py:1292
Methoddecode
(self, latents)
lightx2v/models/video_encoders/hf/wan/vae_tiny.py:63
Methoddecode
(self, latents)
lightx2v/models/video_encoders/hf/wan/vae_tiny.py:196
Methoddecode
(self, latents, decode_info)
lightx2v/models/video_encoders/hf/bagel/vae.py:21
Methoddecode
(self, latents, input_info)
lightx2v/models/video_encoders/hf/z_image/vae.py:63
Methoddecode
(self, latents, input_info=None)
lightx2v/models/video_encoders/hf/ernie_image/vae.py:44
Methoddecode
(self, latent: torch.Tensor)
lightx2v/models/video_encoders/hf/ltx2/model.py:188
Methoddecode
(self, z: torch.Tensor, return_dict: bool = True)
lightx2v/models/video_encoders/hf/cosmos3/vae.py:467
Methoddecode
(self, z: torch.Tensor, return_dict: bool = True)
lightx2v/models/video_encoders/hf/cosmos3/vae.py:552
Methoddecode
(self, latents, input_info)
lightx2v/models/video_encoders/hf/cosmos3/vae.py:635
Methoddecode
Decode latents to images. Args: latents: Latent tensor [B, (H//2)*(W//2), 64] - packed format input_info: Input infor
lightx2v/models/video_encoders/hf/longcat_image/vae.py:79
Methoddecode
(self, latents, input_info=None)
lightx2v/models/video_encoders/hf/flux2/vae.py:56
Methoddecode_latent
(self, latent)
lightx2v_train/lightx2v_train/model_zoo/wan_t2v.py:338
Methoddecode_latent
(self, latent)
lightx2v_train/lightx2v_train/model_zoo/qwen_image_edit.py:233
Methoddecode_latent
(self, latent)
lightx2v_train/lightx2v_train/model_zoo/longcat_image.py:159
Methoddecode_latent
(self, latent)
lightx2v_train/lightx2v_train/model_zoo/flux2_dev.py:157
Methoddecode_latent
(self, latent)
lightx2v_train/lightx2v_train/model_zoo/qwen_image.py:144
Methoddecode_segment_latents
(self, segment_idx: int, segment_latents: torch.Tensor)
lightx2v/models/runners/wan/wan_audio_runner.py:1321
Methoddecode_segment_latents
(self, segment_idx: int, segment_latents: torch.Tensor)
lightx2v/models/runners/wan/wan_sf_runner.py:100
Methoddecode_segment_latents
(self, segment_idx: int, segment_latents: torch.Tensor)
lightx2v/models/runners/wan/wan_lingbot_fast_runner.py:97
Methoddecode_stream
(self, z, scale)
lightx2v/models/video_encoders/hf/wan/vae.py:740
Methoddecode_thread
()
lightx2v/disagg/conn.py:485
Methoddecode_video
(self, x, scale=[0, 1])
lightx2v/models/video_encoders/hf/wan/vae.py:835
Methoddecode_video
(self, vid_enc)
lightx2v/models/video_encoders/hf/wan/vae_2_2.py:1305
Methoddecode_video
(self, vid_enc)
lightx2v/models/video_encoders/hf/wan/vae_tiny.py:212
Functiondecorator
(func)
lightx2v/utils/custom_compiler.py:9
Methoddefault_gemma_i2v_system_prompt
(self)
lightx2v/models/input_encoders/hf/ltx2/gemma/encoders/base_encoder.py:139
Methoddefault_gemma_t2v_system_prompt
(self)
lightx2v/models/input_encoders/hf/ltx2/gemma/encoders/base_encoder.py:143
Functiondefault_mapping_operation
( _intervals: DimensionIntervals, )
lightx2v/models/video_encoders/hf/ltx2/video_vae/tiling.py:150
Functiondefault_split_operation
(length: int)
lightx2v/models/video_encoders/hf/ltx2/video_vae/tiling.py:143
Methoddenoise
(self, denoiser_input, timestep_or_sigma, condition)
lightx2v_train/lightx2v_train/model_zoo/flux2_klein.py:109
Methoddenoise
(self, denoiser_input, timestep_or_sigma, condition)
lightx2v_train/lightx2v_train/model_zoo/wan_t2v.py:254
Methoddenoise
(self, denoiser_input, timestep_or_sigma, condition)
lightx2v_train/lightx2v_train/model_zoo/qwen_image_edit.py:200
Methoddenoise
(self, denoiser_input, timestep_or_sigma, condition)
lightx2v_train/lightx2v_train/model_zoo/longcat_image.py:125
Methoddenoise
(self, denoiser_input, timestep_or_sigma, condition)
lightx2v_train/lightx2v_train/model_zoo/flux2_dev.py:122
Methoddenoise
(self, denoiser_input, timestep_or_sigma, condition)
lightx2v_train/lightx2v_train/model_zoo/qwen_image.py:110
Methoddenoiser_module
(self)
lightx2v_train/lightx2v_train/model_zoo/flux2_klein.py:43
Methoddenoiser_module
(self)
lightx2v_train/lightx2v_train/model_zoo/qwen_image_edit.py:79
Methoddenoiser_module
(self)
lightx2v_train/lightx2v_train/model_zoo/longcat_image.py:59
Methoddenoiser_module
(self)
lightx2v_train/lightx2v_train/model_zoo/flux2_dev.py:55
Methoddenoiser_module
(self)
lightx2v_train/lightx2v_train/model_zoo/qwen_image.py:57
Functiondensity_calculation
Calculate the density of the dynamic map. Currently only batch size = 1 and head size = 1 are supported. Input: dynamic_map: [cfg, n
lightx2v/common/ops/attn/svg2_attn_utils.py:15
Functiondepth_aliasing
Compute the map that indicates the aliasing of x depth map. The aliasing is defined as the pixels which neither close to the maximum nor the mini
lightx2v/models/networks/worldmirror/utils/geometry.py:409
Functiondequant_naive_inplace
(input_tensor, input_tensor_scale, dtype)
lightx2v/utils/quant_utils.py:232
Functiondequantize_blocks_BF16
(blocks, block_size, type_size, dtype=None)
lightx2v/utils/ggml_tensor.py:370
Functiondequantize_blocks_Q2_K
(blocks, block_size, type_size, dtype=None)
lightx2v/utils/ggml_tensor.py:546
Functiondequantize_blocks_Q3_K
(blocks, block_size, type_size, dtype=None)
lightx2v/utils/ggml_tensor.py:521
Functiondequantize_blocks_Q4_0
(blocks, block_size, type_size, dtype=None)
lightx2v/utils/ggml_tensor.py:428
Functiondequantize_blocks_Q4_1
(blocks, block_size, type_size, dtype=None)
lightx2v/utils/ggml_tensor.py:415
Functiondequantize_blocks_Q4_K
(blocks, block_size, type_size, dtype=None)
lightx2v/utils/ggml_tensor.py:503
Functiondequantize_blocks_Q5_0
(blocks, block_size, type_size, dtype=None)
lightx2v/utils/ggml_tensor.py:398
← previousnext →6,501–6,600 of 8,429, ranked by callers