Skip to content

Checkpoint File Import - #413

Merged
carson-katri merged 6 commits into
mainfrom
checkpoint-conversion
Dec 11, 2022
Merged

carson-katri merged 6 commits into
mainfrom
checkpoint-conversion

Conversation

@carson-katri

Copy link
Copy Markdown
Owner

This adds support for model conversion from original Stable Diffusion checkpoints to the diffusers' format.

A progress bar was also added when downloading a model from HF.

Screen.Recording.2022-12-07.at.6.01.10.PM.mov

@carson-katri carson-katri added this to the v0.0.9 milestone Dec 7, 2022
@carson-katri
carson-katri marked this pull request as draft December 7, 2022 23:11
@carson-katri

Copy link
Copy Markdown
Owner Author

Ok, should be good to go now. The v2-base won't work with the v2-inference-v config definition, so I added an override to specify the model config manually in the import window.

@carson-katri
carson-katri marked this pull request as ready for review December 8, 2022 01:30

@NullSenseStudio NullSenseStudio left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Working great! Just has a couple of small issues I ran into.

Comment thread generator_process/actor.py Outdated
Comment thread generator_process/actions/convert_original_stable_diffusion_to_diffusers.py Outdated
carson-katri and others added 3 commits December 11, 2022 12:20
Co-authored-by: NullSenseStudio <47096043+NullSenseStudio@users.noreply.github.com>
…_diffusers.py

Co-authored-by: NullSenseStudio <47096043+NullSenseStudio@users.noreply.github.com>
…_diffusers.py

Co-authored-by: NullSenseStudio <47096043+NullSenseStudio@users.noreply.github.com>
@carson-katri
carson-katri merged commit 65c89d5 into main Dec 11, 2022
JasonHoku pushed a commit to JasonHoku/dream-textures that referenced this pull request Dec 20, 2022
* Add progress bar and model conversion

* Add option to specify model config

* Update generator_process/actor.py

Co-authored-by: NullSenseStudio <47096043+NullSenseStudio@users.noreply.github.com>

* Update generator_process/actions/convert_original_stable_diffusion_to_diffusers.py

Co-authored-by: NullSenseStudio <47096043+NullSenseStudio@users.noreply.github.com>

* Update generator_process/actions/convert_original_stable_diffusion_to_diffusers.py

Co-authored-by: NullSenseStudio <47096043+NullSenseStudio@users.noreply.github.com>

Co-authored-by: NullSenseStudio <47096043+NullSenseStudio@users.noreply.github.com>
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

Successfully merging this pull request may close these issues.

2 participants