MCPcopy Create free account

hub / github.com/arielshaulov/FlowMo / functions

Functions271 in github.com/arielshaulov/FlowMo

Methodforward
(self, x)
wan/modules/clip.py:43
Methodforward
(self, x)
wan/modules/clip.py:49
Methodforward
x: [B, L, C].
wan/modules/clip.py:74
Methodforward
(self, x)
wan/modules/clip.py:146
Methodforward
x: [B, L, C].
wan/modules/clip.py:186
Methodforward
(self, x, interpolation=False, use_31_block=False)
wan/modules/clip.py:279
Methodforward
(self, ids)
wan/modules/clip.py:315
Methodforward
imgs: [B, 3, H, W] of torch.float32. - mean: [0.48145466, 0.4578275, 0.40821073] - std: [0.26862954, 0.2613025
wan/modules/clip.py:406
Methodforward
(self, x)
wan/modules/t5.py:61
Methodforward
x: [B, L1, C]. context: [B, L2, C] or None. mask: [B, L2] or [B, L1, L2] or None.
wan/modules/t5.py:86
Methodforward
(self, x)
wan/modules/t5.py:136
Methodforward
(self, x, mask=None, pos_bias=None)
wan/modules/t5.py:170
Methodforward
(self, x, mask=None, encoder_states=None, enco
wan/modules/t5.py:206
Methodforward
(self, lq, lk)
wan/modules/t5.py:233
Methodforward
(self, ids, mask=None)
wan/modules/t5.py:303
Methodforward
(self, ids, mask=None, encoder_states=None, encoder_mask=None)
wan/modules/t5.py:351
Methodforward
(self, encoder_ids, encoder_mask, decoder_ids, decoder_mask)
wan/modules/t5.py:408
Methodforward
(self, x, cache_x=None)
wan/modules/vae.py:28
Methodforward
(self, x)
wan/modules/vae.py:51
Methodforward
Fix bfloat16 support for nearest neighbor interpolation.
wan/modules/vae.py:59
Methodforward
(self, x, feat_cache=None, feat_idx=[0])
wan/modules/vae.py:101
Methodforward
(self, x, feat_cache=None, feat_idx=[0])
wan/modules/vae.py:202
Methodforward
(self, x)
wan/modules/vae.py:240
Methodforward
(self, x, feat_cache=None, feat_idx=[0])
wan/modules/vae.py:318
Methodforward
(self, x, feat_cache=None, feat_idx=[0])
wan/modules/vae.py:423
Methodforward
(self, c, x, **kwargs)
wan/modules/vace_model.py:32
Methodforward
(self, x, hints, context_scale=1.0, **kwargs)
wan/modules/vace_model.py:57
Methodforward
x: [B, L, C].
wan/modules/xlm_roberta.py:27
Methodforward
(self, x, mask)
wan/modules/xlm_roberta.py:66
Methodforward
ids: [B, L] of torch.LongTensor.
wan/modules/xlm_roberta.py:118
Methodforward
Device-aware norm implementation
wan/modules/model.py:142
Methodforward
Device-aware layer norm implementation
wan/modules/model.py:160
Methodforward
Device-balanced attention implementation
wan/modules/model.py:213
Methodforward
Device-balanced cross-attention implementation
wan/modules/model.py:267
Methodforward
Device-balanced image-to-video cross-attention implementation
wan/modules/model.py:316
Methodforward
Device-balanced attention block implementation
wan/modules/model.py:408
Methodforward
Device-consistent head implementation
wan/modules/model.py:500
Methodforward
(self, image_embeds)
wan/modules/model.py:543
Methodforward
Forward pass with improved device distribution
wan/modules/model.py:693
Functionfree_model
(model)
wan/distributed/fsdp.py:35
Methodgenerate
(self, input_prompt, input_frames, input_masks,
wan/vace.py:696
Methodinit_weight
(self, conv)
wan/modules/vae.py:162
Methodinit_weight2
(self, conv)
wan/modules/vae.py:174
Functioninit_weights
(m)
wan/modules/t5.py:27
Methodload_image
(self, data_key, **kwargs)
wan/utils/vace_processor.py:63
Methodload_image_pair
(self, data_key, data_key2, **kwargs)
wan/utils/vace_processor.py:66
Methodmp_worker
(self, gpu, gpu_infer, pmi_rank, pmi_world_size, in_q_list, out_q, initialized_events, work_env)
wan/vace.py:503
Methodnoop_no_sync
()
wan/first_last_frame2video.py:272
Methodnoop_no_sync
()
wan/image2video.py:249
Methodnoop_no_sync
()
wan/text2video.py:220
Methodnoop_no_sync
()
wan/vace.py:359
Methodnoop_no_sync
()
wan/vace.py:613
Methodparam_groups
(self)
wan/modules/clip.py:418
Functionprepare_source
(src_video, src_mask, src_ref_images, num_frames, image_size, device)
wan/utils/vace_processor.py:250
Functionprint_gpu_memory_status
Print the memory status of all available GPUs
motion_optimizer.py:363
Functionprocess_vision_info
( conversations: list[dict] | list[list[dict]], )
wan/utils/qwen_vl_utils.py:344
Methodqkv_fn
(x)
wan/modules/model.py:231
Methodsample
(self, imgs, deterministic=False)
wan/modules/vae.py:575
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. Ar
wan/utils/fm_solvers.py:800
Methodscale_model_input
Ensures interchangeability with schedulers that need to scale the denoising model input depending on the current timestep. A
wan/utils/fm_solvers_unipc.py:893
Methodset_begin_index
Sets the begin index for the scheduler. This function should be run from pipeline before the inference. Args: begin_index
wan/utils/fm_solvers.py:216
Methodset_begin_index
Sets the begin index for the scheduler. This function should be run from pipeline before the inference. Args: begin_inde
wan/utils/fm_solvers_unipc.py:149
Methodset_timesteps
Sets the discrete timesteps used for the diffusion chain (to be run before inference). Args: num_inference_steps (`int`):
wan/utils/fm_solvers_unipc.py:160
Functionshard_model
( model, device_id, param_dtype=torch.bfloat16, reduce_dtype=torch.float32, buffer_dtype=t
wan/distributed/fsdp.py:11
Methodstep_index
The index counter for current timestep. It will increase 1 after each scheduler step.
wan/utils/fm_solvers.py:202
Methodstep_index
The index counter for current timestep. It will increase 1 after each scheduler step.
wan/utils/fm_solvers_unipc.py:135
Functionstr2bool
Convert a string to a boolean. Supported true values: 'yes', 'true', 't', 'y', '1' Supported false values: 'no', 'false', 'f', 'n', '0'
wan/utils/utils.py:94
Functionusp_attn_forward
(self, x, seq_lens, grid_sizes,
wan/distributed/xdit_context_parallel.py:187
Functionusp_dit_forward
x: A list of videos each with shape [C, T, H, W]. t: [B]. context: A list of text embeddings each with s
wan/distributed/xdit_context_parallel.py:97
Functionusp_dit_forward_vace
( self, x, vace_context, seq_len, kwargs )
wan/distributed/xdit_context_parallel.py:66
Functionxlm_roberta_large
XLMRobertaLarge adapted from Huggingface.
wan/modules/xlm_roberta.py:146
← previous201–271 of 271, ranked by callers