Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/huggingface/diffusers
/ to_dict
Method
to_dict
src/diffusers/hooks/layer_skip.py:81–82 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
79
)
80
81
def
to_dict(self):
82
return
asdict(self)
83
84
@staticmethod
85
def
from_dict(data: dict) ->
"LayerSkipConfig"
:
Callers
14
_collate_lora_metadata
Function · 0.45
to_json_saveable
Method · 0.45
to_json_string
Method · 0.45
save_lora_adapter
Method · 0.45
test_quantization_config_json_serialization
Method · 0.45
test_quantization_config_json_serialization
Method · 0.45
_get_lora_adapter_metadata
Method · 0.45
_compare_component_configs
Method · 0.45
_compare_component_configs
Method · 0.45
test_lora_adapter_metadata_is_loaded_correctly
Method · 0.45
test_lora_adapter_wrong_metadata_raises_error
Method · 0.45
test_bnb_quantization_config_serialization
Method · 0.45
Calls
no outgoing calls
Tested by
9
test_quantization_config_json_serialization
Method · 0.36
test_quantization_config_json_serialization
Method · 0.36
_compare_component_configs
Method · 0.36
_compare_component_configs
Method · 0.36
test_lora_adapter_metadata_is_loaded_correctly
Method · 0.36
test_lora_adapter_wrong_metadata_raises_error
Method · 0.36
test_bnb_quantization_config_serialization
Method · 0.36
test_lora_adapter_metadata_is_loaded_correctly
Method · 0.36
test_lora_adapter_wrong_metadata_raises_error
Method · 0.36