Skip to content
2 changes: 1 addition & 1 deletion src/diffusers/pipelines/pipeline_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -2115,7 +2115,7 @@ def from_pipe(cls, pipeline, **kwargs):
"""

original_config = dict(pipeline.config)
torch_dtype = kwargs.pop("torch_dtype", torch.float32)
torch_dtype = kwargs.pop("torch_dtype", None)

# derive the pipeline class to instantiate
custom_pipeline = kwargs.pop("custom_pipeline", None)
Expand Down