MCPcopy Create free account

hub / github.com/a1600012888/LaCT / functions

Functions581 in github.com/a1600012888/LaCT

Method__init__
(self, name_to_trainable_params: dict, ema_weight: float)
lact_ar_video/minVid/utils/ema_param_utils.py:3
Method__init__
(self, config: dict)
lact_ar_video/minVid/models/video_latent_flow_matching_ar.py:66
Method__init__
(self, config: dict)
lact_ar_video/minVid/models/video_latent_flow_matching_ar_validation.py:68
Method__init__
(self, config: dict)
lact_ar_video/minVid/models/video_latent_flow_matching.py:48
Method__init__
(self, config: Config)
lact_ar_video/minVid/models/wan/wan_text_vae_warpper.py:16
Method__init__
(self, config: Config)
lact_ar_video/minVid/models/wan/wan_warpper.py:25
Method__init__
(self, config)
lact_ar_video/minVid/models/wan/wan_warpper.py:162
Method__init__
(self, config)
lact_ar_video/minVid/models/wan/wan_warpper_versatile.py:27
Method__init__
(self, config: Config, device: torch.device = torch.device("cuda"))
lact_ar_video/minVid/models/wan/ar_wan_inference_pipeline.py:59
Method__init__
(self, num_inference_steps=100, num_train_timesteps=1000, shift=3.0, sigma_max=1.0, sigma_min=0.003/1.002, inv
lact_ar_video/minVid/models/wan/flow_match.py:11
Method__init__
(self, config: Config, device: torch.device = torch.device("cuda"))
lact_ar_video/minVid/models/wan/wan_inference_pipeline.py:47
Method__init__
r""" Initializes the image-to-video generation model components. Args: config (EasyDict): Object containi
lact_ar_video/minVid/models/wan/wan_base/image2video.py:31
Method__init__
r""" Initializes the Wan text-to-video generation model components. Args: config (EasyDict): Object conta
lact_ar_video/minVid/models/wan/wan_base/text2video.py:28
Method__init__
(self, name, seq_len=None, clean=None, **kwargs)
lact_ar_video/minVid/models/wan/wan_base/modules/tokenizers.py:39
Method__init__
(self, dim, num_heads, causal=False, attn_
lact_ar_video/minVid/models/wan/wan_base/modules/clip.py:55
Method__init__
(self, dim, mlp_ratio, num_heads, post_nor
lact_ar_video/minVid/models/wan/wan_base/modules/clip.py:114
Method__init__
(self, dim, mlp_ratio, num_heads, activati
lact_ar_video/minVid/models/wan/wan_base/modules/clip.py:158
Method__init__
(self, image_size=224, patch_size=16, dim=768,
lact_ar_video/minVid/models/wan/wan_base/modules/clip.py:211
Method__init__
(self, **kwargs)
lact_ar_video/minVid/models/wan/wan_base/modules/clip.py:305
Method__init__
(self, embed_dim=1024, image_size=224, patch_size=14,
lact_ar_video/minVid/models/wan/wan_base/modules/clip.py:330
Method__init__
(self, dtype, device, checkpoint_path, tokenizer_path)
lact_ar_video/minVid/models/wan/wan_base/modules/clip.py:503
Method__init__
(self, cross_attn_type, dim, ffn_dim, num_
lact_ar_video/minVid/models/wan/wan_base/modules/wan_model_warpper.py:25
Method__init__
(self, dim, eps=1e-6)
lact_ar_video/minVid/models/wan/wan_base/modules/t5.py:55
Method__init__
(self, dim, dim_attn, num_heads, dropout=0.1)
lact_ar_video/minVid/models/wan/wan_base/modules/t5.py:71
Method__init__
(self, dim, dim_ffn, dropout=0.1)
lact_ar_video/minVid/models/wan/wan_base/modules/t5.py:125
Method__init__
(self, dim, dim_attn, dim_ffn, num_heads,
lact_ar_video/minVid/models/wan/wan_base/modules/t5.py:146
Method__init__
(self, dim, dim_attn, dim_ffn, num_heads,
lact_ar_video/minVid/models/wan/wan_base/modules/t5.py:180
Method__init__
(self, num_buckets, num_heads, bidirectional, max_dist=128)
lact_ar_video/minVid/models/wan/wan_base/modules/t5.py:223
Method__init__
(self, vocab, dim, dim_attn, dim_ffn,
lact_ar_video/minVid/models/wan/wan_base/modules/t5.py:269
Method__init__
(self, vocab, dim, dim_attn, dim_ffn,
lact_ar_video/minVid/models/wan/wan_base/modules/t5.py:317
Method__init__
( self, text_len, dtype=torch.bfloat16, device=torch.cuda.current_device(),
lact_ar_video/minVid/models/wan/wan_base/modules/t5.py:474
Method__init__
(self, *args, **kwargs)
lact_ar_video/minVid/models/wan/wan_base/modules/vae.py:22
Method__init__
(self, dim, channel_first=True, images=True, bias=False)
lact_ar_video/minVid/models/wan/wan_base/modules/vae.py:41
Method__init__
(self, dim, mode)
lact_ar_video/minVid/models/wan/wan_base/modules/vae.py:68
Method__init__
(self, in_dim, out_dim, dropout=0.0)
lact_ar_video/minVid/models/wan/wan_base/modules/vae.py:188
Method__init__
(self, dim)
lact_ar_video/minVid/models/wan/wan_base/modules/vae.py:228
Method__init__
(self, dim=128, z_dim=4, dim_mult=[1, 2, 4, 4],
lact_ar_video/minVid/models/wan/wan_base/modules/vae.py:267
Method__init__
(self, dim=128, z_dim=4, dim_mult=[1, 2, 4, 4],
lact_ar_video/minVid/models/wan/wan_base/modules/vae.py:371
Method__init__
(self, dim=128, z_dim=4, dim_mult=[1, 2, 4, 4],
lact_ar_video/minVid/models/wan/wan_base/modules/vae.py:485
Method__init__
(self, dim, num_heads, dropout=0.1, eps=1e-5)
lact_ar_video/minVid/models/wan/wan_base/modules/xlm_roberta.py:12
Method__init__
(self, dim, num_heads, post_norm, dropout=0.1, eps=1e-5)
lact_ar_video/minVid/models/wan/wan_base/modules/xlm_roberta.py:51
Method__init__
(self, dim, eps=1e-5)
lact_ar_video/minVid/models/wan/wan_base/modules/hybrid_model.py:74
Method__init__
(self, dim, eps=1e-6, elementwise_affine=False)
lact_ar_video/minVid/models/wan/wan_base/modules/hybrid_model.py:93
Method__init__
(self, dim, num_heads, window_size=(-1, -1),
lact_ar_video/minVid/models/wan/wan_base/modules/hybrid_model.py:106
Method__init__
(self, dim, num_heads, window_size=(-1, -1),
lact_ar_video/minVid/models/wan/wan_base/modules/hybrid_model.py:163
Method__init__
(self, dim, num_heads, window_size=(-1, -1),
lact_ar_video/minVid/models/wan/wan_base/modules/hybrid_model.py:232
Method__init__
(self, dim, num_heads, window_size=(-1, -1),
lact_ar_video/minVid/models/wan/wan_base/modules/hybrid_model.py:329
Method__init__
(self, cross_attn_type, dim, ffn_dim, num_
lact_ar_video/minVid/models/wan/wan_base/modules/hybrid_model.py:379
Method__init__
(self, in_dim, out_dim)
lact_ar_video/minVid/models/wan/wan_base/modules/hybrid_model.py:500
Method__init__
r""" Initialize the diffusion model backbone. Args: model_type (`str`, *optional*, defaults to 't2v'): Mo
lact_ar_video/minVid/models/wan/wan_base/modules/hybrid_model.py:525
Method__init__
(self, dim, eps=1e-5)
lact_ar_video/minVid/models/wan/wan_base/modules/model.py:270
Method__init__
(self, dim, eps=1e-6, elementwise_affine=False)
lact_ar_video/minVid/models/wan/wan_base/modules/model.py:289
Method__init__
(self, dim, num_heads, window_size=(-1, -1),
lact_ar_video/minVid/models/wan/wan_base/modules/model.py:302
Method__init__
(self, dim, num_heads, window_size=(-1, -1),
lact_ar_video/minVid/models/wan/wan_base/modules/model.py:385
Method__init__
(self, cross_attn_type, dim, ffn_dim, num_
lact_ar_video/minVid/models/wan/wan_base/modules/model.py:435
Method__init__
(self, in_dim, out_dim)
lact_ar_video/minVid/models/wan/wan_base/modules/model.py:548
Method__init__
r""" Initialize the diffusion model backbone. Args: model_type (`str`, *optional*, defaults to 't2v'): Mo
lact_ar_video/minVid/models/wan/wan_base/modules/model.py:573
Method__init__
Args: api_key: The API key for Dash Scope authentication and access to related services. model_name: Model name, 'qwe
lact_ar_video/minVid/models/wan/wan_base/utils/prompt_extend.py:159
Method__init__
Args: model_name: Use predefined model names such as 'QwenVL2.5_7B' and 'Qwen2.5_14B', which are specific version
lact_ar_video/minVid/models/wan/wan_base/utils/prompt_extend.py:309
Method__init__
( self, num_train_timesteps: int = 1000, solver_order: int = 2, prediction_typ
lact_ar_video/minVid/models/wan/wan_base/utils/fm_solvers.py:129
Method__init__
( self, num_train_timesteps: int = 1000, solver_order: int = 2,
lact_ar_video/minVid/models/wan/wan_base/utils/fm_solvers_unipc.py:77
Method__init__
(self, dim: int = 512, patch_size: List[int] = [4, 8, 8], i
lact_ar_video/minVid/models/autoencoder/vae.py:18
Method__init__
(self, dim, num_heads, window_size=(-1, -1),
lact_ar_video/minVid/models/blocks/ar_lact_swa_repeat_sp.py:598
Method__init__
(self, dim, num_heads, window_size=(-1, -1),
lact_ar_video/minVid/models/blocks/ar_lact_swa_repeat.py:552
Method__init__
(self, data_path)
lact_ar_video/minVid/inference_scripts/run_wan_inference.py:16
Method__init__
(self, data_path, local_rank, world_size)
lact_ar_video/minVid/inference_scripts/run_wan_inference_distributed.py:33
Method__len__
(self)
lact_nvs/data.py:110
Method__len__
(self)
lact_ar_video/minVid/models/wan/wan_base/utils/fm_solvers.py:856
Method__len__
(self)
lact_ar_video/minVid/models/wan/wan_base/utils/fm_solvers_unipc.py:799
Method__len__
(self)
lact_ar_video/minVid/inference_scripts/run_wan_inference.py:22
Method__len__
(self)
lact_ar_video/minVid/inference_scripts/run_wan_inference_distributed.py:42
Function_check_fn
(submodule)
lact_nvs/train.py:115
Method_check_fn
(submodule)
lact_ar_video/minVid/models/wan/wan_warpper.py:236
Method_check_fn
(submodule)
lact_ar_video/minVid/models/wan/wan_warpper_versatile.py:136
Method_convert_x0_to_flow_pred
Convert x0 prediction to flow matching's prediction. x0_pred: the x0 prediction with shape [B, C, H, W] xt: the input noisy d
lact_ar_video/minVid/models/wan/wan_warpper.py:269
Method_convert_x0_to_flow_pred
Convert x0 prediction to flow matching's prediction. x0_pred: the x0 prediction with shape [B, C, H, W] xt: the input noisy d
lact_ar_video/minVid/models/wan/wan_warpper_versatile.py:169
Function_fused_two_mm_swiglu_kernel
( W0_W2, X, O, B, M: tl.constexpr, N, K: tl.constexpr, # mark the reduce axis as
lact_llm/lact_model/lact_triton_kernels/triton_swiglu_kernels.py:44
Function_init_weights
(module)
lact_nvs/model.py:22
Method_init_weights
(self)
lact_llm/lact_model/layer_lact_swiglu.py:91
Method_init_weights
( self, module: nn.Module, rescale_prenorm_residual: bool = False, num_residua
lact_llm/lact_model/modeling_lact.py:139
Function_read_video_decord
read video using decord.VideoReader Args: ele (dict): a dict contains the configuration of video. support keys: - vid
lact_ar_video/minVid/models/wan/wan_base/utils/qwen_vl_utils.py:221
Function_read_video_torchvision
read video using torchvision.io.read_video Args: ele (dict): a dict contains the configuration of video. support keys:
lact_ar_video/minVid/models/wan/wan_base/utils/qwen_vl_utils.py:177
Method_rescale_qk
q: [b, s, n_h, d] k: [b, s, n_h, d]
lact_ar_video/minVid/models/blocks/ar_lact_swa_repeat.py:716
Method_set_gradient_checkpointing
(self, module, value=False)
lact_ar_video/minVid/models/wan/wan_base/modules/wan_model_warpper.py:275
Method_set_gradient_checkpointing
(self, module, value=False)
lact_ar_video/minVid/models/wan/wan_base/modules/hybrid_model.py:637
Method_set_gradient_checkpointing
(self, module, value=False)
lact_ar_video/minVid/models/wan/wan_base/modules/model.py:685
Method_sigma_to_t
(self, sigma)
lact_ar_video/minVid/models/wan/wan_base/utils/fm_solvers.py:330
Method_sigma_to_t
(self, sigma)
lact_ar_video/minVid/models/wan/wan_base/utils/fm_solvers_unipc.py:269
Function_swiglu_bwd_bwd_fused_kernel
( # ---- inputs ---- DH, # *[B, D, L] : (bf16/fp16/fp32) X0X2, # *[B, 2D, L] : (b
lact_llm/lact_model/lact_triton_kernels/triton_pointwise_kernels.py:25
Function_swiglu_three_bmm_kernel
( w0_w2_ptr, w1_ptr, x_ptr, v_ptr, dy0_dy2_ptr, hidden_ptr, B, M: tl.constexpr
lact_llm/lact_model/lact_triton_kernels/triton_swiglu_bwd_kernels.py:45
Function_swiglu_three_bmm_with_lr_kernel
( w0_w2_ptr, w1_ptr, x_ptr, v_ptr, lr0_ptr, # scales DY0 lr1_ptr, # scales Hidden
lact_llm/lact_model/lact_triton_kernels/triton_swiglu_bwd_with_lr.py:32
Methodadd_custom_field
(self, key: str, value)
lact_ar_video/minVid/models/wan/wan_base/utils/prompt_extend.py:108
Methodadd_noise
Diffusion forward corruption process. Input: - clean_latent: the clean latent with shape [B, C, H, W] - noise
lact_ar_video/minVid/scheduler.py:13
Methodadd_noise
Diffusion forward corruption process. Input: - clean_latent: the clean latent with shape [B, C, H, W] - noi
lact_ar_video/minVid/models/wan/flow_match.py:60
Methodadd_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
lact_ar_video/minVid/models/wan/wan_base/utils/fm_solvers.py:815
Methodadd_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
lact_ar_video/minVid/models/wan/wan_base/utils/fm_solvers_unipc.py:758
Functionattention
( q, k, v, q_lens=None, k_lens=None, dropout_p=0., softmax_scale=None, q_scale
lact_ar_video/minVid/models/wan/wan_base/modules/attention.py:152
Methodbackward
Args: grad_dw0_dw2: [B, 2 * Hidden, D] grad_dw1: [B, D, Hidden] Outs: grad_W0: [B, Hidden, D]
lact_llm/lact_model/lact_triton_kernels/lact_fw_grad.py:63
Methodbackward
(ctx, dy)
lact_llm/lact_model/lact_triton_kernels/l2norm_triton_kernels.py:410
Functionbarrier
()
lact_ar_video/minVid/utils/dist_utils.py:214
← previousnext →301–400 of 581, ranked by callers