Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YesianRohn/TextSSR
/ from_config
Method
from_config
diffusers/src/diffusers/utils/dummy_pt_objects.py:657–658 ·
view source on GitHub ↗
(cls, *args, **kwargs)
Source
from the content-addressed store, hash-verified
655
656
@classmethod
657
def
from_config(cls, *args, **kwargs):
658
requires_backends(cls, [
"torch"
])
659
660
@classmethod
661
def
from_pretrained(cls, *args, **kwargs):
Callers
15
save_pretrained
Method · 0.45
_load_empty_model
Function · 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
__init__
Method · 0.45
__init__
Method · 0.45
from_pretrained
Method · 0.45
from_pretrained
Method · 0.45
from_single_file
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_sdv1_5_lcm_lora
Method · 0.36
test_sdv1_5_lcm_lora_img2img
Method · 0.36
test_sdxl_lcm_lora
Method · 0.36
test_single_file_format_inference_is_same_as_pretrained
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