Skip to content

Commit 275e470

Browse files
authored
Update src/diffusers/models/model_loading_utils.py
1 parent b0552bb commit 275e470

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/models/model_loading_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ def load_model_dict_into_meta(
254254
param = param.to(dtype)
255255
set_module_kwargs["dtype"] = dtype
256256

257-
if is_accelerate_version(">", "1.8.0"):
257+
if is_accelerate_version(">", "1.8.1"):
258258
set_module_kwargs["non_blocking"] = True
259259
set_module_kwargs["clear_cache"] = False
260260

0 commit comments

Comments
 (0)