MCPcopy Create free account

hub / github.com/KlingAIResearch/SynCamMaster / functions

Functions1,885 in github.com/KlingAIResearch/SynCamMaster

↓ 4 callersMethodgelu
(self, gate: torch.Tensor)
diffsynth/models/stepvideo_dit.py:576
↓ 4 callersMethodget_image_features
(self, *args, **kwargs)
diffsynth/extensions/ImageQualityMetric/trainer/models/clip_model.py:113
↓ 4 callersFunctionimage_transform
( image_size: int, is_train: bool, mean: Optional[Tuple[float, ...]] = None, s
diffsynth/extensions/ImageQualityMetric/open_clip/transform.py:77
↓ 4 callersFunctionlets_dance_xl
( unet: SDXLUNet, motion_modules: SDXLMotionModel = None, controlnet: MultiControlNetManager = Non
diffsynth/pipelines/dancer.py:119
↓ 4 callersMethodpad_image
(self, image)
diffsynth/extensions/FastBlend/patch_match.py:37
↓ 4 callersMethodpatch_multiple_resolutions
(self, latents, padding_latent=None, is_input_images:bool=False)
diffsynth/models/omnigen.py:451
↓ 4 callersMethodprocess_mllm_input
(self, mllm_inputs, target_img_size)
diffsynth/prompters/omnigen_prompter.py:259
↓ 4 callersFunctionsafe_str
(x)
diffsynth/prompters/omost.py:95
↓ 4 callersMethodset_full_adapter
(self)
diffsynth/models/sd_ipadapter.py:26
↓ 4 callersMethodshape
(self)
diffsynth/extensions/FastBlend/data.py:129
↓ 4 callersMethodunpatchify
x: (N, T, patch_size**2 * C) imgs: (N, H, W, C)
diffsynth/models/omnigen.py:413
↓ 3 callersMethod__getitem__
(self, item)
diffsynth/data/video.py:120
↓ 3 callersMethod__init__
(self, num_feat, num_grow_ch=32)
diffsynth/extensions/ESRGAN/__init__.py:29
↓ 3 callersMethod__init__
(self, in_features, hidden_features=None, out_features=None, act_layer=nn.GELU, drop=0.)
diffsynth/extensions/ImageQualityMetric/BLIP/vit.py:22
↓ 3 callersMethod__init__
( self, in_channels: int = 3, out_channels: int = 16, eps=1e-6, dropou
diffsynth/models/hunyuan_video_vae_encoder.py:70
↓ 3 callersMethod__init__
(self, disable_guidance_embedder=False, num_joint_blocks=5, num_single_blocks=10, num_mode=0, mode_dict={}, ad
diffsynth/models/flux_controlnet.py:9
↓ 3 callersMethod__init__
(self)
diffsynth/models/cog_dit.py:109
↓ 3 callersMethod__init__
(self)
diffsynth/models/sdxl_ipadapter.py:44
↓ 3 callersFunction_build_text_tower
( embed_dim: int, text_cfg: CLIPTextCfg, quick_gelu: bool = False, cast_dtype:
diffsynth/extensions/ImageQualityMetric/open_clip/model.py:137
↓ 3 callersFunction_build_vision_tower
( embed_dim: int, vision_cfg: CLIPVisionCfg, quick_gelu: bool = False, cast_dt
diffsynth/extensions/ImageQualityMetric/open_clip/model.py:75
↓ 3 callersFunctionapply_rotary_emb
( xq: torch.Tensor, xk: torch.Tensor, freqs_cis, head_first: bool = False, )
diffsynth/models/hunyuan_video_dit.py:354
↓ 3 callersFunctionbase_conv3d
(x, conv_layer, channel_last=False, residual=None, only_return_output=False)
diffsynth/models/stepvideo_vae.py:74
↓ 3 callersFunctionbase_group_norm
(x, norm_layer, act_silu=False, channel_last=False)
diffsynth/models/stepvideo_vae.py:32
↓ 3 callersFunctionbase_group_norm_with_zero_pad
(x, norm_layer, act_silu=True, pad_size=2)
diffsynth/models/stepvideo_vae.py:405
↓ 3 callersFunctionbasic_clean
(text)
diffsynth/prompters/wan_prompter.py:11
↓ 3 callersMethodbuild_1d_mask
(self, length, left_bound, right_bound, border_width)
diffsynth/models/hunyuan_video_vae_decoder.py:408
↓ 3 callersMethodbuild_1d_mask
(self, length, left_bound, right_bound, border_width)
diffsynth/models/hunyuan_video_vae_encoder.py:207
↓ 3 callersMethodbuild_chat_input
(self, query, history=None, role="user")
diffsynth/prompters/kolors_prompter.py:203
↓ 3 callersFunctioncalc_out_
(in_size, padding, dilation, kernel, stride)
diffsynth/models/stepvideo_vae.py:115
↓ 3 callersMethoddecode
(self, t: List[int])
diffsynth/prompters/kolors_prompter.py:59
↓ 3 callersMethoddecode_image
(self, latent, tiled=False, tile_size=64, tile_stride=32)
diffsynth/pipelines/sd_image.py:75
↓ 3 callersMethoddecode_naive
(self, z, is_init=True)
diffsynth/models/stepvideo_vae.py:983
↓ 3 callersMethodencode_prompt
(self, prompt, positive=True, t5_sequence_length=77)
diffsynth/pipelines/sd3_image.py:62
↓ 3 callersMethodencode_prompt
(self, prompt, clip_skip=1, clip_skip_2=1, positive=True)
diffsynth/pipelines/hunyuan_image.py:177
↓ 3 callersMethodencode_prompt
(self, prompt, clip_skip=1, clip_skip_2=2, positive=True)
diffsynth/pipelines/sdxl_image.py:95
↓ 3 callersMethodestimate_nnf
(self, source_guide, target_guide, source_style, nnf)
diffsynth/extensions/FastBlend/patch_match.py:191
↓ 3 callersFunctionexists
(val)
diffsynth/extensions/ImageQualityMetric/trainer/models/cross_modeling.py:8
↓ 3 callersMethodfetch_tokenizer
(self, tokenizer_path=None)
diffsynth/prompters/wan_prompter.py:92
↓ 3 callersFunctionfreeze_batch_norm_2d
Converts all `BatchNorm2d` and `SyncBatchNorm` layers of provided module into `FrozenBatchNorm2d`. If `module` is itself an instance of eithe
diffsynth/extensions/ImageQualityMetric/open_clip/utils.py:8
↓ 3 callersMethodget_logits
(self, image_features, text_features, logit_scale)
diffsynth/extensions/ImageQualityMetric/open_clip/loss.py:103
↓ 3 callersFunctionget_model_config
(model_name)
diffsynth/extensions/ImageQualityMetric/open_clip/factory.py:70
↓ 3 callersFunctionget_tokenizer
(model_name, open_clip_bpe_path=None)
diffsynth/extensions/ImageQualityMetric/open_clip/factory.py:77
↓ 3 callersMethodinfer_architecture
(self, state_dict)
diffsynth/models/sd3_dit.py:390
↓ 3 callersMethodinit_weights
(self)
diffsynth/models/wan_video_image_encoder.py:582
↓ 3 callersFunctionlets_dance
( unet: SDUNet, motion_modules: SDMotionModel = None, controlnet: MultiControlNetManager = None,
diffsynth/pipelines/dancer.py:7
↓ 3 callersFunctionlets_dance_flux
( dit: FluxDiT, controlnet: FluxMultiControlNetManager = None, hidden_states=None, timestep=No
diffsynth/pipelines/flux_image.py:515
↓ 3 callersFunctionload_model_from_single_file
(state_dict, model_names, model_classes, model_resource, torch_dtype, device)
diffsynth/models/model_manager.py:56
↓ 3 callersMethodlock
lock modules Args: unlocked_groups (int): leave last n layer groups unlocked (default: 0)
diffsynth/extensions/ImageQualityMetric/open_clip/timm_model.py:85
↓ 3 callersFunctionmodulate
(x: torch.Tensor, shift: torch.Tensor, scale: torch.Tensor)
diffsynth/models/wan_video_dit.py:62
↓ 3 callersFunctionprecompute_freqs_cis
(dim: int, end: int = 1024, theta: float = 10000.0)
diffsynth/models/wan_video_dit.py:81
↓ 3 callersMethodprepare_extra_input
(self, latents=None)
diffsynth/pipelines/sd_image.py:86
↓ 3 callersMethodprepare_image_ids
(self, latents)
diffsynth/models/flux_dit.py:305
↓ 3 callersMethodprocess_multi_modal_prompt
(self, text, input_images)
diffsynth/prompters/omnigen_prompter.py:75
↓ 3 callersMethodresample_image
(self, images, level)
diffsynth/extensions/FastBlend/patch_match.py:234
↓ 3 callersMethodreturn_to_timestep
(self, timestep, sample, sample_stablized)
diffsynth/schedulers/ddim.py:81
↓ 3 callersMethodshift_nnf
(self, nnf, d)
diffsynth/extensions/FastBlend/patch_match.py:116
↓ 3 callersFunctionsinusoidal_embedding_1d
(dim, position)
diffsynth/models/wan_video_dit.py:66
↓ 3 callersMethodtile
(self, model_input, tile_size, tile_stride, tile_device, tile_dtype)
diffsynth/models/tiler.py:20
↓ 3 callersFunctiontokenize_long_prompt
(tokenizer, prompt, max_length=None)
diffsynth/prompters/base_prompter.py:6
↓ 2 callersMethod__getitem__
(self, item)
diffsynth/extensions/FastBlend/data.py:136
↓ 2 callersMethod__init__
(self, c2w)
train_syncammaster.py:166
↓ 2 callersMethod__init__
(self, model_path: str)
diffsynth/prompters/kolors_prompter.py:13
↓ 2 callersMethod__init__
(self, tokenizer_path=None, model=None, system_prompt="")
diffsynth/prompters/prompt_refiners.py:60
↓ 2 callersMethod__init__
(self, input_size)
diffsynth/extensions/ImageQualityMetric/imagereward.py:25
↓ 2 callersMethod__init__
(self, inplanes, planes, stride=1)
diffsynth/extensions/ImageQualityMetric/open_clip/modified_resnet.py:13
↓ 2 callersMethod__init__
(self, **kwargs)
diffsynth/extensions/RIFE/__init__.py:61
↓ 2 callersMethod__init__
(self)
diffsynth/models/svd_vae_decoder.py:72
↓ 2 callersMethod__init__
(self, cross_attention_dim=768, id_embeddings_dim=512, num_tokens=4)
diffsynth/models/flux_ipadapter.py:8
↓ 2 callersMethod__init__
(self, num_attention_heads, attention_head_dim, in_channels, num_layers=1, norm_num_groups=32, eps=1e-5)
diffsynth/models/sd_motion.py:54
↓ 2 callersMethod__init__
(self, vocab_size=49408)
diffsynth/models/sd3_text_encoder.py:8
↓ 2 callersMethod__len__
(self)
diffsynth/data/video.py:107
↓ 2 callersMethod_calculate_score
Calculate the aesthetic score for a single image. Args: image (torch.Tensor): The processed image tensor. Returns:
diffsynth/extensions/ImageQualityMetric/aesthetic.py:76
↓ 2 callersMethod_calculate_score
Calculate the CLIP score for a single image and prompt. Args: image (torch.Tensor): The processed image tensor. promp
diffsynth/extensions/ImageQualityMetric/clip.py:44
↓ 2 callersMethod_calculate_score
Calculate the reward score for a single image and prompt. Args: image (torch.Tensor): The processed image tensor. pro
diffsynth/extensions/ImageQualityMetric/mps.py:45
↓ 2 callersMethod_calculate_score
Calculate the HPS score for a single image and prompt. Args: image (torch.Tensor): The processed image tensor. prompt
diffsynth/extensions/ImageQualityMetric/hps.py:62
↓ 2 callersMethod_calculate_score
Calculate the score for a single image and prompt. Args: prompt (str): The prompt text. image (torch.Tensor): The pro
diffsynth/extensions/ImageQualityMetric/imagereward.py:125
↓ 2 callersMethod_calculate_score
Calculate the score for a single image and prompt. Args: image (torch.Tensor): The processed image tensor. prompt (st
diffsynth/extensions/ImageQualityMetric/pickscore.py:22
↓ 2 callersMethod_encode_text
(self, text, normalize=True, embed_cls=True)
diffsynth/extensions/ImageQualityMetric/open_clip/coca_model.py:136
↓ 2 callersMethod_filter2d
(self, input, kernel)
diffsynth/pipelines/svd_video.py:248
↓ 2 callersMethod_gaussian
(self, window_size: int, sigma)
diffsynth/pipelines/svd_video.py:271
↓ 2 callersMethod_global_pool
(self, x: torch.Tensor)
diffsynth/extensions/ImageQualityMetric/open_clip/transformer.py:452
↓ 2 callersFunction_rescan_model_configs
()
diffsynth/extensions/ImageQualityMetric/open_clip/factory.py:33
↓ 2 callersMethodalign_res_stack_to_original_blocks
(self, res_stack, num_blocks, hidden_states)
diffsynth/models/flux_controlnet.py:51
↓ 2 callersMethodapply_rope1d
(self, tokens, pos1d, cos, sin)
diffsynth/models/stepvideo_dit.py:389
↓ 2 callersMethodapply_rope3d
(self, x, fhw_positions, rope_ch_split, parallel=True)
diffsynth/models/stepvideo_dit.py:473
↓ 2 callersMethodapply_rotary_emb
(self, xq, xk, freqs_cis)
diffsynth/models/hunyuan_dit.py:25
↓ 2 callersMethodapply_rotary_emb
(self, x, freqs_cis)
diffsynth/models/cog_dit.py:61
↓ 2 callersFunctionapply_rotary_pos_emb
(x: torch.Tensor, rope_cache: torch.Tensor)
diffsynth/models/kolors_text_encoder.py:419
↓ 2 callersMethodattention
( self, q_x: torch.Tensor, k_x: Optional[torch.Tensor] = None,
diffsynth/extensions/ImageQualityMetric/open_clip/transformer.py:217
↓ 2 callersMethodattn_processor
(self, attn_type)
diffsynth/models/stepvideo_dit.py:330
↓ 2 callersFunctionbase_conv2d
(x, conv_layer, channel_last=False, residual=None)
diffsynth/models/stepvideo_vae.py:62
↓ 2 callersFunctionbase_conv3d_channel_last
(x, conv_layer, residual=None)
diffsynth/models/stepvideo_vae.py:120
↓ 2 callersFunctionbasic_clean
(text)
diffsynth/extensions/ImageQualityMetric/open_clip/tokenizer.py:63
↓ 2 callersMethodbuild_1d_mask
(self, length, left_bound, right_bound, border_width)
diffsynth/models/stepvideo_vae.py:1032
↓ 2 callersMethodbuild_1d_mask
(self, length, left_bound, right_bound, border_width)
diffsynth/models/wan_video_vae.py:621
↓ 2 callersMethodbuild_mask
(self, data, is_bound, border_width)
diffsynth/models/wan_video_vae.py:630
↓ 2 callersFunctionbuild_model_from_openai_state_dict
( state_dict: dict, quick_gelu=True, cast_dtype=torch.float16, )
diffsynth/extensions/ImageQualityMetric/open_clip/model.py:354
↓ 2 callersMethodbuild_single_message
(self, role, metadata, message)
diffsynth/prompters/kolors_prompter.py:196
↓ 2 callersFunctionbytes_to_unicode
Returns list of utf-8 byte and a corresponding list of unicode strings. The reversible bpe codes work on unicode strings. This means you
diffsynth/extensions/ImageQualityMetric/open_clip/tokenizer.py:29
↓ 2 callersMethodcheck
(self, dit: HunyuanVideoDiT, img, vec)
diffsynth/pipelines/hunyuan_video.py:261
← previousnext →101–200 of 1,885, ranked by callers