The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Enable safe loading for upscale models.
comfyanonymous587f89fe5a8e
diff --git a/comfy_extras/nodes_upscale_model.py b/comfy_extras/nodes_upscale_model.pyindex ab5b0ccfc..f9252ea0b 100644--- a/comfy_extras/nodes_upscale_model.py+++ b/comfy_extras/nodes_upscale_model.py@@ -17,7 +17,7 @@ class UpscaleModelLoader:def load_model(self, model_name):model_path = folder_paths.get_full_path("upscale_models", model_name)- sd = comfy.utils.load_torch_file(model_path)+ sd = comfy.utils.load_torch_file(model_path, safe_load=True)out = model_loading.load_state_dict(sd).eval()return (out, )