Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TencentARC/BrushNet
/ functions
Functions
9,976 in github.com/TencentARC/BrushNet
⨍
Functions
9,976
◇
Types & classes
1,590
↳
Endpoints
3
Method
test_sequential_cpu_offload_forward_pass
(self)
tests/pipelines/text_to_video_synthesis/test_text_to_video_zero_sdxl.py:351
Method
test_sequential_cpu_offload_forward_pass
(self)
tests/pipelines/kandinsky2_2/test_kandinsky_inpaint.py:255
Method
test_sequential_cpu_offload_forward_pass
(self)
tests/pipelines/kandinsky2_2/test_kandinsky_combined.py:399
Method
test_sequential_cpu_offload_forward_pass
(self)
tests/pipelines/pixart_alpha/test_pixart.py:105
Method
test_sequential_cpu_offload_forward_pass
(self)
tests/pipelines/shap_e/test_shap_e.py:220
Method
test_sequential_cpu_offload_forward_pass
(self)
tests/pipelines/shap_e/test_shap_e_img2img.py:246
Method
test_sequential_cpu_offload_forward_pass
(self)
tests/pipelines/audioldm2/test_audioldm2.py:490
Method
test_sequential_cpu_offloading
(self)
tests/pipelines/controlnet/test_controlnet.py:898
Method
test_sequential_fuse_unfuse
(self)
tests/lora/test_lora_layers_peft.py:2287
Method
test_serialization
(self)
tests/others/test_ema.py:146
Method
test_set_attention_slice_auto
(self)
tests/models/unets/test_models_unet_2d_condition.py:943
Method
test_set_attention_slice_int
(self)
tests/models/unets/test_models_unet_2d_condition.py:983
Method
test_set_attention_slice_list
(self)
tests/models/unets/test_models_unet_2d_condition.py:1003
Method
test_set_attention_slice_max
(self)
tests/models/unets/test_models_unet_2d_condition.py:963
Method
test_set_attn_processor_for_determinism
(self)
tests/models/test_modeling_common.py:333
Method
test_set_component_to_none
(self)
tests/pipelines/test_pipelines.py:1287
Method
test_set_scheduler
(self)
tests/pipelines/test_pipelines.py:1255
Method
test_set_scheduler_consistency
(self)
tests/pipelines/test_pipelines.py:1350
Method
test_set_xformers_attn_processor_for_determinism
(self)
tests/models/test_modeling_common.py:289
Method
test_shadow_params_not_updated
(self)
tests/others/test_ema.py:73
Method
test_shadow_params_updated
(self)
tests/others/test_ema.py:90
Method
test_shap_e
(self)
tests/pipelines/shap_e/test_shap_e.py:167
Method
test_shap_e
(self)
tests/pipelines/shap_e/test_shap_e.py:233
Method
test_shap_e
(self)
tests/pipelines/shap_e/test_shap_e_img2img.py:188
Method
test_shap_e_img2img
(self)
tests/pipelines/shap_e/test_shap_e_img2img.py:259
Method
test_shape_mismatch
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion_inpaint.py:1498
Method
test_sigmas
(self)
tests/schedulers/test_scheduler_score_sde_ve.py:124
Method
test_silu
(self)
tests/models/test_activations.py:20
Method
test_simple_inference
Tests a simple inference and makes sure it works as expected
tests/lora/test_lora_layers_peft.py:189
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_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
Method
test_single_file_arguments
(self)
tests/models/autoencoders/test_models_vae.py:827
Method
test_single_file_component_configs
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_img2img.py:820
Method
test_single_file_component_configs
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl.py:1066
Method
test_single_file_component_configs
(self)
tests/pipelines/stable_diffusion_2/test_stable_diffusion_upscale.py:517
Method
test_single_file_component_configs
(self)
tests/pipelines/controlnet/test_controlnet_sdxl.py:973
Method
test_single_file_component_configs
(self)
tests/pipelines/controlnet/test_controlnet.py:1075
Method
test_single_file_component_configs
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion.py:1298
Method
test_single_file_component_configs
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion_inpaint.py:788
Method
test_single_file_component_configs
(self)
tests/models/autoencoders/test_models_vae.py:813
Method
test_sinoid_embeddings_hardcoded
(self)
tests/models/test_layers_utils.py:94
Method
test_smart_download
(self)
tests/pipelines/test_pipelines.py:1681
Method
test_solver_order_and_type
(self)
tests/schedulers/test_scheduler_edm_dpmsolver_multistep.py:171
Method
test_solver_order_and_type
(self)
tests/schedulers/test_scheduler_dpm_single.py:179
Method
test_solver_order_and_type
(self)
tests/schedulers/test_scheduler_unipc.py:182
Method
test_solver_order_and_type
(self)
tests/schedulers/test_scheduler_deis.py:185
Method
test_solver_order_and_type
(self)
tests/schedulers/test_scheduler_dpm_multi.py:173
Method
test_solver_order_and_type
(self)
tests/schedulers/test_scheduler_dpm_multi_inverse.py:165
Method
test_spatial_transformer_ada_norm_layers
(self)
tests/models/test_layers_utils.py:465
Method
test_spatial_transformer_attention_bias
(self)
tests/models/test_layers_utils.py:522
Method
test_spatial_transformer_cross_attention_dim
(self)
tests/models/test_layers_utils.py:343
Method
test_spatial_transformer_default
(self)
tests/models/test_layers_utils.py:320
Method
test_spatial_transformer_default_ff_layers
(self)
tests/models/test_layers_utils.py:476
Method
test_spatial_transformer_default_norm_layers
(self)
tests/models/test_layers_utils.py:459
Method
test_spatial_transformer_discrete
(self)
tests/models/test_layers_utils.py:431
Method
test_spatial_transformer_dropout
(self)
tests/models/test_layers_utils.py:403
Method
test_spatial_transformer_geglu_approx_ff_layers
(self)
tests/models/test_layers_utils.py:499
Method
test_spatial_transformer_timestep
(self)
tests/models/test_layers_utils.py:366
Method
test_special_attn_proc
(self)
tests/models/unets/test_models_unet_2d_condition.py:521
Method
test_stabilityai_sd_v2_flax_vs_torch_fp16
(self, seed, timestep, expected_slice)
tests/models/unets/test_models_unet_2d_flax.py:86
Method
test_stabilityai_sd_v2_fp16
(self, seed, timestep, expected_slice)
tests/models/unets/test_models_unet_2d_condition.py:1210
Method
test_stable_cascade
(self)
tests/pipelines/stable_cascade/test_stable_cascade_combined.py:178
Method
test_stable_cascade_decoder
(self)
tests/pipelines/stable_cascade/test_stable_cascade_decoder.py:220
Method
test_stable_cascade_prior
(self)
tests/pipelines/stable_cascade/test_stable_cascade_prior.py:286
Method
test_stable_diffusion
(self)
tests/models/autoencoders/test_models_vae.py:522
Method
test_stable_diffusion
(self, seed, expected_slice, expected_slice_mps)
tests/models/autoencoders/test_models_vae.py:611
Method
test_stable_diffusion
(self, seed, expected_slice, expected_slice_mps)
tests/models/autoencoders/test_models_vae.py:902
Method
test_stable_diffusion_1
(self)
tests/pipelines/stable_diffusion_sag/test_stable_diffusion_sag.py:155
Method
test_stable_diffusion_1
(self)
tests/pipelines/stable_diffusion_k_diffusion/test_stable_diffusion_k_diffusion.py:38
Method
test_stable_diffusion_1_1_pndm
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion.py:782
Method
test_stable_diffusion_1_4_pndm
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion.py:809
Method
test_stable_diffusion_1_4_pndm
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion.py:1354
Method
test_stable_diffusion_1_5_pndm
(self)
tests/pipelines/stable_diffusion/test_stable_diffusion.py:1368
Method
test_stable_diffusion_2
(self)
tests/pipelines/stable_diffusion_sag/test_stable_diffusion_sag.py:175
Method
test_stable_diffusion_2
(self)
tests/pipelines/stable_diffusion_k_diffusion/test_stable_diffusion_k_diffusion.py:58
Method
test_stable_diffusion_2_0_default_ddim
(self)
tests/pipelines/stable_diffusion_2/test_stable_diffusion.py:564
Method
test_stable_diffusion_2_1_default_pndm
(self)
tests/pipelines/stable_diffusion_2/test_stable_diffusion.py:578
Method
test_stable_diffusion_2_non_square
(self)
tests/pipelines/stable_diffusion_sag/test_stable_diffusion_sag.py:195
Method
test_stable_diffusion_adapter_canny_sd_v14
(self)
tests/pipelines/stable_diffusion_adapter/test_stable_diffusion_adapter.py:814
Method
test_stable_diffusion_adapter_canny_sd_v15
(self)
tests/pipelines/stable_diffusion_adapter/test_stable_diffusion_adapter.py:841
Method
test_stable_diffusion_adapter_color
(self)
tests/pipelines/stable_diffusion_adapter/test_stable_diffusion_adapter.py:601
Method
test_stable_diffusion_adapter_default_case
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_adapter.py:297
Method
test_stable_diffusion_adapter_default_case
(self)
tests/pipelines/stable_diffusion_xl/test_stable_diffusion_xl_adapter.py:432
Method
test_stable_diffusion_adapter_default_case
(self)
tests/pipelines/stable_diffusion_adapter/test_stable_diffusion_adapter.py:347
Method
test_stable_diffusion_adapter_default_case
(self)
tests/pipelines/stable_diffusion_adapter/test_stable_diffusion_adapter.py:370
Method
test_stable_diffusion_adapter_default_case
(self)
tests/pipelines/stable_diffusion_adapter/test_stable_diffusion_adapter.py:398
← previous
next →
9,201–9,300 of 9,976, ranked by callers