MCPcopy Create free account

hub / github.com/AlayaLab/AlayaRenderer / functions

Functions1,613 in github.com/AlayaLab/AlayaRenderer

↓ 1 callersFunctionadd_training_config
(parser: argparse.ArgumentParser)
game_editing/diffsynth/diffusion/parsers.py:33
↓ 1 callersMethodafter_patch_embedding
(self, x: List[torch.Tensor], pose_latents, face_pixel_values)
game_editing/diffsynth/models/wan_video_animate_adapter.py:623
↓ 1 callersMethodalign_trajectory
(self, pipe: BasePipeline, timesteps_teacher, trajectory_teacher, inputs_shared, inputs_posi, inputs_nega, num
game_editing/diffsynth/diffusion/loss.py:70
↓ 1 callersMethodapply_controlnet_mask_on_image
(self, pipe, image, mask)
game_editing/diffsynth/pipelines/flux_image.py:466
↓ 1 callersMethodapply_controlnet_mask_on_image
(self, pipe, image, mask)
game_editing/diffsynth/pipelines/qwen_image.py:501
↓ 1 callersMethodapply_controlnet_mask_on_latents
(self, pipe, latents, mask)
game_editing/diffsynth/pipelines/flux_image.py:459
↓ 1 callersMethodapply_controlnet_mask_on_latents
(self, pipe, latents, mask)
game_editing/diffsynth/pipelines/qwen_image.py:494
↓ 1 callersFunctionapply_interleaved_rotary_emb
( input_tensor: torch.Tensor, cos_freqs: torch.Tensor, sin_freqs: torch.Tensor )
game_editing/diffsynth/models/ltx2_dit.py:275
↓ 1 callersFunctionapply_multimodal_rotary_pos_emb
(q, k, cos, sin, mrope_section, unsqueeze_dim=1)
game_editing/diffsynth/models/nexus_gen_projector.py:15
↓ 1 callersMethodapply_rope
(self, xq, xk, freqs_cis)
game_editing/diffsynth/models/flux_dit.py:65
↓ 1 callersMethodapply_rope
(self, xq, xk, freqs_cis)
game_editing/diffsynth/models/flux_dit.py:164
↓ 1 callersMethodapply_rope
(self, xq, xk, freqs_cis)
game_editing/diffsynth/models/flux_dit.py:220
↓ 1 callersFunctionapply_split_rotary_emb
( input_tensor: torch.Tensor, cos_freqs: torch.Tensor, sin_freqs: torch.Tensor )
game_editing/diffsynth/models/ltx2_dit.py:288
↓ 1 callersMethodattention_mask
(self, length)
game_editing/diffsynth/models/flux_lora_encoder.py:148
↓ 1 callersMethodattention_mask
(self, length)
game_editing/diffsynth/models/sd_text_encoder.py:149
↓ 1 callersMethodattention_mask
(self, length)
game_editing/diffsynth/models/flux_text_encoder_clip.py:94
↓ 1 callersMethodauto_detect_lora_target_modules
( self, model: torch.nn.Module, search_for_linear=False, linear_detector=lambd
game_editing/diffsynth/diffusion/training_module.py:154
↓ 1 callersMethodauto_load_model
(self, path, vram_config=None, vram_limit=None, clear_parameters=False, state_dict=None)
game_editing/diffsynth/models/model_loader.py:63
↓ 1 callersMethodblend_with_mask
(self, base, addition, mask)
game_editing/diffsynth/diffusion/base_pipeline.py:207
↓ 1 callersMethodblockwise_forward
(self, image, conditionings: list[torch.Tensor], controlnet_inputs: list[ControlNetInput], progress_id, num_in
game_editing/diffsynth/pipelines/qwen_image.py:216
↓ 1 callersMethodbound_image
(self, image, max_pixels=262640)
game_editing/diffsynth/models/nexus_gen.py:81
↓ 1 callersFunctionbroadcat
(tensors, dim=-1)
game_editing/diffsynth/models/longcat_video_dit.py:30
↓ 1 callersMethodbuild_1d_mask
(self, length, left_bound, right_bound, border_width)
game_editing/diffsynth/pipelines/wan_video.py:1078
↓ 1 callersMethodbuild_chains
(self, units: list[PipelineUnit])
game_editing/diffsynth/diffusion/base_pipeline.py:351
↓ 1 callersFunctionbuild_downsampling_path
Build the downsampling path with residual blocks, attention, and downsampling layers.
game_editing/diffsynth/models/ltx2_audio_vae.py:607
↓ 1 callersMethodbuild_edges
(self, units: list[PipelineUnit])
game_editing/diffsynth/diffusion/base_pipeline.py:338
↓ 1 callersMethodbuild_mask
(self, data, is_bound)
game_editing/diffsynth/pipelines/flux_image.py:956
↓ 1 callersMethodbuild_mask
(self, data, is_bound, border_width)
game_editing/diffsynth/pipelines/wan_video.py:1090
↓ 1 callersFunctionbuild_style_prompt
Build a styled prompt from the original caption and a style hint. - style_hint is None => return original caption as-is - style_hint is a str
game_editing/examples/wanvideo/model_inference/inference_gbuffer_caption.py:46
↓ 1 callersFunctionbuild_upsampling_path
Build the upsampling path with residual blocks, attention, and upsampling layers.
game_editing/diffsynth/models/ltx2_audio_vae.py:706
↓ 1 callersMethodcalculate_dimensions
(self, target_area, ratio)
game_editing/diffsynth/pipelines/flux2_image.py:473
↓ 1 callersMethodcalculate_dimensions
(self, target_area, ratio)
game_editing/diffsynth/pipelines/qwen_image.py:338
↓ 1 callersMethodcalculate_dimensions
(self, target_area, ratio)
game_editing/diffsynth/pipelines/qwen_image.py:538
↓ 1 callersFunctioncanonicalize
(text, keep_punctuation_exact_string=None)
game_editing/diffsynth/models/wan_video_text_encoder.py:272
↓ 1 callersMethodcast_to
(self, module, dtype, device)
game_editing/diffsynth/core/vram/layers.py:177
↓ 1 callersMethodcheck
(self, dit: FluxDiT, hidden_states, conditioning)
game_editing/diffsynth/pipelines/flux_image.py:918
↓ 1 callersMethodcheck
(self, dit: WanModel, x, t_mod)
game_editing/diffsynth/pipelines/wan_video.py:1042
↓ 1 callersMethodcheck_input
(self)
game_editing/diffsynth/core/loader/config.py:28
↓ 1 callersMethodclear_parameters
(self, model: torch.nn.Module)
game_editing/diffsynth/models/model_loader.py:108
↓ 1 callersFunctionclip_xlm_roberta_vit_h_14
( pretrained=False, pretrained_name='open-clip-xlm-roberta-large-vit-huge-14', **kwarg
game_editing/diffsynth/models/wan_video_image_encoder.py:822
↓ 1 callersMethodcomputation
(self)
game_editing/diffsynth/core/vram/layers.py:180
↓ 1 callersMethodcomputation
(self)
game_editing/diffsynth/core/vram/layers.py:395
↓ 1 callersMethodcompute_empirical_mu
(image_seq_len, num_steps)
game_editing/diffsynth/diffusion/flow_match.py:98
↓ 1 callersMethodcompute_freqs_mot
(self, f, h, w, end: int = 1024, theta: float = 10000.0)
game_editing/diffsynth/models/wan_video_mot.py:146
↓ 1 callersMethodcompute_regularization
(self, pipe: BasePipeline, trajectory_teacher, inputs_shared, inputs_posi, inputs_nega, num_inference_steps, c
game_editing/diffsynth/diffusion/loss.py:98
↓ 1 callersMethodconstruct_mask
(self, entity_masks, prompt_seq_len, image_seq_len)
game_editing/diffsynth/models/flux_dit.py:323
↓ 1 callersFunctionconvert_keys_dict_to_single_str
(state_dict, with_shape=True)
game_editing/diffsynth/core/loader/file.py:110
↓ 1 callersMethodconvert_state_dict
(self, state_dict, suffix=".weight")
game_editing/diffsynth/utils/lora/general.py:33
↓ 1 callersFunctionconvert_state_dict_to_keys_dict
(state_dict)
game_editing/diffsynth/core/loader/file.py:94
↓ 1 callersFunctioncreate_tiles
( latent_shape: torch.Size, splitters: List[SplitOperation], mappers: List[MappingOperation], )
game_editing/diffsynth/models/ltx2_video_vae.py:1175
↓ 1 callersFunctioncreate_tiles_from_intervals_and_mappers
( intervals: LatentIntervals, mappers: List[MappingOperation], )
game_editing/diffsynth/models/ltx2_video_vae.py:1145
↓ 1 callersFunctioncrop_and_resize
(image, height, width)
game_editing/diffsynth/utils/data/__init__.py:67
↓ 1 callersMethodcrop_and_resize
(self, image, target_height, target_width)
game_editing/diffsynth/core/data/operators.py:75
↓ 1 callersMethodcrop_and_resize
(self, image, target_height, target_width)
game_editing/diffsynth/pipelines/flux2_image.py:481
↓ 1 callersFunctioncustom_meshgrid
(*args)
game_editing/diffsynth/models/wan_video_camera_controller.py:109
↓ 1 callersFunctioncustom_qr
(input_tensor)
game_editing/diffsynth/models/wan_video_animate_adapter.py:314
↓ 1 callersFunctiondecode_single_frame
(video_file: str)
game_editing/diffsynth/utils/data/media_io_ltx2.py:130
↓ 1 callersFunctiondecomposite
(tensor_A, tensor_B, rank)
game_editing/diffsynth/utils/lora/reset_rank.py:3
↓ 1 callersMethoddefault
(cls)
game_editing/diffsynth/models/ltx2_common.py:31
↓ 1 callersMethoddefault_lora_patterns
(self)
game_editing/diffsynth/models/flux_lora_encoder.py:449
↓ 1 callersMethoddefault_lora_patterns
(self)
game_editing/diffsynth/models/flux_lora_patcher.py:284
↓ 1 callersMethoddefault_vram_config
(self)
game_editing/diffsynth/models/model_loader.py:50
↓ 1 callersMethoddisable_all_loras
(self)
game_editing/diffsynth/models/longcat_video_dit.py:746
↓ 1 callersMethoddownload
(self)
game_editing/diffsynth/core/loader/config.py:61
↓ 1 callersMethodedit_image_auto_resize
(self, edit_image)
game_editing/diffsynth/pipelines/flux2_image.py:492
↓ 1 callersMethodenable_usp
(self)
game_editing/diffsynth/pipelines/wan_video.py:85
↓ 1 callersFunctionenable_vram_management_recursively
(model: torch.nn.Module, module_map: dict, vram_config: dict, vram_limit=None, name_prefix="", disk_map=None,
game_editing/diffsynth/core/vram/layers.py:439
↓ 1 callersMethodencode_images
(self, pipe: ZImagePipeline, images: list[Image.Image])
game_editing/diffsynth/pipelines/z_image.py:526
↓ 1 callersMethodencode_images
(self, pipe: QwenImagePipeline, images: list[Image.Image])
game_editing/diffsynth/pipelines/qwen_image.py:631
↓ 1 callersMethodencode_images_using_dinov3
(self, pipe: ZImagePipeline, images: list[Image.Image])
game_editing/diffsynth/pipelines/z_image.py:517
↓ 1 callersMethodencode_images_using_dinov3
(self, pipe: QwenImagePipeline, images: list[Image.Image])
game_editing/diffsynth/pipelines/qwen_image.py:613
↓ 1 callersMethodencode_images_using_siglip2
(self, pipe: ZImagePipeline, images: list[Image.Image])
game_editing/diffsynth/pipelines/z_image.py:508
↓ 1 callersMethodencode_images_using_siglip2
(self, pipe: QwenImagePipeline, images: list[Image.Image])
game_editing/diffsynth/pipelines/qwen_image.py:604
↓ 1 callersMethodencode_prompt
( self, pipe, prompt: Union[str, List[str]], device: Optional[torch.device] =
game_editing/diffsynth/pipelines/z_image.py:187
↓ 1 callersMethodencode_prompt
( self, text_encoder, tokenizer, prompt: Union[str, List[str]], dtype
game_editing/diffsynth/pipelines/flux2_image.py:253
↓ 1 callersMethodencode_prompt
( self, text_encoder: ZImageTextEncoder, tokenizer: AutoTokenizer, prompt: Uni
game_editing/diffsynth/pipelines/flux2_image.py:386
↓ 1 callersMethodencode_prompt
( self, tokenizer_1, tokenizer_2, text_encoder_1, text_encoder_2,
game_editing/diffsynth/pipelines/flux_image.py:373
↓ 1 callersMethodencode_prompt
( self, tokenizer_1, tokenizer_2, text_encoder_1, text_encoder_2,
game_editing/diffsynth/pipelines/flux_image.py:554
↓ 1 callersMethodencode_prompt
(self, pipe, text, padding_side="left")
game_editing/diffsynth/pipelines/ltx2_audio_video.py:405
↓ 1 callersMethodencode_prompt
(self, pipe: WanVideoPipeline, prompt)
game_editing/diffsynth/pipelines/wan_video.py:409
↓ 1 callersMethodencode_prompt
(self, pipe: QwenImagePipeline, prompt)
game_editing/diffsynth/pipelines/qwen_image.py:349
↓ 1 callersMethodencode_prompt_edit
(self, pipe: QwenImagePipeline, prompt, edit_image)
game_editing/diffsynth/pipelines/qwen_image.py:361
↓ 1 callersMethodencode_prompt_edit
(self, pipe: QwenImagePipeline, prompt, edit_image)
game_editing/diffsynth/pipelines/qwen_image.py:590
↓ 1 callersMethodencode_prompt_edit_multi
(self, pipe: QwenImagePipeline, prompt, edit_image)
game_editing/diffsynth/pipelines/qwen_image.py:371
↓ 1 callersMethodencode_prompt_omni
( self, pipe, prompt: Union[str, List[str]], edit_image=None, device:
game_editing/diffsynth/pipelines/z_image.py:233
↓ 1 callersMethodencode_prompt_using_clip
(self, prompt, text_encoder, tokenizer, max_length, device)
game_editing/diffsynth/pipelines/flux_image.py:351
↓ 1 callersMethodencode_prompt_using_clip
(self, prompt, text_encoder, tokenizer, max_length, device)
game_editing/diffsynth/pipelines/flux_image.py:532
↓ 1 callersMethodencode_prompt_using_t5
(self, prompt, text_encoder, tokenizer, max_length, device)
game_editing/diffsynth/pipelines/flux_image.py:362
↓ 1 callersMethodencode_prompt_using_t5
(self, prompt, text_encoder, tokenizer, max_length, device)
game_editing/diffsynth/pipelines/flux_image.py:543
↓ 1 callersFunctionencode_single_frame
(output_file: str, image_array: np.ndarray, crf: float)
game_editing/diffsynth/utils/data/media_io_ltx2.py:113
↓ 1 callersFunctionexpand_patch_embedding
Expand DiT's patch_embedding Conv3d to accept additional G-buffer latent channels. New channels are zero-initialized so the model starts equi
game_editing/examples/wanvideo/model_inference/gbuffer_utils.py:38
↓ 1 callersMethodextract_arcface_bgr_embedding
(self, in_image, landmark, device)
game_editing/diffsynth/pipelines/flux_image.py:822
↓ 1 callersMethodextract_audio_feat
(self, input_audio, sample_rate, processor, return_all_layers=False, dtype=torch.float32, device='cpu')
game_editing/diffsynth/models/wav2vec.py:102
↓ 1 callersMethodextract_masked_hidden
(self, hidden_states: torch.Tensor, mask: torch.Tensor)
game_editing/diffsynth/pipelines/qwen_image.py:413
↓ 1 callersMethodextract_masked_hidden
(self, hidden_states: torch.Tensor, mask: torch.Tensor)
game_editing/diffsynth/pipelines/qwen_image.py:583
↓ 1 callersMethodfetch_module_map
(self, model_class, vram_config)
game_editing/diffsynth/models/model_loader.py:22
↓ 1 callersMethodfetch_rename_dict
(self, state_dict_converter)
game_editing/diffsynth/core/vram/disk_map.py:73
↓ 1 callersMethodfetch_trajectory
(self, pipe: BasePipeline, timesteps_student, inputs_shared, inputs_posi, inputs_nega, num_inference_steps, cf
game_editing/diffsynth/diffusion/loss.py:53
↓ 1 callersFunctionfill_vram_config
(model, vram_config)
game_editing/diffsynth/core/vram/layers.py:455
↓ 1 callersFunctionflash_attention_2
(q: torch.Tensor, k: torch.Tensor, v: torch.Tensor, q_pattern="b n s d", k_pattern="b n s d", v_pattern="b n s
game_editing/diffsynth/core/attention/attention.py:84
← previousnext →301–400 of 1,613, ranked by callers