MCPcopy Create free account

hub / github.com/OpenImagingLab/FlashVSR / functions

Functions2,110 in github.com/OpenImagingLab/FlashVSR

↓ 1 callersMethod__init__
(self, upcast_to_float32=True)
diffsynth/models/sdxl_vae_decoder.py:5
↓ 1 callersMethod__init__
(self, embed_dim=1280, layer_norm_eps=1e-5, num_encoder_layers=32, encoder_intermediate_size=5120, projection_
diffsynth/models/svd_image_encoder.py:28
↓ 1 callersMethod__init__
(self)
diffsynth/models/flux_vae.py:6
↓ 1 callersMethod__init__
(self)
diffsynth/models/sd_vae_decoder.py:45
↓ 1 callersMethod__init__
(self, embed_dim=768, vocab_size=49408, max_position_embeddings=77, num_encoder_layers=11, encoder_intermediat
diffsynth/models/sdxl_text_encoder.py:6
↓ 1 callersMethod__init__
( self, vace_layers=(0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28), vace_in_d
diffsynth/models/wan_video_vace.py:28
↓ 1 callersMethod__init__
(self)
diffsynth/models/sd_ipadapter.py:19
↓ 1 callersMethod__init__
(self, global_pool=False)
diffsynth/models/sd_controlnet.py:26
↓ 1 callersMethod__len__
(self)
diffsynth/extensions/FastBlend/data.py:123
↓ 1 callersMethod_apply_identity_deepen
Return a new Sequential where every nn.ReLU is followed by how_many_each*(IdentityConv2d(k)+ReLU).
examples/WanVSR/utils/TCDecoder.py:226
↓ 1 callersMethod_build_layers
(self, config)
diffsynth/models/stepvideo_text_encoder.py:465
↓ 1 callersFunction_build_text_decoder_tower
( embed_dim, multimodal_cfg, quick_gelu: bool = False, cast_dtype: Optional[to
diffsynth/extensions/ImageQualityMetric/open_clip/coca_model.py:53
↓ 1 callersFunction_camel2snake
(s)
diffsynth/extensions/ImageQualityMetric/open_clip/hf_model.py:32
↓ 1 callersMethod_clean
(self, text)
diffsynth/prompters/wan_prompter.py:74
↓ 1 callersFunction_clip
(pretrained=False, pretrained_name=None, model_cls=CLIP, return_transforms=False
diffsynth/models/wan_video_image_encoder.py:738
↓ 1 callersMethod_compute_padding
Compute padding tuple.
diffsynth/pipelines/svd_video.py:225
↓ 1 callersMethod_convert_id_to_token
Converts an index (integer) in a token (str) using the vocab.
diffsynth/prompters/kolors_prompter.py:157
↓ 1 callersMethod_detect_face
(self, id_image_cv2)
diffsynth/pipelines/flux_image.py:576
↓ 1 callersMethod_gaussian_blur2d
(self, input, kernel_size, sigma)
diffsynth/pipelines/svd_video.py:287
↓ 1 callersMethod_generate_beamsearch
( self, image_inputs, pad_token_id=None, eos_token_id=None,
diffsynth/extensions/ImageQualityMetric/open_clip/coca_model.py:290
↓ 1 callersMethod_get_layer
(self, layer_number)
diffsynth/models/kolors_text_encoder.py:863
↓ 1 callersFunction_load_weights
Load weights from .npz checkpoints for official Google Brain Flax implementation
diffsynth/extensions/ImageQualityMetric/BLIP/vit.py:198
↓ 1 callersFunction_make_gaussian3x3_kernel
(dtype, device)
diffsynth/pipelines/flashvsr_tiny.py:46
↓ 1 callersFunction_make_gaussian3x3_kernel
(dtype, device)
diffsynth/pipelines/flashvsr_full.py:46
↓ 1 callersFunction_make_gaussian3x3_kernel
(dtype, device)
diffsynth/pipelines/flashvsr_tiny_long.py:46
↓ 1 callersFunction_natural_key
(string_)
diffsynth/extensions/ImageQualityMetric/open_clip/factory.py:29
↓ 1 callersMethod_norm
Apply the RMSNorm normalization to the input tensor. Args: x (torch.Tensor): The input tensor. Returns:
diffsynth/models/step1x_connector.py:216
↓ 1 callersMethod_norm
Apply the RMSNorm normalization to the input tensor. Args: x (torch.Tensor): The input tensor. Returns:
diffsynth/models/stepvideo_dit.py:47
↓ 1 callersMethod_relative_position_bucket
(self, rel_pos)
diffsynth/models/wan_video_text_encoder.py:171
↓ 1 callersMethod_repeat
(self, query, N: int)
diffsynth/extensions/ImageQualityMetric/open_clip/transformer.py:185
↓ 1 callersMethod_repeat
(self, t, N: int)
diffsynth/extensions/ImageQualityMetric/open_clip/transformer.py:597
↓ 1 callersFunction_transform
(n_px)
diffsynth/extensions/ImageQualityMetric/imagereward.py:15
↓ 1 callersMethod_update_model_kwargs_for_generation
( self, outputs: ModelOutput, model_kwargs: Dict[str, Any], is
diffsynth/models/kolors_text_encoder.py:1121
↓ 1 callersFunction_wavelet_blur
(x: torch.Tensor, radius: int)
diffsynth/pipelines/flashvsr_tiny.py:55
↓ 1 callersFunction_wavelet_blur
(x: torch.Tensor, radius: int)
diffsynth/pipelines/flashvsr_full.py:55
↓ 1 callersFunction_wavelet_blur
(x: torch.Tensor, radius: int)
diffsynth/pipelines/flashvsr_tiny_long.py:55
↓ 1 callersMethodadd_data_to_pipeline_inputs
(self, data, pipeline_inputs)
diffsynth/pipelines/pipeline_runner.py:63
↓ 1 callersMethodadd_interpolated_images
(self, images, interpolated_images)
diffsynth/extensions/RIFE/__init__.py:149
↓ 1 callersMethodadd_model_metadata
(self, keys_hash, keys_hash_with_shape, model_names, model_classes, model_resource)
diffsynth/models/model_manager.py:156
↓ 1 callersMethodadd_model_metadata
(self, architecture, huggingface_lib, model_name, redirected_architecture)
diffsynth/models/model_manager.py:243
↓ 1 callersMethodadd_model_metadata
(self, keys_hash_with_shape, model_name, model_class, extra_kwargs)
diffsynth/models/model_manager.py:284
↓ 1 callersMethodadd_prefix_instruction
(self, prompt)
diffsynth/prompters/omnigen_prompter.py:112
↓ 1 callersMethodadd_textual_inversions_to_model
(self, textual_inversion_dict, text_encoder)
diffsynth/prompters/sd_prompter.py:25
↓ 1 callersMethodadd_textual_inversions_to_tokenizer
(self, textual_inversion_dict, tokenizer)
diffsynth/prompters/sd_prompter.py:39
↓ 1 callersMethodadjust_attention_for_input_images
(self, attention_mask, image_sizes)
diffsynth/prompters/omnigen_prompter.py:226
↓ 1 callersMethodapply_controlnet_mask_on_image
(self, image, mask)
diffsynth/pipelines/flux_image.py:230
↓ 1 callersMethodapply_controlnet_mask_on_latents
(self, latents, mask)
diffsynth/pipelines/flux_image.py:221
↓ 1 callersFunctionapply_model_with_memblocks
Apply a sequential model with memblocks to the given input. Args: - model: nn.Sequential of blocks to apply - x: input data, of dimen
examples/WanVSR/utils/TCDecoder.py:95
↓ 1 callersMethodapply_rope
(self, xq, xk, freqs_cis)
diffsynth/models/flux_dit.py:66
↓ 1 callersMethodapply_rope
(self, xq, xk, freqs_cis)
diffsynth/models/flux_dit.py:165
↓ 1 callersMethodapply_rope
(self, xq, xk, freqs_cis)
diffsynth/models/flux_dit.py:221
↓ 1 callersFunctionapply_rotary_pos_emb
(pos, t)
diffsynth/extensions/ImageQualityMetric/trainer/models/cross_modeling.py:61
↓ 1 callersMethodapply_text_to_template
(self, text, template)
diffsynth/prompters/hunyuan_video_prompter.py:109
↓ 1 callersMethodattention
(self, x: torch.Tensor)
diffsynth/models/sdxl_controlnet.py:32
↓ 1 callersMethodattention
(self, x, is_init=True)
diffsynth/models/stepvideo_vae.py:478
↓ 1 callersMethodattention_mask
(self, length)
diffsynth/models/sd_text_encoder.py:58
↓ 1 callersMethodattention_mask
(self, length)
diffsynth/models/sdxl_text_encoder.py:24
↓ 1 callersMethodattention_mask
(self, length)
diffsynth/models/sdxl_text_encoder.py:66
↓ 1 callersMethodblock_forward
( self, hidden_states, encoder_hidden_states=None, timestep=None, rope
diffsynth/models/stepvideo_dit.py:826
↓ 1 callersMethodblock_forward_
(self, x, i, j, dtype, device)
diffsynth/models/hunyuan_video_dit.py:704
↓ 1 callersMethodbpe
(self, token)
diffsynth/extensions/ImageQualityMetric/open_clip/tokenizer.py:101
↓ 1 callersMethodbuild_attention_mask
(self)
diffsynth/extensions/ImageQualityMetric/open_clip/transformer.py:580
↓ 1 callersMethodbuild_attention_mask
(self)
diffsynth/extensions/ImageQualityMetric/open_clip/transformer.py:695
↓ 1 callersMethodbuild_cls_mask
(self, text, cast_dtype: torch.dtype)
diffsynth/extensions/ImageQualityMetric/open_clip/transformer.py:588
↓ 1 callersFunctionbuild_local_block_mask_shifted_vec_normal_slide
(block_h: int, block_w: int,
diffsynth/models/wan_video_dit.py:66
↓ 1 callersMethodbuild_mask
(self, data, is_bound, border_width)
diffsynth/models/hunyuan_video_vae_decoder.py:417
↓ 1 callersMethodbuild_mask
(self, data, is_bound)
diffsynth/models/tiler.py:115
↓ 1 callersMethodbuild_mask
(self, T, H, W, dtype, device, is_bound, border_width)
diffsynth/models/tiler.py:172
↓ 1 callersMethodbuild_mask
(self, data, is_bound, border_width)
diffsynth/models/stepvideo_vae.py:1040
↓ 1 callersMethodbuild_mask
(self, data, is_bound, border_width)
diffsynth/models/hunyuan_video_vae_encoder.py:216
↓ 1 callersMethodbuild_mask
(self, data, is_bound)
diffsynth/models/svd_vae_decoder.py:144
↓ 1 callersMethodbuild_mask
(self, data, is_bound)
diffsynth/models/svd_unet.py:316
↓ 1 callersMethodbuild_mask
(self, data, is_bound)
diffsynth/models/hunyuan_dit.py:294
↓ 1 callersMethodbuild_mask
(self, T, H, W, dtype, device, is_bound)
diffsynth/models/cog_dit.py:235
↓ 1 callersFunctioncal_outsize
(input_sizes, kernel_sizes, stride, padding)
diffsynth/models/stepvideo_vae.py:90
↓ 1 callersMethodcalc_rope
(self, height, width)
diffsynth/pipelines/hunyuan_image.py:112
↓ 1 callersMethodcalculate_noise_pred
( self, latents, timestep, add_time_id, cfg_scales, image_emb_
diffsynth/pipelines/svd_video.py:76
↓ 1 callersFunctioncanonicalize
(text, keep_punctuation_exact_string=None)
diffsynth/prompters/wan_prompter.py:23
↓ 1 callersMethodcheck
(self, dit: WanModel, x, t_mod)
diffsynth/pipelines/flashvsr_tiny.py:459
↓ 1 callersMethodcheck
(self, dit: WanModel, x, t_mod)
diffsynth/pipelines/flashvsr_full.py:476
↓ 1 callersMethodcheck
(self, dit: FluxDiT, hidden_states, conditioning)
diffsynth/pipelines/flux_image.py:622
↓ 1 callersMethodcheck
(self, dit: WanModel, x, t_mod)
diffsynth/pipelines/flashvsr_tiny_long.py:460
↓ 1 callersMethodcheck
(self, dit: WanModel, x, t_mod)
diffsynth/pipelines/wan_video.py:488
↓ 1 callersFunctioncheck_input_for_blending
(video_guide, video_guide_folder, video_style, video_style_folder)
diffsynth/extensions/FastBlend/api.py:7
↓ 1 callersFunctioncheck_input_for_interpolating
(frames_path, keyframes_path)
diffsynth/extensions/FastBlend/api.py:182
↓ 1 callersMethodclear_cache
(self)
diffsynth/models/wan_video_dit.py:415
↓ 1 callersMethodclear_cache
(self)
examples/WanVSR/utils/utils.py:126
↓ 1 callersMethodclear_cache
(self)
examples/WanVSR/utils/utils.py:225
↓ 1 callersFunctionclip_xlm_roberta_vit_h_14
( pretrained=False, pretrained_name='open-clip-xlm-roberta-large-vit-huge-14', **kwarg
diffsynth/models/wan_video_image_encoder.py:822
↓ 1 callersFunctioncompress_int4_weight
(weight: torch.Tensor)
diffsynth/models/kolors_text_encoder.py:101
↓ 1 callersMethodconstruct_mask
(self, entity_masks, prompt_seq_len, image_seq_len)
diffsynth/models/flux_dit.py:343
↓ 1 callersMethodconvert_channel_last
(self)
diffsynth/models/stepvideo_vae.py:962
↓ 1 callersMethodconvert_id_to_token
Converts an index (integer) in a token (str) using the vocab.
diffsynth/prompters/kolors_prompter.py:83
↓ 1 callersMethodconvert_state_dict_AB
(self, state_dict, lora_prefix="", alpha=1.0, device="cuda", torch_dtype=torch.float16)
diffsynth/models/lora.py:53
↓ 1 callersFunctionconvert_state_dict_keys_to_single_str
(state_dict, with_shape=True)
diffsynth/models/utils.py:148
↓ 1 callersMethodconvert_state_dict_up_down
(self, state_dict, lora_prefix="lora_unet_", alpha=1.0)
diffsynth/models/lora.py:30
↓ 1 callersFunctionconvert_to_custom_text_state_dict
(state_dict: dict)
diffsynth/extensions/ImageQualityMetric/open_clip/model.py:336
↓ 1 callersMethodconvert_token_to_id
Converts a token (str) in an id using the vocab.
diffsynth/prompters/kolors_prompter.py:77
↓ 1 callersFunctioncount_frames
(r)
examples/WanVSR/infer_flashvsr_v1.1_tiny_long_video.py:131
↓ 1 callersFunctioncount_frames
(r)
examples/WanVSR/infer_flashvsr_v1.1_tiny.py:128
← previousnext →401–500 of 2,110, ranked by callers