Closed MythicalChu closed 6 months ago
thanks for the bug report! does the latest commit ( https://github.com/blepping/comfyui_jankhidiffusion/commit/e693373a128156b874677dc3868d7d63e2c7584c ) fix your issue? i took a slightly different approach.
It seems to have worked, thanks! (haven't tested extensively yet, but it happened right at 1st gen and now it doesn't anymore, so...)
not a problem. let me know if you run into any other issues!
It's the same problem that happened on IpAdapter and , I think, on base ComfyUI too:
https://github.com/cubiq/ComfyUI_IPAdapter_plus/issues/109#issuecomment-2004516030
I didn't even need to debug your code, just went ahead and altered, on raunet.py, the following lines:
line 26: sigma = sigma.max().item() to: sigma = sigma.max().detach().cpu().numpy()
lines 263 and 277: sigma = extra_options["sigmas"].max().item() to: sigma = extra_options["sigmas"].max().detach().cpu().numpy()
and problem fixed.