Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TencentARC/BrushNet
/ from_config
Method
from_config
src/diffusers/utils/dummy_pt_objects.py:342–343 ·
view source on GitHub ↗
(cls, *args, **kwargs)
Source
from the content-addressed store, hash-verified
340
341
@classmethod
342
def
from_config(cls, *args, **kwargs):
343
requires_backends(cls, [
"torch"
])
344
345
@classmethod
346
def
from_pretrained(cls, *args, **kwargs):
Callers
15
save_pretrained
Method · 0.45
__init__
Method · 0.45
__init__
Method · 0.45
download_from_original_stable_diffusion_ckpt
Function · 0.45
__init__
Method · 0.45
__init__
Method · 0.45
from_pretrained
Method · 0.45
from_pretrained
Method · 0.45
create_scheduler_from_ldm
Function · 0.45
from_pretrained
Method · 0.45
from_pretrained
Method · 0.45
from_unet2d
Method · 0.45
Calls
1
requires_backends
Function · 0.85
Tested by
15
test_save_load
Method · 0.36
test_use_default_values
Method · 0.36
test_not_empty_state_dict
Method · 0.36
test_load_unload_load_state_dict
Method · 0.36
test_sdxl_lcm_lora
Method · 0.36
test_sdv1_5_lcm_lora
Method · 0.36
test_sdv1_5_lcm_lora_img2img
Method · 0.36
test_load_connected_checkpoint_with_passed_obj
Method · 0.36
test_karras_schedulers_shape
Method · 0.36
test_save_pipeline_change_config
Method · 0.36
test_set_scheduler
Method · 0.36
test_set_scheduler_consistency
Method · 0.36