Skip to content

Commit ca4a16f

Browse files
committed
update
1 parent 30a72ee commit ca4a16f

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/diffusers/modular_pipelines/modular_pipeline.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1541,17 +1541,6 @@ def default_call_parameters(self) -> Dict[str, Any]:
15411541
params[input_param.name] = input_param.default
15421542
return params
15431543

1544-
def load_default_components(self, **kwargs):
1545-
"""
1546-
Load from_pretrained components using the loading specs in the config dict.
1547-
1548-
Args:
1549-
**kwargs: Additional arguments passed to `from_pretrained` method, e.g. torch_dtype, cache_dir, etc.
1550-
"""
1551-
# Consolidated into load_components - just call it without names parameter
1552-
logger.warning("`load_default_components` is deprecated. Please use `load_components()` instead")
1553-
self.load_components(**kwargs)
1554-
15551544
@classmethod
15561545
@validate_hf_hub_args
15571546
def from_pretrained(

0 commit comments

Comments
 (0)