MCPcopy Create free account

hub / github.com/Robbyant/lingbot-world / functions

Functions576 in github.com/Robbyant/lingbot-world

Method__init__
( self, dim=128, z_dim=4, dim_mult=[1, 2, 4, 4], num_res_blocks=2,
wan/modules/vae2_2.py:617
Method__init__
( self, dim=160, dec_dim=256, z_dim=16, dim_mult=[1, 2, 4, 4],
wan/modules/vae2_2.py:735
Method__init__
( self, z_dim=48, c_dim=160, vae_pth=None, dim_mult=[1, 2, 4, 4],
wan/modules/vae2_2.py:889
Method__init__
(self, dim, num_heads, local_attn_size=-1,
wan/modules/model_fast.py:55
Method__init__
(self, dim, ffn_dim, num_heads, local_attn
wan/modules/model_fast.py:218
Method__init__
r""" Initialize the diffusion model backbone. Args: model_type (`str`, *optional*, defaults to 't2v'): Mo
wan/modules/model_fast.py:367
Method__init__
(self, *args, **kwargs)
wan/modules/vae2_1.py:21
Method__init__
(self, dim, channel_first=True, images=True, bias=False)
wan/modules/vae2_1.py:40
Method__init__
(self, dim, mode)
wan/modules/vae2_1.py:67
Method__init__
(self, in_dim, out_dim, dropout=0.0)
wan/modules/vae2_1.py:187
Method__init__
(self, dim)
wan/modules/vae2_1.py:227
Method__init__
(self, dim=128, z_dim=4, dim_mult=[1, 2, 4, 4],
wan/modules/vae2_1.py:266
Method__init__
(self, dim=128, z_dim=4, dim_mult=[1, 2, 4, 4],
wan/modules/vae2_1.py:370
Method__init__
(self, z_dim=16, vae_pth='cache/vae_step_411000.pth', dtype
wan/modules/vae2_1.py:619
Method__init__
(self, dim, eps=1e-5)
wan/modules/model.py:72
Method__init__
(self, dim, eps=1e-6, elementwise_affine=False)
wan/modules/model.py:91
Method__init__
(self, dim, num_heads, window_size=(-1, -1),
wan/modules/model.py:104
Method__init__
(self, dim, ffn_dim, num_heads, window_siz
wan/modules/model.py:186
Method__init__
r""" Initialize the diffusion model backbone. Args: model_type (`str`, *optional*, defaults to 't2v'): Mo
wan/modules/model.py:321
Method__init__
(self, dim, num_heads, causal=False, attn_
wan/modules/animate/clip.py:55
Method__init__
(self, dim, mlp_ratio, num_heads, post_nor
wan/modules/animate/clip.py:114
Method__init__
(self, dim, mlp_ratio, num_heads, activati
wan/modules/animate/clip.py:158
Method__init__
(self, image_size=224, patch_size=16, dim=768,
wan/modules/animate/clip.py:211
Method__init__
(self, **kwargs)
wan/modules/animate/clip.py:305
Method__init__
(self, embed_dim=1024, image_size=224, patch_size=14,
wan/modules/animate/clip.py:330
Method__init__
(self, dtype, device, checkpoint_path, tokenizer_path)
wan/modules/animate/clip.py:503
Method__init__
(self, chan_in, chan_out, kernel_size=3, stride=1, dilation=1, pad_mode="replicate", **kwargs)
wan/modules/animate/face_blocks.py:114
Method__init__
(self, in_dim: int, hidden_dim: int, num_heads=int, dtype=None, device=None)
wan/modules/animate/face_blocks.py:130
Method__init__
( self, hidden_dim: int, heads_num: int, qk_norm: bool = True, qk_norm
wan/modules/animate/face_blocks.py:256
Method__init__
( self, hidden_size: int, heads_num: int, qk_norm: bool = True, qk_nor
wan/modules/animate/face_blocks.py:298
Method__init__
(self, channel, negative_slope=0.2, scale=2 ** 0.5)
wan/modules/animate/motion_encoder.py:52
Method__init__
(self, negative_slope=0.2)
wan/modules/animate/motion_encoder.py:81
Method__init__
(self, in_channel, out_channel, kernel_size, stride=1, padding=0, bias=True)
wan/modules/animate/motion_encoder.py:91
Method__init__
(self, in_dim, out_dim, bias=True, bias_init=0, lr_mul=1, activation=None)
wan/modules/animate/motion_encoder.py:117
Method__init__
( self, in_channel, out_channel, kernel_size, downsample=False, blur_kernel=[1, 3, 3, 1],
wan/modules/animate/motion_encoder.py:147
Method__init__
(self, in_channel, out_channel, blur_kernel=[1, 3, 3, 1])
wan/modules/animate/motion_encoder.py:187
Method__init__
(self, size, w_dim=512)
wan/modules/animate/motion_encoder.py:206
Method__init__
(self, size, dim=512, dim_motion=20)
wan/modules/animate/motion_encoder.py:247
Method__init__
(self, motion_dim)
wan/modules/animate/motion_encoder.py:272
Method__init__
(self, motion_dim)
wan/modules/animate/motion_encoder.py:290
Method__init__
(self, size, style_dim=512, motion_dim=20)
wan/modules/animate/motion_encoder.py:296
Method__init__
tensors: a list of torch.Tensor objects. No need to have uniform shape.
wan/modules/animate/animate_utils.py:25
Method__init__
( self, dim, num_heads, window_size=(-1, -1), qk_norm=True, ep
wan/modules/animate/model_animate.py:89
Method__init__
(self, dim, ffn_dim, num_heads, window_siz
wan/modules/animate/model_animate.py:150
Method__init__
(self, patch_size=(1, 2, 2), text_len=512, in_dim=36,
wan/modules/animate/model_animate.py:250
Method__init__
(self, dim, num_heads, dropout=0.1, eps=1e-5)
wan/modules/animate/xlm_roberta.py:12
Method__init__
(self, dim, num_heads, post_norm, dropout=0.1, eps=1e-5)
wan/modules/animate/xlm_roberta.py:51
Method__init__
(self, det_checkpoint_path, pose2d_checkpoint_path, sam_checkpoint_path, flux_kontext_path)
wan/modules/animate/preprocess/process_pipepline.py:29
Method__init__
(self, meta=None, kp2ds=None)
wan/modules/animate/preprocess/pose2d_utils.py:40
Method__init__
(self, checkpoint, device='cuda', reverse_input=False, **kwargs)
wan/modules/animate/preprocess/pose2d.py:21
Method__init__
(self, checkpoint, device='cuda', **kwargs)
wan/modules/animate/preprocess/pose2d.py:310
Method__init__
(self, checkpoint, detector_checkpoint=None, device='cuda', **kwargs)
wan/modules/animate/preprocess/pose2d.py:347
Method__init__
(self, *args, **kwargs)
wan/modules/animate/preprocess/video_predictor.py:15
Method__init__
(self, device='cpu', model_id="facebook/wav2vec2-base-960h")
wan/modules/s2v/audio_encoder.py:56
Method__init__
(self, dim, ffn_dim, num_heads, window_siz
wan/modules/s2v/model_s2v.py:185
Method__init__
(self, dim, eps=1e-5)
wan/modules/s2v/motioner.py:115
Method__init__
(self, dim, eps=1e-6, elementwise_affine=False)
wan/modules/s2v/motioner.py:130
Method__init__
(self, dim, num_heads, window_size=(-1, -1),
wan/modules/s2v/motioner.py:139
Method__init__
(self, dim, ffn_dim, num_heads, window_siz
wan/modules/s2v/motioner.py:329
Method__init__
( self, patch_size=(1, 2, 2), in_dim=16, dim=2048, ffn_dim=8192,
wan/modules/s2v/motioner.py:400
Method__init__
( self, inner_dim=1024, num_heads=16, # Used to indicate the number of he
wan/modules/s2v/motioner.py:644
Method__init__
(self, dim=5120, num_layers=25, out_dim=2048,
wan/modules/s2v/audio_utils.py:15
Method__init__
(self, *args, **kwargs)
wan/modules/s2v/audio_utils.py:48
Method__init__
(self, in_dim: int, hidden_dim: int, num_heads=int,
wan/modules/s2v/auxi_blocks.py:151
Method__init__
( self, num_train_timesteps: int = 1000, solver_order: int = 2, prediction_typ
wan/utils/fm_solvers.py:131
Method__init__
( self, num_train_timesteps: int = 1000, solver_order: int = 2,
wan/utils/fm_solvers_unipc.py:79
Method__iter__
(self)
wan/modules/animate/animate_utils.py:119
Method__len__
(self)
wan/utils/fm_solvers.py:858
Method__len__
(self)
wan/utils/fm_solvers_unipc.py:806
Method__mul__
(self, other)
wan/modules/animate/animate_utils.py:92
Method__neg__
(self)
wan/modules/animate/animate_utils.py:116
Method__pow__
(self, other)
wan/modules/animate/animate_utils.py:110
Method__radd__
(self, other)
wan/modules/animate/animate_utils.py:83
Method__repr__
(self)
wan/modules/animate/motion_encoder.py:109
Method__repr__
(self)
wan/modules/animate/motion_encoder.py:142
Method__repr__
(self)
wan/modules/animate/animate_utils.py:123
Method__rfloordiv__
(self, other)
wan/modules/animate/animate_utils.py:104
Method__rmul__
(self, other)
wan/modules/animate/animate_utils.py:95
Method__rpow__
(self, other)
wan/modules/animate/animate_utils.py:113
Method__rsub__
(self, other)
wan/modules/animate/animate_utils.py:89
Method__rtruediv__
(self, other)
wan/modules/animate/animate_utils.py:107
Method__sub__
(self, other)
wan/modules/animate/animate_utils.py:86
Method__truediv__
(self, other)
wan/modules/animate/animate_utils.py:101
Method_noop_no_sync
()
wan/image2video_fast.py:264
Function_read_video_decord
read video using decord.VideoReader Args: ele (dict): a dict contains the configuration of video. support keys: - vid
wan/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:
wan/utils/qwen_vl_utils.py:177
Method_sigma_to_t
(self, sigma)
wan/utils/fm_solvers.py:332
Method_sigma_to_t
(self, sigma)
wan/utils/fm_solvers_unipc.py:271
Methodadd_noise
( self, original_samples: torch.Tensor, noise: torch.Tensor, timesteps: torch.
wan/utils/fm_solvers_unipc.py:760
Functionattention
Perform QKV self attention. Args: q (torch.Tensor): Query tensor with shape [b, s, a, d], where a is the number of heads. k
wan/modules/s2v/auxi_blocks.py:34
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
wan/utils/fm_solvers.py:211
Methodbegin_index
The index for the first timestep. It should be set from pipeline with `set_begin_index` method.
wan/utils/fm_solvers_unipc.py:144
Functionbest_output_size
(w, h, dw, dh, expected_area)
wan/utils/utils.py:202
Methodclear_text_cache
Drop all cached T5 prompt embeddings. Frees ~4 MB per entry.
wan/image2video_fast.py:158
Methodconvert_list_to_array
(self, metas)
wan/modules/animate/preprocess/process_pipepline.py:345
Methodcreate_custom_forward
(module, return_dict=None)
wan/modules/s2v/model_s2v.py:808
Methodcreate_custom_forward
(module, return_dict=None)
wan/modules/s2v/motioner.py:592
Methodcrop
(self, x0, y0, x1, y1)
wan/modules/animate/preprocess/pose2d_utils.py:75
Methodcross_attn_ffn
(x, context, context_lens, e, crossattn_cache=None, cross_attn_first_call=None)
wan/modules/model_fast.py:308
Methodcross_attn_ffn
(x, context, context_lens, e)
wan/modules/model.py:266
← previousnext →301–400 of 576, ranked by callers