mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-29 07:22:12 +03:00
update
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user