The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Fix issue and unpin spandrel package.
comfyanonymous9a151b7defb6
diff --git a/comfy_extras/nodes_upscale_model.py b/comfy_extras/nodes_upscale_model.pyindex f0bbba766..03f294465 100644--- a/comfy_extras/nodes_upscale_model.py+++ b/comfy_extras/nodes_upscale_model.py@@ -42,7 +42,7 @@ class ImageUpscaleWithModel:def upscale(self, upscale_model, image):device = model_management.get_torch_device()- memory_required = model_management.module_size(upscale_model)+ memory_required = model_management.module_size(upscale_model.model)memory_required += (512 * 512 * 3) * image.element_size() * max(upscale_model.scale, 1.0) * 384.0 #The 384.0 is an estimate of how much some of these models take, TODO: make it more accuratememory_required += image.nelement() * image.element_size()model_management.free_memory(memory_required, device)diff --git a/requirements.txt b/requirements.txtindex a1a29218c..906b96eda 100644--- a/requirements.txt+++ b/requirements.txt@@ -10,5 +10,7 @@ Pillowscipytqdmpsutil++#non essential dependencies:kornia>=0.7.1-spandrel==0.3.1\ No newline at end of file+spandrel