crowsonkb / k-diffusion

Karras et al. (2022) diffusion models for PyTorch
MIT License
2.21k stars 371 forks source link

Fixing "SeedSequence expects int or sequence of ints for entropy not N.0" #62

Open chmatse opened 1 year ago

chmatse commented 1 year ago

When Using the AUTOMATIC1111 or vladmandic/automatic stable diffusion webui, the Sampler DPM++ SDE spits out an error when a seed 3106912320 is defined in the Prompt Matrix script:

SeedSequence expects int or sequence of ints for entropy not 3106912320.0

This issues was reported in: https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/7989

And the user grumpyland posted a quick and dirty fix for it. Since this also fixed my problem in vladmandic/automatic, i made an issue request: https://github.com/vladmandic/automatic/issues/904

vladmandic recommended to create a Pull Request, so here is my commit to it.

Z0ul0u25 commented 1 year ago

I had to do this hotfix myself. Glad to find i was not alone and a merge request already exist.