ml-stable-diffusion icon indicating copy to clipboard operation
ml-stable-diffusion copied to clipboard

bugfix: updated scaling factor for SDXL

Open lopez-hector opened this issue 2 years ago • 1 comments

Updating the scale factor for SDXL. Using the prior scale factor results in hazy images. Updated scale factor is from https://huggingface.co/stabilityai/stable-diffusion-xl-base-1.0/blob/main/vae/config.json

with updated scale factor (0.13025):

_randomSeed_5893757_13-10:09:45_numInferenceSteps25

with prior scale factor (0.18215):

_randomSeed_5893757_13-10:05:27_numInferenceSteps25

Thank you for your interest in contributing to Core ML Stable Diffusion! Please review CONTRIBUTING.md first. If you would like to proceed with making a pull request, please indicate your agreement to the terms outlined in CONTRIBUTING.md by checking the box below. If not, please go ahead and fork this repo and make your updates.

We appreciate your interest in the project!

Do not erase the below when submitting your pull request: #########

  • [x] I agree to the terms outlined in CONTRIBUTING.md

lopez-hector avatar Nov 13 '23 18:11 lopez-hector

any chance this is getting merged soon?

cchance27 avatar Dec 01 '23 17:12 cchance27