v0xie / sd-webui-cads

Greatly increase the diversity of your generated images in Automatic1111 WebUI through Condition-Annealed Sampling.
GNU General Public License v3.0
103 stars 6 forks source link

Correct imports and attibutes for SD.Next support #22

Closed prilr closed 9 months ago

prilr commented 9 months ago

SD.Next has some differences in the things CADS uses.

Namely, there's no RNG module (randn_like is used from torch directly), and the xyz_grid has no boolean_choice function. Both seem to be fairly simple to replace, and the extension no longer throws errors upon UI load.

v0xie commented 9 months ago

thanks!