MCPcopy Create free account

hub / github.com/OpenImagingLab/FlashVSR / functions

Functions2,110 in github.com/OpenImagingLab/FlashVSR

↓ 1 callersMethodforward_with_separate_cfg
(self, x, timestep, input_ids, input_img_latents, input_image_sizes, attention_mask, position_ids, cfg_scale,
diffsynth/models/omnigen.py:760
↓ 1 callersMethodframe_id_to_position_id
(self, frame_id)
diffsynth/models/svd_unet.py:121
↓ 1 callersMethodfrom_bot_response
(response: str)
diffsynth/prompters/omost.py:112
↓ 1 callersMethodfrom_civitai
(self, state_dict)
diffsynth/models/stepvideo_vae.py:1124
↓ 1 callersMethodfrom_diffusers
(self, state_dict)
diffsynth/extensions/RIFE/__init__.py:111
↓ 1 callersMethodfrom_diffusers
(self, state_dict)
diffsynth/models/sdxl_controlnet.py:226
↓ 1 callersMethodfrom_diffusers
(self, state_dict)
diffsynth/models/hunyuan_dit_text_encoder.py:145
↓ 1 callersMethodfrom_diffusers
(self, state_dict)
diffsynth/models/hunyuan_dit_text_encoder.py:157
↓ 1 callersMethodfrom_diffusers
(self, state_dict)
diffsynth/models/cog_vae.py:368
↓ 1 callersMethodfrom_diffusers
(self, state_dict)
diffsynth/models/cog_vae.py:445
↓ 1 callersMethodfrom_diffusers
(self, state_dict)
diffsynth/models/flux_controlnet.py:216
↓ 1 callersMethodfrom_diffusers
(self, state_dict)
diffsynth/models/flux_ipadapter.py:83
↓ 1 callersMethodfrom_diffusers
(self, state_dict)
diffsynth/models/sdxl_motion.py:61
↓ 1 callersMethodfrom_diffusers
(self, state_dict)
diffsynth/models/sd_motion.py:156
↓ 1 callersMethodfrom_diffusers
(self, state_dict)
diffsynth/models/hunyuan_dit.py:411
↓ 1 callersMethodfrom_diffusers
(self, state_dict)
diffsynth/models/sd3_text_encoder.py:90
↓ 1 callersMethodfrom_diffusers
(self, state_dict)
diffsynth/models/sd3_text_encoder.py:884
↓ 1 callersMethodfrom_diffusers
(self, state_dict)
diffsynth/models/sd_controlnet.py:147
↓ 1 callersMethodfrom_diffusers
(self, state_dict)
diffsynth/models/sdxl_ipadapter.py:108
↓ 1 callersMethodfrom_diffusers
(self, state_dict)
diffsynth/models/flux_text_encoder.py:27
↓ 1 callersMethodfrom_model_manager
(model_manager, processor_type, **kwargs)
diffsynth/processors/sequencial_processor.py:9
↓ 1 callersMethodfrom_pretrained
(path, torch_dtype=torch.bfloat16)
diffsynth/models/stepvideo_text_encoder.py:533
↓ 1 callersMethodfuse_condition_to_input
(self, hidden_states, task_id, conditioning)
diffsynth/models/sdxl_controlnet.py:137
↓ 1 callersFunctiongather_features
( image_features, text_features, local_loss=False, gather_with_grad=False,
diffsynth/extensions/ImageQualityMetric/open_clip/loss.py:20
↓ 1 callersMethodgenerate_crop_size_list
(self, base_size=256, patch_size=32, max_ratio=4.0)
diffsynth/pipelines/hunyuan_video.py:56
↓ 1 callersFunctiongenerate_draft_block_mask
(batch_size, nheads, seqlen, q_w, k_w, topk=10, local_attn_mask=None)
diffsynth/models/wan_video_dit.py:116
↓ 1 callersFunctiongenerate_readme
(model_card: dict, model_name: str)
diffsynth/extensions/ImageQualityMetric/open_clip/push_to_hf_hub.py:163
↓ 1 callersFunctionget_1d_rotary_pos_embed
Precompute the frequency tensor for complex exponential (cis) with given dimensions. (Note: `cis` means `cos + i * sin`, where i is t
diffsynth/models/hunyuan_video_dit.py:65
↓ 1 callersMethodget_2d_rotary_pos_embed
(self, embed_dim, start, *args, use_real=True)
diffsynth/pipelines/hunyuan_image.py:74
↓ 1 callersMethodget_2d_rotary_pos_embed_from_grid
(self, embed_dim, grid, use_real=False)
diffsynth/pipelines/hunyuan_image.py:81
↓ 1 callersFunctionget_2d_sincos_pos_embed
grid_size: int of the grid height and width return: pos_embed: [grid_size*grid_size, embed_dim] or [1+grid_size*grid_size, embed_dim] (w/ or
diffsynth/models/omnigen.py:255
↓ 1 callersFunctionget_2d_sincos_pos_embed_from_grid
(embed_dim, grid)
diffsynth/models/omnigen.py:275
↓ 1 callersMethodget_3d_rotary_pos_embed
( self, embed_dim, crops_coords, grid_size, temporal_size, theta: int = 10000, use_real: bool = True
diffsynth/models/cog_dit.py:138
↓ 1 callersMethodget_closest_ratio
(self, height: float, width: float, ratios: list, buckets: list)
diffsynth/pipelines/hunyuan_video.py:71
↓ 1 callersMethodget_fill_resize_and_crop
(self, src, tgt)
diffsynth/pipelines/hunyuan_image.py:27
↓ 1 callersMethodget_index_dict
(self, index_style)
diffsynth/extensions/FastBlend/runners/interpolation.py:12
↓ 1 callersFunctionget_lora_loaders
()
diffsynth/models/lora.py:385
↓ 1 callersMethodget_masks
(self, input_ids, past_key_values, padding_mask=None)
diffsynth/models/kolors_text_encoder.py:935
↓ 1 callersMethodget_mesh_3d
(self, rope_positions, bsz)
diffsynth/models/stepvideo_dit.py:415
↓ 1 callersMethodget_meshgrid
(self, start, *args)
diffsynth/pipelines/hunyuan_image.py:48
↓ 1 callersFunctionget_meshgrid_nd
Get n-D meshgrid with start, stop and num. Args: start (int or tuple): If len(args) == 0, start is num; If len(args) ==
diffsynth/models/hunyuan_video_dit.py:20
↓ 1 callersFunctionget_nd_rotary_pos_embed
This is a n-d version of precompute_freqs_cis, which is a RoPE for tokens with n-d structure. Args: rope_dim_list (list
diffsynth/models/hunyuan_video_dit.py:117
↓ 1 callersMethodget_offlaod_layer
(self, layer_idx: int, device: torch.device)
diffsynth/models/omnigen.py:40
↓ 1 callersMethodget_pairwise_patch_error
(self, source, nnf)
diffsynth/extensions/FastBlend/patch_match.py:63
↓ 1 callersMethodget_position_ids
(self, input_ids, device)
diffsynth/models/kolors_text_encoder.py:953
↓ 1 callersMethodget_prefix_tokens
(self)
diffsynth/prompters/kolors_prompter.py:192
↓ 1 callersMethodget_prompt
(self, batch_size, device, dtype=torch.half)
diffsynth/models/kolors_text_encoder.py:1029
↓ 1 callersMethodget_resize_crop_region_for_grid
(self, src, tgt_width, tgt_height)
diffsynth/models/cog_dit.py:120
↓ 1 callersMethodget_rotary_embedding
(self, n, device)
diffsynth/extensions/ImageQualityMetric/trainer/models/cross_modeling.py:102
↓ 1 callersMethodget_task_group
(self, index_style, n)
diffsynth/extensions/FastBlend/runners/interpolation.py:26
↓ 1 callersFunctionget_timestep_embedding
This matches the implementation in Denoising Diffusion Probabilistic Models: Create sinusoidal timestep embeddings. :param timesteps: a 1-D
diffsynth/models/stepvideo_dit.py:103
↓ 1 callersFunctionget_video_fps
(file_name)
diffsynth/extensions/FastBlend/data.py:16
↓ 1 callersMethodget_weight
(self, l, m, r)
diffsynth/extensions/FastBlend/runners/interpolation.py:18
↓ 1 callersMethodinference_accurate
(self, frames_guide, frames_style)
diffsynth/processors/FastBlend.py:98
↓ 1 callersMethodinference_balanced
(self, frames_guide, frames_style)
diffsynth/processors/FastBlend.py:61
↓ 1 callersMethodinference_fast
(self, frames_guide, frames_style)
diffsynth/processors/FastBlend.py:34
↓ 1 callersMethodinit_cache
ctx: [B, S_ctx, dim] —— 经过 text_embedding 之后的上下文
diffsynth/models/wan_video_dit.py:410
↓ 1 callersMethodinit_from_ckpt
(self, model_path)
diffsynth/models/stepvideo_vae.py:948
↓ 1 callersMethodinit_parameters
(self)
diffsynth/extensions/ImageQualityMetric/open_clip/modified_resnet.py:141
↓ 1 callersMethodinit_parameters
(self)
diffsynth/extensions/ImageQualityMetric/open_clip/transformer.py:428
↓ 1 callersMethodinit_parameters
(self)
diffsynth/extensions/ImageQualityMetric/open_clip/transformer.py:558
↓ 1 callersFunctioninit_pipeline
()
examples/WanVSR/infer_flashvsr_v1.1_tiny_long_video.py:178
↓ 1 callersFunctioninit_pipeline
()
examples/WanVSR/infer_flashvsr_v1.1_tiny.py:174
↓ 1 callersFunctioninit_pipeline
()
examples/WanVSR/infer_flashvsr_full.py:160
↓ 1 callersFunctioninit_pipeline
()
examples/WanVSR/infer_flashvsr_tiny_long_video.py:178
↓ 1 callersFunctioninit_pipeline
()
examples/WanVSR/infer_flashvsr_v1.1_full.py:160
↓ 1 callersFunctioninit_pipeline
()
examples/WanVSR/infer_flashvsr_tiny.py:174
↓ 1 callersFunctioninit_tokenizer
(bert_model_path)
diffsynth/extensions/ImageQualityMetric/BLIP/blip.py:23
↓ 1 callersMethodinitialize_nnf
(self, batch_size)
diffsynth/extensions/FastBlend/patch_match.py:244
↓ 1 callersMethodinitialize_weights
(self)
diffsynth/models/omnigen.py:380
↓ 1 callersMethodinpaint_fusion
(self, latents, inpaint_latents, pred_noise, fg_mask, bg_mask, progress_id, background_weight=0.)
diffsynth/pipelines/flux_image.py:269
↓ 1 callersMethodinteract_with_ipadapter
(self, hidden_states, q, ip_k, ip_v, scale=1.0)
diffsynth/models/attention.py:29
↓ 1 callersMethodio_scale
(self, model_output, tile_size)
diffsynth/models/tiler.py:57
↓ 1 callersFunctionis_url
(url_or_filename)
diffsynth/extensions/ImageQualityMetric/BLIP/blip.py:49
↓ 1 callersFunctionis_video
(path)
examples/WanVSR/infer_flashvsr_v1.1_tiny_long_video.py:34
↓ 1 callersFunctionis_video
(path)
examples/WanVSR/infer_flashvsr_v1.1_tiny.py:34
↓ 1 callersFunctionis_video
(path)
examples/WanVSR/infer_flashvsr_full.py:33
↓ 1 callersFunctionis_video
(path)
examples/WanVSR/infer_flashvsr_tiny_long_video.py:34
↓ 1 callersFunctionis_video
(path)
examples/WanVSR/infer_flashvsr_v1.1_full.py:33
↓ 1 callersFunctionis_video
(path)
examples/WanVSR/infer_flashvsr_tiny.py:34
↓ 1 callersMethoditeration
(self, source_guide, target_guide, source_style, target_style, nnf, err)
diffsynth/extensions/FastBlend/patch_match.py:185
↓ 1 callersFunctionlist_images_natural
(folder: str)
examples/WanVSR/infer_flashvsr_v1.1_tiny_long_video.py:25
↓ 1 callersFunctionlist_images_natural
(folder: str)
examples/WanVSR/infer_flashvsr_v1.1_tiny.py:25
↓ 1 callersFunctionlist_images_natural
(folder: str)
examples/WanVSR/infer_flashvsr_full.py:24
↓ 1 callersFunctionlist_images_natural
(folder: str)
examples/WanVSR/infer_flashvsr_tiny_long_video.py:25
↓ 1 callersFunctionlist_images_natural
(folder: str)
examples/WanVSR/infer_flashvsr_v1.1_full.py:24
↓ 1 callersFunctionlist_images_natural
(folder: str)
examples/WanVSR/infer_flashvsr_tiny.py:25
↓ 1 callersFunctionlist_models
enumerate available model architectures based on config files
diffsynth/extensions/ImageQualityMetric/open_clip/factory.py:57
↓ 1 callersFunctionlist_openai_models
Returns the names of available CLIP models
diffsynth/extensions/ImageQualityMetric/open_clip/openai.py:18
↓ 1 callersFunctionlist_pretrained_models_by_tag
return all models having the specified pretrain tag
diffsynth/extensions/ImageQualityMetric/open_clip/pretrained.py:247
↓ 1 callersFunctionlist_pretrained_tags_by_model
return all pretrain tags for the specified model architecture
diffsynth/extensions/ImageQualityMetric/open_clip/pretrained.py:257
↓ 1 callersMethodload_from_dict
(self, p)
diffsynth/models/stepvideo_vae.py:959
↓ 1 callersMethodload_model
(self, file_path, model_names=None, device=None, torch_dtype=None)
diffsynth/models/model_manager.py:395
↓ 1 callersFunctionload_openai_model
Load a CLIP model Parameters ---------- name : str A model name listed by `clip.available_models()`, or the path to a model check
diffsynth/extensions/ImageQualityMetric/open_clip/openai.py:23
↓ 1 callersMethodload_pipeline
(self, model_list, textual_inversion_folder, device, lora_alphas, controlnet_units)
diffsynth/pipelines/pipeline_runner.py:13
↓ 1 callersMethodload_prompt_extenders
(self,model_manager:ModelManager,extender_classes=[])
diffsynth/prompters/base_prompter.py:50
↓ 1 callersFunctionload_single_patch_model_from_single_file
(state_dict, model_name, model_class, base_model, extra_kwargs, torch_dtype, device)
diffsynth/models/model_manager.py:100
↓ 1 callersMethodload_smoother
(self, model_manager, smoother_configs)
diffsynth/pipelines/pipeline_runner.py:35
↓ 1 callersFunctionload_state_dict
(checkpoint_path: str, map_location='cpu')
diffsynth/extensions/ImageQualityMetric/open_clip/factory.py:87
↓ 1 callersFunctionload_state_dict_from_bin
(file_path, torch_dtype=None)
diffsynth/models/utils.py:82
← previousnext →601–700 of 2,110, ranked by callers