Skip to content

Commit

Permalink
Merge pull request modelscope#519 from XDUWQ/fix_custom
Browse files Browse the repository at this point in the history
fix a bug of custom diffusion
  • Loading branch information
wangqiang9 authored Sep 4, 2023
2 parents 98f65f6 + 8d1c290 commit 4345f3a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ class CustomCheckpointProcessor(CheckpointProcessor):
def __init__(self,
modifier_token,
modifier_token_id,
torch_type=torch.float32):
torch_type=torch.float32,
safe_serialization=False):
"""Checkpoint processor for custom diffusion.
Args:
Expand Down

0 comments on commit 4345f3a

Please sign in to comment.