MCPcopy Create free account

hub / github.com/cosmicman-cvpr2024/CosmicMan / functions

Functions6,241 in github.com/cosmicman-cvpr2024/CosmicMan

↓ 1 callersMethod_temp_convert_self_to_deprecated_attention_blocks
(self)
diffusers/src/diffusers/models/modeling_utils.py:966
↓ 1 callersMethod_test_if
(self, pipe_1, pipe_2, prompt_embeds, negative_prompt_embeds)
diffusers/tests/pipelines/deepfloyd_if/test_if.py:162
↓ 1 callersMethod_test_if_img2img
(self, pipe_1, pipe_2, prompt_embeds, negative_prompt_embeds)
diffusers/tests/pipelines/deepfloyd_if/test_if.py:217
↓ 1 callersMethod_test_if_inpainting
(self, pipe_1, pipe_2, prompt_embeds, negative_prompt_embeds)
diffusers/tests/pipelines/deepfloyd_if/test_if.py:278
↓ 1 callersMethod_test_pt_np_pil_outputs_equivalent
(self, expected_max_diff=1e-4, input_image_type="pt")
diffusers/tests/pipelines/test_pipelines_common.py:96
↓ 1 callersMethod_threshold_sample
"Dynamic thresholding: At each sampling step we set s to a certain percentile absolute pixel value in xt0 (the prediction of x_0 at t
diffusers/src/diffusers/schedulers/scheduling_deis_multistep.py:261
↓ 1 callersMethod_threshold_sample
"Dynamic thresholding: At each sampling step we set s to a certain percentile absolute pixel value in xt0 (the prediction of x_0 at t
diffusers/src/diffusers/schedulers/scheduling_unipc_multistep.py:263
↓ 1 callersMethod_threshold_sample
"Dynamic thresholding: At each sampling step we set s to a certain percentile absolute pixel value in xt0 (the prediction of x_0 at t
diffusers/src/diffusers/schedulers/scheduling_ddim.py:268
↓ 1 callersMethod_threshold_sample
"Dynamic thresholding: At each sampling step we set s to a certain percentile absolute pixel value in xt0 (the prediction of x_0 at t
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_singlestep.py:298
↓ 1 callersFunction_tile2latent_exclusive_indices
Given a tile row and column numbers returns the range of latents affected only by that tile in the overall image Returns a tuple with: -
diffusers/examples/community/mixture_tiling.py:87
↓ 1 callersFunction_tile2pixel_indices
Given a tile row and column numbers returns the range of pixels affected by that tiles in the overall image Returns a tuple with: - Start
diffusers/examples/community/mixture_tiling.py:51
↓ 1 callersMethod_undo_temp_convert_self_to_deprecated_attention_blocks
(self)
diffusers/src/diffusers/models/modeling_utils.py:993
↓ 1 callersMethodactivate
(self)
diffusers/examples/community/stable_diffusion_tensorrt_inpaint.py:161
↓ 1 callersMethodactivate
(self)
diffusers/examples/community/stable_diffusion_tensorrt_txt2img.py:146
↓ 1 callersMethodactivate
(self)
diffusers/examples/community/stable_diffusion_tensorrt_img2img.py:160
↓ 1 callersMethodadd_noise
( self, original_samples: torch.FloatTensor, noise: torch.FloatTensor, timeste
diffusers/src/diffusers/schedulers/scheduling_ddim.py:470
↓ 1 callersMethodadd_noise_to_input
Explicit Langevin-like "churn" step of adding noise to the sample according to a factor gamma_i ≥ 0 to reach a higher noise level sig
diffusers/src/diffusers/schedulers/scheduling_karras_ve.py:135
↓ 1 callersFunctionadd_overlap_rect
(rect: [int], overlap: int, image_size: [int])
diffusers/examples/community/tiled_upscaling.py:65
↓ 1 callersMethodadd_placeholder_tokens
(self, placeholder_token, *args, num_vec_per_token=1, **kwargs)
diffusers/examples/research_projects/mulit_token_textual_inversion/multi_token_clip.py:45
↓ 1 callersMethodaggregate_attention
Aggregates the attention across the different layers and heads at the specified resolution.
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_attend_and_excite.py:97
↓ 1 callersMethodallocate_buffers
(self, shape_dict=None, device="cuda")
diffusers/examples/community/stable_diffusion_tensorrt_inpaint.py:164
↓ 1 callersMethodallocate_buffers
(self, shape_dict=None, device="cuda")
diffusers/examples/community/stable_diffusion_tensorrt_txt2img.py:149
↓ 1 callersMethodallocate_buffers
(self, shape_dict=None, device="cuda")
diffusers/examples/community/stable_diffusion_tensorrt_img2img.py:163
↓ 1 callersFunctionalpha_schedules
Cumulative and non-cumulative alpha schedules. See section 4.1.
diffusers/src/diffusers/schedulers/scheduling_vq_diffusion.py:72
↓ 1 callersFunctionalpha_sigma_to_t
Returns a timestep, given the scaling factors for the clean image and for the noise.
diffusers/scripts/convert_dance_diffusion_to_diffusers.py:49
↓ 1 callersFunctionanalyze_results
Analyze the differences between _import_structure objects and TYPE_CHECKING objects found in an init.
diffusers/utils/check_inits.py:190
↓ 1 callersMethodapply_cumulative_transitions
(self, q, t)
diffusers/src/diffusers/schedulers/scheduling_vq_diffusion.py:484
↓ 1 callersFunctionapply_style
(style_name: str, positive: str, negative: str = "")
demo_sdxl.py:87
↓ 1 callersMethodaudio_slice_to_image
Convert slice of audio to spectrogram. Args: slice (`int`): slice number of audio to convert (out of get_number_of_slices())
diffusers/src/diffusers/pipelines/audio_diffusion/mel.py:128
↓ 1 callersFunctionaudio_to_frames
Convert audio samples to non-overlapping frames and frame times.
diffusers/src/diffusers/pipelines/spectrogram_diffusion/midi_utils.py:279
↓ 1 callersFunctionauto_corr_loss
(hidden_states, generator=None)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_diffedit.py:140
↓ 1 callersMethodauto_corr_loss
(self, hidden_states, generator=None)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_pix2pix_zero.py:755
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
diffusers/src/diffusers/schedulers/scheduling_pndm.py:28
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
diffusers/src/diffusers/schedulers/scheduling_lms_discrete.py:48
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
diffusers/src/diffusers/schedulers/scheduling_ddpm.py:47
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_sde.py:80
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
diffusers/src/diffusers/schedulers/scheduling_repaint.py:46
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
diffusers/src/diffusers/schedulers/scheduling_k_dpm_2_ancestral_discrete.py:28
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
diffusers/src/diffusers/schedulers/scheduling_ddim_parallel.py:50
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
diffusers/src/diffusers/schedulers/scheduling_unclip.py:47
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
diffusers/src/diffusers/schedulers/scheduling_euler_ancestral_discrete.py:50
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
diffusers/src/diffusers/schedulers/scheduling_deis_multistep.py:29
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
diffusers/src/diffusers/schedulers/scheduling_k_dpm_2_discrete.py:27
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep_inverse.py:29
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
diffusers/src/diffusers/schedulers/scheduling_euler_discrete.py:50
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_multistep.py:29
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
diffusers/src/diffusers/schedulers/scheduling_unipc_multistep.py:28
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
diffusers/src/diffusers/schedulers/scheduling_utils_flax.py:187
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
diffusers/src/diffusers/schedulers/scheduling_ddim.py:50
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
diffusers/src/diffusers/schedulers/scheduling_ddpm_parallel.py:49
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
diffusers/src/diffusers/schedulers/scheduling_ddim_inverse.py:49
↓ 1 callersFunctionbetas_for_alpha_bar
Create a beta schedule that discretizes the given alpha_t_bar function, which defines the cumulative product of (1-beta) over time from t = [
diffusers/src/diffusers/schedulers/scheduling_dpmsolver_singlestep.py:32
↓ 1 callersMethodbetween_steps
(self)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_attend_and_excite.py:89
↓ 1 callersFunctionbits_to_decimal
expects bits from -1 to 1, outputs image tensor from 0 to 1
diffusers/examples/community/bit_diffusion.py:31
↓ 1 callersFunctionblackify
Applies the black part of our `make style` command to `code`.
diffusers/utils/check_copies.py:103
↓ 1 callersMethodbuild
( self, onnx_path, fp16, input_profile=None, enable_preview=False,
diffusers/examples/community/stable_diffusion_tensorrt_inpaint.py:122
↓ 1 callersMethodbuild
( self, onnx_path, fp16, input_profile=None, enable_preview=False,
diffusers/examples/community/stable_diffusion_tensorrt_txt2img.py:107
↓ 1 callersMethodbuild
( self, onnx_path, fp16, input_profile=None, enable_preview=False,
diffusers/examples/community/stable_diffusion_tensorrt_img2img.py:121
↓ 1 callersFunctionbuild_engines
( models: dict, engine_dir, onnx_dir, onnx_opset, opt_image_height, opt_image_width,
diffusers/examples/community/stable_diffusion_tensorrt_inpaint.py:316
↓ 1 callersFunctionbuild_engines
( models: dict, engine_dir, onnx_dir, onnx_opset, opt_image_height, opt_image_width,
diffusers/examples/community/stable_diffusion_tensorrt_txt2img.py:301
↓ 1 callersFunctionbuild_engines
( models: dict, engine_dir, onnx_dir, onnx_opset, opt_image_height, opt_image_width,
diffusers/examples/community/stable_diffusion_tensorrt_img2img.py:315
↓ 1 callersFunctioncamel_case_split
Split a camelcased `identifier` into words.
diffusers/utils/check_table.py:75
↓ 1 callersFunctioncheck_all_decorator_order
Check that in all test files, the slow decorator is always last.
diffusers/utils/check_repo.py:515
↓ 1 callersFunctioncheck_all_inits
Check all inits in the transformers repo and raise an error if at least one does not define the same objects in both halves.
diffusers/utils/check_inits.py:222
↓ 1 callersFunctioncheck_all_models_are_auto_configured
Check all models are each in an auto class.
diffusers/utils/check_repo.py:460
↓ 1 callersFunctioncheck_all_models_are_tested
Check all models are properly tested.
diffusers/utils/check_repo.py:397
↓ 1 callersFunctioncheck_all_objects_are_documented
Check all models are properly documented.
diffusers/utils/check_repo.py:659
↓ 1 callersFunctioncheck_config_docstrings_have_checkpoints
()
diffusers/utils/check_config_docstrings.py:53
↓ 1 callersFunctioncheck_copies
(overwrite: bool = False)
diffusers/utils/check_copies.py:193
↓ 1 callersFunctioncheck_decorator_order
Check that in the test file `filename` the slow decorator is always last.
diffusers/utils/check_repo.py:497
↓ 1 callersFunctioncheck_docstrings_are_in_md
Check all docstrings are in md
diffusers/utils/check_repo.py:722
↓ 1 callersFunctioncheck_dummies
Check if the dummy files are up to date and maybe `overwrite` with the right content.
diffusers/utils/check_dummies.py:129
↓ 1 callersMethodcheck_image
(self, image, prompt, prompt_embeds)
diffusers/src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl.py:486
↓ 1 callersMethodcheck_image
(self, image, prompt, prompt_embeds)
diffusers/src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_ours.py:490
↓ 1 callersFunctioncheck_imports
Check if the current Python environment contains all the libraries that are imported in a file.
diffusers/src/diffusers/utils/dynamic_modules_utils.py:126
↓ 1 callersMethodcheck_inputs
( self, prompt, strength, num_inference_steps, callback_steps,
diffusers/src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_img2img.py:424
↓ 1 callersMethodcheck_inputs
( self, prompt, height, width, strength, callback_steps,
diffusers/src/diffusers/pipelines/stable_diffusion_xl/pipeline_stable_diffusion_xl_inpaint.py:531
↓ 1 callersMethodcheck_inputs
( self, prompt, height, width, callback_steps, negative_prompt
diffusers/src/diffusers/pipelines/stable_diffusion_safe/pipeline_stable_diffusion_safe.py:361
↓ 1 callersMethodcheck_inputs
( self, prompt, audio_length_in_s, vocoder_upsample_factor, callback_s
diffusers/src/diffusers/pipelines/audioldm/pipeline_audioldm.py:282
↓ 1 callersMethodcheck_inputs
( self, mode, prompt, image, height, width, callback_s
diffusers/src/diffusers/pipelines/unidiffuser/pipeline_unidiffuser.py:925
↓ 1 callersMethodcheck_inputs
( self, prompt, strength, callback_steps, negative_prompt=None, prompt_embeds=None, negative_prompt_em
diffusers/src/diffusers/pipelines/text_to_video_synthesis/pipeline_text_to_video_synth_img2img.py:437
↓ 1 callersMethodcheck_inputs
(self, num_inference_steps, timesteps, latents, batch_size, img_size, callback_steps)
diffusers/src/diffusers/pipelines/consistency_models/pipeline_consistency_models.py:161
↓ 1 callersMethodcheck_inputs
( self, prompt, height, width, callback_steps, negative_prompt
diffusers/src/diffusers/pipelines/t2i_adapter/pipeline_stable_diffusion_adapter.py:452
↓ 1 callersMethodcheck_inputs
( self, prompt, image, callback_steps, negative_prompt=None, p
diffusers/src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl.py:401
↓ 1 callersMethodcheck_inputs
( self, prompt, image, height, width, callback_steps,
diffusers/src/diffusers/pipelines/controlnet/pipeline_controlnet_inpaint.py:598
↓ 1 callersMethodcheck_inputs
( self, prompt, image, callback_steps, negative_prompt=None, p
diffusers/src/diffusers/pipelines/controlnet/pipeline_controlnet_img2img.py:471
↓ 1 callersMethodcheck_inputs
( self, prompt, image, callback_steps, negative_prompt=None, p
diffusers/src/diffusers/pipelines/controlnet/pipeline_controlnet.py:445
↓ 1 callersMethodcheck_inputs
( self, prompt, image, callback_steps, negative_prompt=None, p
diffusers/src/diffusers/pipelines/controlnet/pipeline_controlnet_sd_xl_ours.py:404
↓ 1 callersMethodcheck_inputs
( self, prompt, height, width, callback_steps, negative_prompt
diffusers/src/diffusers/pipelines/semantic_stable_diffusion/pipeline_semantic_stable_diffusion.py:185
↓ 1 callersMethodcheck_inputs
( self, prompt, height, width, callback_steps, negative_prompt
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion.py:458
↓ 1 callersMethodcheck_inputs
( self, prompt, height, width, callback_steps, negative_prompt
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_panorama.py:363
↓ 1 callersMethodcheck_inputs
( self, prompt, source_embeds, target_embeds, callback_steps,
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_pix2pix_zero.py:597
↓ 1 callersMethodcheck_inputs
( self, prompt, indices, height, width, callback_steps,
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_attend_and_excite.py:456
↓ 1 callersMethodcheck_inputs
( self, prompt, callback_steps, negative_prompt=None, prompt_embeds=No
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_onnx_stable_diffusion_inpaint_legacy.py:253
↓ 1 callersMethodcheck_inputs
( self, prompt, height, width, callback_steps, negative_prompt
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_k_diffusion.py:344
↓ 1 callersMethodcheck_inputs
( self, prompt, height, width, callback_steps, negative_prompt
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_model_editing.py:388
↓ 1 callersMethodcheck_inputs
(self, prompt, image, callback_steps)
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_latent_upscale.py:208
↓ 1 callersMethodcheck_inputs
( self, prompt, strength, callback_steps, negative_prompt=None, prompt_embeds=None, negative_prompt_em
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_cycle_diffusion.py:419
↓ 1 callersMethodcheck_inputs
( self, prompt, image, noise_level, callback_steps, negative_p
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_upscale.py:373
↓ 1 callersMethodcheck_inputs
( self, prompt, strength, callback_steps, negative_prompt=None, prompt_embeds=None, negative_prompt_em
diffusers/src/diffusers/pipelines/stable_diffusion/pipeline_stable_diffusion_depth2img.py:343
← previousnext →1,101–1,200 of 6,241, ranked by callers