Skip to content
This repository has been archived by the owner on Oct 8, 2024. It is now read-only.

conversion from .ckpt failing #60

Answered by azuritecoin
ellugia asked this question in Q&A
Discussion options

You must be logged in to vote

You need to modify one line in the convert_original_stable_diffusion_to_diffusers.py script. On line 798 in the conversion script change this:
checkpoint = torch.load(args.checkpoint_path)
to this:
checkpoint = torch.load(args.checkpoint_path, map_location=torch.device('cpu'))

That should bypass the error.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ellugia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants