Skip to content

Commit db47e42

Browse files
a-r-r-o-wsayakpaul
authored andcommitted
Update scripts/convert_sd3_to_diffusers.py
Co-authored-by: Sayak Paul <spsayakpaul@gmail.com>
1 parent 79a1d31 commit db47e42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/convert_sd3_to_diffusers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ def main(args):
284284
raise ValueError(f"Unsupported dtype: {args.dtype}")
285285

286286
if dtype != original_dtype:
287-
print(f"Checkpoint dtype {original_dtype} does not match requested dtype {dtype}")
287+
print(f"Checkpoint dtype {original_dtype} does not match requested dtype {dtype}. This can lead to unexpected results, proceed with caution.")
288288

289289
num_layers = list(set(int(k.split(".", 2)[1]) for k in original_ckpt if "joint_blocks" in k))[-1] + 1 # noqa: C401
290290

0 commit comments

Comments
 (0)