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

How do i convert my ckpt file to s4nnc #16

Open
DougStoker opened this issue Dec 2, 2022 · 2 comments
Open

How do i convert my ckpt file to s4nnc #16

DougStoker opened this issue Dec 2, 2022 · 2 comments

Comments

@DougStoker
Copy link

No description provided.

@liuliu
Copy link
Owner

liuliu commented Dec 3, 2022

Right now, I use this script to: https://github.com/liuliu/swift-diffusion/blob/main/examples/dreambooth/main.swift But it generate fp32 ckpt, so I need to further convert that to fp16.

I am working on a new one that has no Python dependency: https://github.com/liuliu/swift-diffusion/blob/main/examples/pickle/main.swift

@oniatsu
Copy link

oniatsu commented Jun 24, 2023

Thank you for the converter!

But I don't know something.
What are the unet.ckpt, text_model.ckpt, and autoencoder.ckpt?
Where can I find and download?
ex. https://github.com/liuliu/swift-diffusion/blob/main/examples/dreambooth/main.swift#L1092

Now, I understand the target ckpt to convert is only this one

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

3 participants