From 09b6431058e2fbf596eb0ee31d4290aa00c3af19 Mon Sep 17 00:00:00 2001 From: missionfloyd Date: Sun, 30 Nov 2025 22:05:02 -0700 Subject: [PATCH] Don't default to float32 --- src/diffusers/pipelines/pipeline_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/diffusers/pipelines/pipeline_utils.py b/src/diffusers/pipelines/pipeline_utils.py index 392d5fb3feb4..09c46b9f0f40 100644 --- a/src/diffusers/pipelines/pipeline_utils.py +++ b/src/diffusers/pipelines/pipeline_utils.py @@ -2053,7 +2053,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)