Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: Can the code be modified to merge SD 1.x and SD 2.1 checkpoints? #21

Open
gessyoo opened this issue Dec 8, 2022 · 1 comment

Comments

@gessyoo
Copy link

gessyoo commented Dec 8, 2022

The code works very well with SD 1.x models, thanks. Can it be modified to re-basin existing SD 1.x checkpoints -- there are many -- with the new SD 2.1 models? I've tried but it throws an Runtime error pointing to line 55, that "the size of tensor a (768) must match the size of tensor b (1024) ,,,"

@ogkalu2
Copy link
Owner

ogkalu2 commented Dec 10, 2022

I can add the perm spec for SD 2 later but a bit busy right now. When I do, you should be able to merge multiple v2 models but merging v1 and v2 models together will not work

You can merge with re-basin by excluding done layers and I've tried that but it just spits out a model that produces colorful noise so far.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants