Skip to content

Commit 8cf75a8

Browse files
committed
dtype is property
1 parent 0446652 commit 8cf75a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/diffusers/models/modeling_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,7 @@ def save_pretrained(
740740
flashpack.serialization.pack_to_file(
741741
state_dict_or_model=state_dict,
742742
destination_path=save_directory,
743-
target_dtype=self.dtype(),
743+
target_dtype=self.dtype,
744744
)
745745
else:
746746
# Save the model

0 commit comments

Comments
 (0)