MCPcopy Create free account

hub / github.com/OpenImagingLab/FlashVSR / functions

Functions2,110 in github.com/OpenImagingLab/FlashVSR

Methodconfigure_optimizers
(self)
diffsynth/trainers/text_to_image.py:98
Methodconfigure_optimizers
(self)
diffsynth/extensions/ImageQualityMetric/aesthetic.py:48
Methodconvert_tokens_to_string
(self, tokens: List[str])
diffsynth/prompters/kolors_prompter.py:161
Methodcreate_custom_forward
(module)
diffsynth/extensions/ImageQualityMetric/BLIP/med.py:421
Methodcreate_custom_forward
(module)
diffsynth/models/sdxl_unet.py:114
Methodcreate_custom_forward
(module)
diffsynth/models/hunyuan_video_vae_decoder.py:335
Methodcreate_custom_forward
(module)
diffsynth/models/sd3_dit.py:360
Methodcreate_custom_forward
(module)
diffsynth/models/hunyuan_video_vae_encoder.py:133
Methodcreate_custom_forward
(module)
diffsynth/models/wan_video_dit.py:652
Methodcreate_custom_forward
(module)
diffsynth/models/svd_unet.py:392
Methodcreate_custom_forward
(module)
diffsynth/models/hunyuan_dit.py:363
Methodcreate_custom_forward
(module)
diffsynth/models/cog_dit.py:302
Methodcreate_custom_forward
(module)
diffsynth/models/flux_dit.py:442
Functioncreate_loss
(args)
diffsynth/extensions/ImageQualityMetric/open_clip/factory.py:244
Functioncustom_forward
(*inputs)
diffsynth/distributed/xdit_context_parallel.py:71
Methodcustom_forward
(*inputs)
diffsynth/extensions/ImageQualityMetric/BLIP/med.py:422
Methodcustom_forward
(*inputs)
diffsynth/models/sdxl_unet.py:115
Methodcustom_forward
(*inputs)
diffsynth/models/hunyuan_video_vae_decoder.py:337
Methodcustom_forward
(*inputs)
diffsynth/models/sd3_dit.py:361
Methodcustom_forward
(*inputs)
diffsynth/models/hunyuan_video_vae_encoder.py:135
Methodcustom_forward
(*inputs)
diffsynth/models/wan_video_dit.py:653
Methodcustom_forward
(*inputs)
diffsynth/models/svd_unet.py:393
Methodcustom_forward
(*inputs)
diffsynth/models/hunyuan_dit.py:364
Methodcustom_forward
(*inputs)
diffsynth/models/cog_dit.py:303
Methodcustom_forward
(*inputs)
diffsynth/models/flux_dit.py:443
Methoddecode
(self, hidden_states, device, tiled=False, tile_size=(34, 34), tile_stride=(16, 16), smooth_scale=0.6)
diffsynth/models/stepvideo_vae.py:1103
Methoddecode
(self, hidden_states, device, tiled=False, tile_size=(34, 34), tile_stride=(18, 16))
diffsynth/models/wan_video_vae.py:806
Methoddecode
(self, latents, return_dict=None)
examples/WanVSR/utils/TCDecoder.py:288
Methoddecode_original
(self, z)
diffsynth/models/stepvideo_vae.py:989
Methoddecode_video
(self, latents, tile_size=(17, 32, 32), tile_stride=(12, 24, 24))
diffsynth/models/hunyuan_video_vae_decoder.py:488
Methoddecode_video
(self, sample, tiled=True, tile_size=(60, 90), tile_stride=(30, 45), progress_bar=lambda x:x)
diffsynth/models/cog_vae.py:238
Methoddecode_video
( self, sample, batch_time=8, batch_height=128, batch_width=128, stride_time=4, stride
diffsynth/models/svd_vae_decoder.py:165
Functiondefault_bert
()
diffsynth/extensions/ImageQualityMetric/BLIP/blip.py:16
Functiondefault_init
(cls, *args, **kwargs)
diffsynth/models/kolors_text_encoder.py:307
Methoddenoising_model
(self)
diffsynth/pipelines/flux_image.py:145
Methoddenoising_model
(self)
diffsynth/pipelines/sd3_image.py:26
Methoddenoising_model
(self)
diffsynth/pipelines/hunyuan_image.py:141
Methoddenoising_model
(self)
diffsynth/pipelines/omnigen_image.py:135
Methoddenoising_model
(self)
diffsynth/pipelines/sdxl_image.py:35
Methoddenoising_model
(self)
diffsynth/pipelines/wan_video.py:197
Functiondetect_frames
(frames_path, keyframes_path)
diffsynth/extensions/FastBlend/api.py:151
Methoddetokenize
(self, token_ids: List[int])
diffsynth/models/stepvideo_text_encoder.py:180
Functiondownload_customized_models
( model_id, origin_file_path, local_dir, downloading_priority: List[Preset_model_website] = ["
diffsynth/models/downloader.py:53
Functiondownload_from_huggingface
(model_id, origin_file_path, local_dir)
diffsynth/models/downloader.py:24
Functiondownload_from_modelscope
(model_id, origin_file_path, local_dir)
diffsynth/models/downloader.py:9
Functiondownload_preference_model
(model_name: preference_model_id, cache_dir="models")
diffsynth/extensions/ImageQualityMetric/__init__.py:136
Methodenable_auto_offload
(self, **kwargs)
diffsynth/models/hunyuan_video_text_encoder.py:12
Methodenable_auto_offload
(self, **kwargs)
diffsynth/models/hunyuan_video_text_encoder.py:58
Methodenable_block_wise_offload
(self, warm_device="cuda", cold_device="cpu")
diffsynth/models/hunyuan_video_dit.py:616
Methodenable_vram_management
(self, num_persistent_param_in_dit=None)
diffsynth/pipelines/flashvsr_tiny.py:177
Methodenable_vram_management
(self, num_persistent_param_in_dit=None)
diffsynth/pipelines/step_video.py:33
Methodenable_vram_management
(self, num_persistent_param_in_dit=None)
diffsynth/pipelines/flashvsr_full.py:177
Methodenable_vram_management
(self, num_persistent_param_in_dit=None)
diffsynth/pipelines/flux_image.py:41
Methodenable_vram_management
(self, num_persistent_param_in_dit=None)
diffsynth/pipelines/flashvsr_tiny_long.py:177
Methodencode
(self, x)
diffsynth/models/stepvideo_vae.py:973
Methodencode
(self, videos, device, tiled=False, tile_size=(34, 34), tile_stride=(18, 16))
diffsynth/models/wan_video_vae.py:788
Methodencode_image
(self, image, tiled=False, tile_size=64, tile_stride=32)
diffsynth/pipelines/hunyuan_image.py:166
Methodencode_image
(self, images, normalize=True)
diffsynth/extensions/ImageQualityMetric/open_clip/coca_model.py:142
Methodencode_image
(self, videos)
diffsynth/models/wan_video_image_encoder.py:864
Methodencode_prompt
(self, prompt, clip_skip=1, positive=True)
diffsynth/pipelines/omnigen_image.py:173
Methodencode_prompt
( self, prompt, positive=True, device="cuda", t5_sequence_length=512,
diffsynth/prompters/flux_prompter.py:56
Methodencode_prompt
( self, prompt, clip_skip=1, clip_skip_2=2, positive=True, dev
diffsynth/prompters/kolors_prompter.py:343
Methodencode_prompt
( self, prompt, positive=True, device="cuda", t5_sequence_length=77,
diffsynth/prompters/sd3_prompter.py:66
Methodencode_prompt
( self, prompt, clip_skip=1, clip_skip_2=2, positive=True, dev
diffsynth/prompters/sdxl_prompter.py:33
Methodencode_prompt
(self, prompt, positive=True, device="cuda")
diffsynth/prompters/wan_prompter.py:99
Methodencode_prompt
(self, prompt, positive=True, device="cuda")
diffsynth/prompters/stepvideo_prompter.py:44
Methodencode_prompt
(self, prompt, images=None, positive=True,
diffsynth/prompters/hunyuan_video_prompter.py:236
Methodencode_prompt
( self, prompt, clip_skip=1, clip_skip_2=1, positive=True, dev
diffsynth/prompters/hunyuan_dit_prompter.py:53
Methodencode_prompt
( self, prompt, positive=True, device="cuda" )
diffsynth/prompters/cog_prompter.py:38
Methodencode_text
(self, text, normalize=True, embed_cls=True)
diffsynth/extensions/ImageQualityMetric/open_clip/coca_model.py:146
Methodencode_video
(self, input_video, tiled=True, tile_size=(34, 34), tile_stride=(18, 16))
diffsynth/pipelines/flashvsr_tiny.py:273
Methodencode_video
(self, input_video, tiled=True, tile_size=(34, 34), tile_stride=(18, 16))
diffsynth/pipelines/flashvsr_full.py:293
Methodencode_video
(self, input_video, tiled=True, tile_size=(34, 34), tile_stride=(18, 16))
diffsynth/pipelines/flashvsr_tiny_long.py:273
Methodencode_video
(self, sample, batch_size=8)
diffsynth/models/sd_vae_encoder.py:80
Methodencode_video
(self, sample, tiled=True, tile_size=(60, 90), tile_stride=(30, 45), progress_bar=lambda x:x)
diffsynth/models/cog_vae.py:323
Methodencode_video
(self, latents, tile_size=(65, 256, 256), tile_stride=(48, 192, 192))
diffsynth/models/hunyuan_video_vae_encoder.py:287
Methodencode_video
(self, sample, batch_size=8)
diffsynth/models/sd3_vae_encoder.py:76
Methodeos_token
(self)
diffsynth/prompters/kolors_prompter.py:133
Methodeos_token_id
(self)
diffsynth/prompters/kolors_prompter.py:137
Methodextend_prompt
(self, prompt:str, positive=True)
diffsynth/prompters/base_prompter.py:66
Methodfeed_forward_chunk
(self, attention_output)
diffsynth/extensions/ImageQualityMetric/BLIP/med.py:372
Methodfetch_models
(self, text_encoder_1: SD3TextEncoder1 = None, text_encoder_2: FluxTextEncoder2 = None)
diffsynth/prompters/flux_prompter.py:27
Methodfetch_models
(self, text_encoder: ChatGLMModel = None)
diffsynth/prompters/kolors_prompter.py:320
Methodfetch_models
(self, text_encoder_1: SD3TextEncoder1 = None, text_encoder_2: SD3TextEncoder2 = None, text_encoder_3: SD3Text
diffsynth/prompters/sd3_prompter.py:33
Methodfetch_models
(self, text_encoder: SDXLTextEncoder = None, text_encoder_2: SDXLTextEncoder2 = None)
diffsynth/prompters/sdxl_prompter.py:28
Methodfetch_models
(self, text_encoder: SDTextEncoder = None)
diffsynth/prompters/sd_prompter.py:21
Methodfetch_models
(self, text_encoder: WanTextEncoder = None)
diffsynth/prompters/wan_prompter.py:96
Methodfetch_models
(self, text_encoder_1: HunyuanDiTCLIPTextEncoder = None, text_encoder_2: STEP1TextEncoder = None)
diffsynth/prompters/stepvideo_prompter.py:21
Methodfetch_models
(self, text_encoder_1: SD3TextEncoder1 = None, text_encoder_2: Union
diffsynth/prompters/hunyuan_video_prompter.py:94
Methodfetch_models
(self, text_encoder: HunyuanDiTCLIPTextEncoder = None, text_encoder_t5: HunyuanDiTT5TextEncoder = None)
diffsynth/prompters/hunyuan_dit_prompter.py:29
Methodfetch_models
(self, text_encoder: FluxTextEncoder2 = None)
diffsynth/prompters/cog_prompter.py:20
Functionflux_forward_fn
(hl, hr, wl, wr)
diffsynth/pipelines/flux_image.py:685
Methodforward
(self, *args, **kwargs)
diffsynth/vram_management/layers.py:33
Methodforward
(self, x, *args, **kwargs)
diffsynth/vram_management/layers.py:65
Methodforward
( self, hq_image: torch.Tensor, # (B, C, f, H, W) lq_image: torch.Tensor, # (B, C, f
diffsynth/pipelines/flashvsr_tiny.py:105
Methodforward
( self, hq_image: torch.Tensor, # (B, C, f, H, W) lq_image: torch.Tensor, # (B, C, f
diffsynth/pipelines/flashvsr_full.py:105
Methodforward
( self, hq_image: torch.Tensor, # (B, C, f, H, W) lq_image: torch.Tensor, # (B, C, f
diffsynth/pipelines/flashvsr_tiny_long.py:105
Methodforward
(self, x)
diffsynth/extensions/ESRGAN/__init__.py:18
Methodforward
(self, x)
diffsynth/extensions/ESRGAN/__init__.py:35
Methodforward
(self, x)
diffsynth/extensions/ESRGAN/__init__.py:56
← previousnext →1,401–1,500 of 2,110, ranked by callers