1
0
mirror of https://github.com/huggingface/diffusers.git synced 2026-01-29 07:22:12 +03:00
This commit is contained in:
Dhruv Nair
2025-03-26 16:32:14 +01:00
parent 611d37549f
commit e539cd32c4

View File

@@ -264,7 +264,6 @@ def load_model_dict_into_meta(
old_param = None
if old_param is not None:
# Do not cast parameters if the model is quantized
if dtype is None:
param = param.to(old_param.dtype)