MCPcopy Create free account

hub / github.com/TencentARC/BrushNet / functions

Functions9,976 in github.com/TencentARC/BrushNet

Methodtest_sequential_cpu_offload_forward_pass
(self)
tests/pipelines/text_to_video_synthesis/test_text_to_video_zero_sdxl.py:351
Methodtest_sequential_cpu_offload_forward_pass
(self)
tests/pipelines/kandinsky2_2/test_kandinsky_inpaint.py:255
Methodtest_sequential_cpu_offload_forward_pass
(self)
tests/pipelines/kandinsky2_2/test_kandinsky_combined.py:399
Methodtest_sequential_cpu_offload_forward_pass
(self)
tests/pipelines/pixart_alpha/test_pixart.py:105
Methodtest_sequential_cpu_offload_forward_pass
(self)
tests/pipelines/shap_e/test_shap_e.py:220
Methodtest_sequential_cpu_offload_forward_pass
(self)
tests/pipelines/shap_e/test_shap_e_img2img.py:246
Methodtest_sequential_cpu_offload_forward_pass
(self)
tests/pipelines/audioldm2/test_audioldm2.py:490
Methodtest_sequential_cpu_offloading
(self)
tests/pipelines/controlnet/test_controlnet.py:898
Methodtest_sequential_fuse_unfuse
(self)
tests/lora/test_lora_layers_peft.py:2287
Methodtest_serialization
(self)
tests/others/test_ema.py:146
Methodtest_set_attention_slice_auto
(self)
tests/models/unets/test_models_unet_2d_condition.py:943
Methodtest_set_attention_slice_int
(self)
tests/models/unets/test_models_unet_2d_condition.py:983
Methodtest_set_attention_slice_list
(self)
tests/models/unets/test_models_unet_2d_condition.py:1003
Methodtest_set_attention_slice_max
(self)
tests/models/unets/test_models_unet_2d_condition.py:963
Methodtest_set_attn_processor_for_determinism
(self)
tests/models/test_modeling_common.py:333
Methodtest_set_component_to_none
(self)
tests/pipelines/test_pipelines.py:1287
Methodtest_set_scheduler
(self)
tests/pipelines/test_pipelines.py:1255
Methodtest_set_scheduler_consistency
(self)
tests/pipelines/test_pipelines.py:1350
Methodtest_set_xformers_attn_processor_for_determinism
(self)
tests/models/test_modeling_common.py:289
Methodtest_shadow_params_not_updated
(self)
tests/others/test_ema.py:73
Methodtest_shadow_params_updated
(self)
tests/others/test_ema.py:90
Methodtest_shap_e
(self)
tests/pipelines/shap_e/test_shap_e.py:167
Methodtest_shap_e
(self)
tests/pipelines/shap_e/test_shap_e.py:233
Methodtest_shap_e
(self)
tests/pipelines/shap_e/test_shap_e_img2img.py:188
Methodtest_shap_e_img2img
(self)
tests/pipelines/shap_e/test_shap_e_img2img.py:259
Methodtest_shape_mismatch
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion_inpaint.py:1498
Methodtest_sigmas
(self)
tests/schedulers/test_scheduler_score_sde_ve.py:124
Methodtest_silu
(self)
tests/models/test_activations.py:20
Methodtest_simple_inference
Tests a simple inference and makes sure it works as expected
tests/lora/test_lora_layers_peft.py:189
Methodtest_simple_inference_save_pretrained
Tests a simple usecase where users could use saving utilities for LoRA through save_pretrained
tests/lora/test_lora_layers_peft.py:432
Methodtest_simple_inference_with_text_lora
Tests a simple inference with lora attached on the text encoder and makes sure it works as expected
tests/lora/test_lora_layers_peft.py:203
Methodtest_simple_inference_with_text_lora_and_scale
Tests a simple inference with lora attached on the text encoder + scale argument and makes sure it works as expected
tests/lora/test_lora_layers_peft.py:234
Methodtest_simple_inference_with_text_lora_fused
Tests a simple inference with lora attached into text encoder + fuses the lora weights into base model and makes sure it works as exp
tests/lora/test_lora_layers_peft.py:281
Methodtest_simple_inference_with_text_lora_save_load
Tests a simple usecase where users could use saving utilities for LoRA.
tests/lora/test_lora_layers_peft.py:367
Methodtest_simple_inference_with_text_lora_unet_fused
Tests a simple inference with lora attached into text encoder + fuses the lora weights into base model and makes sure it works as exp
tests/lora/test_lora_layers_peft.py:609
Methodtest_simple_inference_with_text_lora_unet_fused_multi
Tests a simple inference with lora attached into text encoder + fuses the lora weights into base model and makes sure it works as exp
tests/lora/test_lora_layers_peft.py:1085
Methodtest_simple_inference_with_text_lora_unloaded
Tests a simple inference with lora attached to text encoder, then unloads the lora weights and makes sure it works as expected
tests/lora/test_lora_layers_peft.py:323
Methodtest_simple_inference_with_text_unet_lora_and_scale
Tests a simple inference with lora attached on the text encoder + Unet + scale argument and makes sure it works as expected
tests/lora/test_lora_layers_peft.py:555
Methodtest_simple_inference_with_text_unet_lora_save_load
Tests a simple usecase where users could use saving utilities for LoRA for Unet + text encoder
tests/lora/test_lora_layers_peft.py:483
Methodtest_simple_inference_with_text_unet_lora_unfused
Tests a simple inference with lora attached to text encoder and unet, then unloads the lora weights and makes sure it works as expect
tests/lora/test_lora_layers_peft.py:702
Methodtest_simple_inference_with_text_unet_lora_unfused_torch_compile
Tests a simple inference with lora attached to text encoder and unet, then unloads the lora weights and makes sure it works as expect
tests/lora/test_lora_layers_peft.py:1147
Methodtest_simple_inference_with_text_unet_lora_unloaded
Tests a simple inference with lora attached to text encoder and unet, then unloads the lora weights and makes sure it works as expect
tests/lora/test_lora_layers_peft.py:655
Methodtest_simple_inference_with_text_unet_multi_adapter
Tests a simple inference with lora attached to text encoder and unet, attaches multiple adapters and set them
tests/lora/test_lora_layers_peft.py:752
Methodtest_simple_inference_with_text_unet_multi_adapter_delete_adapter
Tests a simple inference with lora attached to text encoder and unet, attaches multiple adapters and set/delete them
tests/lora/test_lora_layers_peft.py:820
Methodtest_simple_inference_with_text_unet_multi_adapter_weighted
Tests a simple inference with lora attached to text encoder and unet, attaches multiple adapters and set them
tests/lora/test_lora_layers_peft.py:910
Methodtest_single_file_arguments
(self)
tests/models/autoencoders/test_models_vae.py:827
Methodtest_single_file_component_configs
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py:820
Methodtest_single_file_component_configs
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl.py:1066
Methodtest_single_file_component_configs
(self)
tests/pipelines/stable_diffusion_2/test_stable_diffusion_upscale.py:517
Methodtest_single_file_component_configs
(self)
tests/pipelines/controlnet/test_controlnet_sdxl.py:973
Methodtest_single_file_component_configs
(self)
tests/pipelines/controlnet/test_controlnet.py:1075
Methodtest_single_file_component_configs
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion.py:1298
Methodtest_single_file_component_configs
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion_inpaint.py:788
Methodtest_single_file_component_configs
(self)
tests/models/autoencoders/test_models_vae.py:813
Methodtest_sinoid_embeddings_hardcoded
(self)
tests/models/test_layers_utils.py:94
Methodtest_smart_download
(self)
tests/pipelines/test_pipelines.py:1681
Methodtest_solver_order_and_type
(self)
tests/schedulers/test_scheduler_edm_dpmsolver_multistep.py:171
Methodtest_solver_order_and_type
(self)
tests/schedulers/test_scheduler_dpm_single.py:179
Methodtest_solver_order_and_type
(self)
tests/schedulers/test_scheduler_unipc.py:182
Methodtest_solver_order_and_type
(self)
tests/schedulers/test_scheduler_deis.py:185
Methodtest_solver_order_and_type
(self)
tests/schedulers/test_scheduler_dpm_multi.py:173
Methodtest_solver_order_and_type
(self)
tests/schedulers/test_scheduler_dpm_multi_inverse.py:165
Methodtest_spatial_transformer_ada_norm_layers
(self)
tests/models/test_layers_utils.py:465
Methodtest_spatial_transformer_attention_bias
(self)
tests/models/test_layers_utils.py:522
Methodtest_spatial_transformer_cross_attention_dim
(self)
tests/models/test_layers_utils.py:343
Methodtest_spatial_transformer_default
(self)
tests/models/test_layers_utils.py:320
Methodtest_spatial_transformer_default_ff_layers
(self)
tests/models/test_layers_utils.py:476
Methodtest_spatial_transformer_default_norm_layers
(self)
tests/models/test_layers_utils.py:459
Methodtest_spatial_transformer_discrete
(self)
tests/models/test_layers_utils.py:431
Methodtest_spatial_transformer_dropout
(self)
tests/models/test_layers_utils.py:403
Methodtest_spatial_transformer_geglu_approx_ff_layers
(self)
tests/models/test_layers_utils.py:499
Methodtest_spatial_transformer_timestep
(self)
tests/models/test_layers_utils.py:366
Methodtest_special_attn_proc
(self)
tests/models/unets/test_models_unet_2d_condition.py:521
Methodtest_stabilityai_sd_v2_flax_vs_torch_fp16
(self, seed, timestep, expected_slice)
tests/models/unets/test_models_unet_2d_flax.py:86
Methodtest_stabilityai_sd_v2_fp16
(self, seed, timestep, expected_slice)
tests/models/unets/test_models_unet_2d_condition.py:1210
Methodtest_stable_cascade
(self)
tests/pipelines/stable_cascade/test_stable_cascade_combined.py:178
Methodtest_stable_cascade_decoder
(self)
tests/pipelines/stable_cascade/test_stable_cascade_decoder.py:220
Methodtest_stable_cascade_prior
(self)
tests/pipelines/stable_cascade/test_stable_cascade_prior.py:286
Methodtest_stable_diffusion
(self)
tests/models/autoencoders/test_models_vae.py:522
Methodtest_stable_diffusion
(self, seed, expected_slice, expected_slice_mps)
tests/models/autoencoders/test_models_vae.py:611
Methodtest_stable_diffusion
(self, seed, expected_slice, expected_slice_mps)
tests/models/autoencoders/test_models_vae.py:902
Methodtest_stable_diffusion_1
(self)
tests/pipelines/stable_diffusion_sag/test_stable_diffusion_sag.py:155
Methodtest_stable_diffusion_1
(self)
tests/pipelines/stable_diffusion_k_diffusion/test_stable_diffusion_k_diffusion.py:38
Methodtest_stable_diffusion_1_1_pndm
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion.py:782
Methodtest_stable_diffusion_1_4_pndm
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion.py:809
Methodtest_stable_diffusion_1_4_pndm
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion.py:1354
Methodtest_stable_diffusion_1_5_pndm
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion.py:1368
Methodtest_stable_diffusion_2
(self)
tests/pipelines/stable_diffusion_sag/test_stable_diffusion_sag.py:175
Methodtest_stable_diffusion_2
(self)
tests/pipelines/stable_diffusion_k_diffusion/test_stable_diffusion_k_diffusion.py:58
Methodtest_stable_diffusion_2_0_default_ddim
(self)
tests/pipelines/stable_diffusion_2/test_stable_diffusion.py:564
Methodtest_stable_diffusion_2_1_default_pndm
(self)
tests/pipelines/stable_diffusion_2/test_stable_diffusion.py:578
Methodtest_stable_diffusion_2_non_square
(self)
tests/pipelines/stable_diffusion_sag/test_stable_diffusion_sag.py:195
Methodtest_stable_diffusion_adapter_canny_sd_v14
(self)
tests/pipelines/stable_diffusion_adapter/test_stable_diffusion_adapter.py:814
Methodtest_stable_diffusion_adapter_canny_sd_v15
(self)
tests/pipelines/stable_diffusion_adapter/test_stable_diffusion_adapter.py:841
Methodtest_stable_diffusion_adapter_color
(self)
tests/pipelines/stable_diffusion_adapter/test_stable_diffusion_adapter.py:601
Methodtest_stable_diffusion_adapter_default_case
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_adapter.py:297
Methodtest_stable_diffusion_adapter_default_case
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_adapter.py:432
Methodtest_stable_diffusion_adapter_default_case
(self)
tests/pipelines/stable_diffusion_adapter/test_stable_diffusion_adapter.py:347
Methodtest_stable_diffusion_adapter_default_case
(self)
tests/pipelines/stable_diffusion_adapter/test_stable_diffusion_adapter.py:370
Methodtest_stable_diffusion_adapter_default_case
(self)
tests/pipelines/stable_diffusion_adapter/test_stable_diffusion_adapter.py:398
← previousnext →9,201–9,300 of 9,976, ranked by callers