Closed sullenfish closed 10 months ago
Thank you for the report & PR
After looking at vlad's source https://github.com/vladmandic/automatic/blob/master/modules/unipc/uni_pc.py
it seems from modules import unipc as uni_pc
should suffice to import as expected, rather than the middle module. Rather annoying to randomly refactor that, but vlad doesn't seem overly concerned with compatibility.
Let me know if the simplified import doesn't work
Working as designed. Thank you!
SD.Next project refactored
modules
, removingmodels
and thus impacting the import ofmodules.models.diffusion.uni_pc
indynthres_unipc.py
.Cheap solution:
Replace
With
I can draft a PR if that's an acceptable approach.