MCPcopy Create free account

hub / github.com/OpenImagingLab/FlashVSR / functions

Functions2,110 in github.com/OpenImagingLab/FlashVSR

Methodscore
Score the images based on the prompt. Args: images (Union[str, List[str], Image.Image, List[Image.Image]]): Path(s) to the image(
diffsynth/extensions/ImageQualityMetric/hps.py:85
Methodscore
Score the images based on the prompt. Args: images (Union[str, List[str], Image.Image, List[Image.Image]]): Path(s) to the image(
diffsynth/extensions/ImageQualityMetric/imagereward.py:202
Methodscore
Score the images based on the prompt. Args: images (Union[str, List[str], Image.Image, List[Image.Image]]): Path(s) to the image(
diffsynth/extensions/ImageQualityMetric/pickscore.py:58
Methodscore_grad
Calculate the score with gradient for a single image and prompt. Args: prompt_ids (torch.Tensor): Tokenized prompt IDs.
diffsynth/extensions/ImageQualityMetric/imagereward.py:66
Functionsearch_for_files
(folder, extensions)
diffsynth/models/utils.py:135
Methodset_global_description
(self, description: str, detailed_descriptions: list, tags: str, HTML_web_color
diffsynth/prompters/omost.py:132
Methodset_grad_checkpointing
(self, enable=True)
diffsynth/extensions/ImageQualityMetric/open_clip/coca_model.py:126
Methodset_grad_checkpointing
(self, enable=True)
diffsynth/extensions/ImageQualityMetric/open_clip/modified_resnet.py:162
Methodset_grad_checkpointing
(self, enable=True)
diffsynth/extensions/ImageQualityMetric/open_clip/timm_model.py:118
Methodset_grad_checkpointing
(self, enable=True)
diffsynth/extensions/ImageQualityMetric/open_clip/hf_model.py:172
Methodset_grad_checkpointing
(self, enable=True)
diffsynth/extensions/ImageQualityMetric/open_clip/transformer.py:449
Methodset_grad_checkpointing
(self, enable=True)
diffsynth/extensions/ImageQualityMetric/open_clip/transformer.py:577
Methodset_grad_checkpointing
(self, enable=True)
diffsynth/extensions/ImageQualityMetric/open_clip/transformer.py:726
Methodset_grad_checkpointing
(self, enable=True)
diffsynth/extensions/ImageQualityMetric/open_clip/model.py:284
Methodset_input_embeddings
(self, value)
diffsynth/extensions/ImageQualityMetric/BLIP/med.py:589
Methodset_length
(self, length)
diffsynth/data/video.py:100
Methodset_less_adapter
(self)
diffsynth/models/sdxl_ipadapter.py:67
Methodset_output_embeddings
(self, new_embeddings)
diffsynth/extensions/ImageQualityMetric/BLIP/med.py:819
Methodshape
(self)
diffsynth/data/video.py:113
Functionsmooth_video
( video_guide, video_guide_folder, video_style, video_style_folder, mode, window_size,
diffsynth/extensions/FastBlend/api.py:25
Methodsplit_string
(s)
diffsynth/models/qwenvl.py:64
Methodstate_dict_converter
()
diffsynth/extensions/ESRGAN/__init__.py:70
Methodstate_dict_converter
()
diffsynth/extensions/RIFE/__init__.py:103
Methodstate_dict_converter
()
diffsynth/models/omnigen.py:790
Methodstate_dict_converter
()
diffsynth/models/sdxl_unet.py:139
Methodstate_dict_converter
()
diffsynth/models/wan_video_text_encoder.py:257
Methodstate_dict_converter
()
diffsynth/models/hunyuan_video_vae_decoder.py:493
Methodstate_dict_converter
()
diffsynth/models/sdxl_controlnet.py:217
Methodstate_dict_converter
()
diffsynth/models/wan_video_image_encoder.py:883
Methodstate_dict_converter
()
diffsynth/models/hunyuan_dit_text_encoder.py:83
Methodstate_dict_converter
()
diffsynth/models/hunyuan_dit_text_encoder.py:136
Methodstate_dict_converter
()
diffsynth/models/sdxl_vae_encoder.py:10
Methodstate_dict_converter
()
diffsynth/models/sd_vae_encoder.py:98
Methodstate_dict_converter
()
diffsynth/models/step1x_connector.py:666
Methodstate_dict_converter
()
diffsynth/models/flux_infiniteyou.py:118
Methodstate_dict_converter
()
diffsynth/models/cog_vae.py:273
Methodstate_dict_converter
()
diffsynth/models/cog_vae.py:358
Methodstate_dict_converter
()
diffsynth/models/hunyuan_video_dit.py:810
Methodstate_dict_converter
()
diffsynth/models/svd_vae_encoder.py:10
Methodstate_dict_converter
()
diffsynth/models/stepvideo_vae.py:1113
Methodstate_dict_converter
()
diffsynth/models/wan_video_vae.py:832
Methodstate_dict_converter
()
diffsynth/models/sd_unet.py:346
Methodstate_dict_converter
()
diffsynth/models/hunyuan_video_vae_encoder.py:293
Methodstate_dict_converter
()
diffsynth/models/sd_text_encoder.py:75
Methodstate_dict_converter
()
diffsynth/models/sdxl_vae_decoder.py:10
Methodstate_dict_converter
()
diffsynth/models/svd_image_encoder.py:48
Methodstate_dict_converter
()
diffsynth/models/sd3_vae_decoder.py:80
Methodstate_dict_converter
()
diffsynth/models/flux_vae.py:12
Methodstate_dict_converter
()
diffsynth/models/flux_vae.py:23
Methodstate_dict_converter
()
diffsynth/models/sd_vae_decoder.py:120
Methodstate_dict_converter
()
diffsynth/models/sdxl_text_encoder.py:40
Methodstate_dict_converter
()
diffsynth/models/sdxl_text_encoder.py:85
Methodstate_dict_converter
()
diffsynth/models/wan_video_vace.py:67
Methodstate_dict_converter
()
diffsynth/models/svd_vae_decoder.py:203
Methodstate_dict_converter
()
diffsynth/models/flux_controlnet.py:106
Methodstate_dict_converter
()
diffsynth/models/flux_ipadapter.py:75
Methodstate_dict_converter
()
diffsynth/models/wan_video_dit.py:690
Methodstate_dict_converter
()
diffsynth/models/stepvideo_dit.py:925
Methodstate_dict_converter
()
diffsynth/models/sdxl_motion.py:53
Methodstate_dict_converter
()
diffsynth/models/sd3_vae_encoder.py:94
Methodstate_dict_converter
()
diffsynth/models/svd_unet.py:414
Methodstate_dict_converter
()
diffsynth/models/sd_ipadapter.py:51
Methodstate_dict_converter
()
diffsynth/models/sd_motion.py:148
Methodstate_dict_converter
()
diffsynth/models/hunyuan_dit.py:402
Methodstate_dict_converter
()
diffsynth/models/sd3_text_encoder.py:26
Methodstate_dict_converter
()
diffsynth/models/sd3_text_encoder.py:36
Methodstate_dict_converter
()
diffsynth/models/sd3_text_encoder.py:81
Methodstate_dict_converter
()
diffsynth/models/sd_controlnet.py:139
Methodstate_dict_converter
()
diffsynth/models/sdxl_ipadapter.py:100
Methodstate_dict_converter
()
diffsynth/models/flux_text_encoder.py:18
Methodstate_dict_converter
()
diffsynth/models/wan_video_motion_controller.py:30
Methodstate_dict_converter
()
diffsynth/models/flux_dit.py:555
Methodstep
(self, model_output, timestep, sample, to_final=False)
diffsynth/schedulers/continuous_ode.py:21
Methodstep
(self, model_output, timestep, sample, to_final=False, **kwargs)
diffsynth/schedulers/flow_match.py:40
Methodstore
(self, hidden_states)
diffsynth/pipelines/flashvsr_tiny.py:477
Methodstore
(self, hidden_states)
diffsynth/pipelines/flashvsr_full.py:494
Methodstore
(self, hidden_states)
diffsynth/pipelines/flashvsr_tiny_long.py:478
Methodstream_chat
(self, tokenizer, query: str, history: List[Tuple[str, str]] = None, role: str = "user", p
diffsynth/models/kolors_text_encoder.py:1301
Methodstream_decode
(self, hidden_states, tiled=False, tile_size=(34, 34), tile_stride=(18, 16))
diffsynth/models/wan_video_vae.py:823
Methodstream_decode_with_cond
(self, latents, tiled=False, cond=None)
examples/WanVSR/utils/TCDecoder.py:292
Methodstream_forward
(self, video_clip)
examples/WanVSR/utils/utils.py:231
Methodswiglu
(x)
diffsynth/models/kolors_text_encoder.py:739
Methodtiled_forward
(self, forward_fn, model_input, tile_size, tile_stride, tile_batch_size=1, tile_device="cpu", tile_dtype=torch
diffsynth/models/tiler.py:83
Methodtiled_forward
(self, forward_fn, model_input, tile_size, tile_stride, tile_device="cpu", tile_dtype=torch.float32, border_wi
diffsynth/models/tiler.py:133
Methodtiled_forward
( self, forward_fn, model_input, tile_size, tile_stride, tile_device="
diffsynth/models/tiler.py:192
Methodtiled_forward
( self, sample, timestep, encoder_hidden_states, add_time_id, batch_time=25, batch_height=128,
diffsynth/models/svd_unet.py:337
Methodto
(self, device)
diffsynth/controlnets/controlnet_unit.py:31
Methodtool_call
(**kwargs)
diffsynth/models/kolors_text_encoder.py:1270
Methodtorch_attn_func
( self, q, k, v, attn_mask=None, causal=False, drop_ra
diffsynth/models/stepvideo_dit.py:338
Functiontrace_model
(model, batch_size=256, device=torch.device('cpu'))
diffsynth/extensions/ImageQualityMetric/open_clip/model.py:414
Methodtraining_step
(self, batch, batch_idx)
diffsynth/trainers/text_to_image.py:67
Methodtraining_step
(self, batch: dict, batch_idx: int)
diffsynth/extensions/ImageQualityMetric/aesthetic.py:34
Methodtraining_target
(self, sample, noise, timestep)
diffsynth/schedulers/continuous_ode.py:48
Methodtraining_target
(self, sample, noise, timestep)
diffsynth/schedulers/flow_match.py:71
Methodtraining_weight
(self, timestep)
diffsynth/schedulers/continuous_ode.py:55
Methodtraining_weight
(self, timestep)
diffsynth/schedulers/flow_match.py:76
Methodunk_token
(self)
diffsynth/prompters/kolors_prompter.py:121
Methodupdate
Updates the cache with the new `key_states` and `value_states` for the layer `layer_idx`. Parameters: key_states (`torch.
diffsynth/pipelines/omnigen_image.py:74
Methodupscale
(self, images, batch_size=4, progress_bar=lambda x:x)
diffsynth/extensions/ESRGAN/__init__.py:109
Functionusp_attn_forward
(self, x, freqs)
diffsynth/distributed/xdit_context_parallel.py:108
← previousnext →2,001–2,100 of 2,110, ranked by callers