Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Keep compatibility with some custom nodes.

comfyanonymous16a493a19042
diff --git a/comfy_extras/chainner_models/model_loading.py b/comfy_extras/chainner_models/model_loading.py
new file mode 100644
index 000000000..d48bc238c
--- /dev/null
+++ b/comfy_extras/chainner_models/model_loading.py
@@ -0,0 +1,5 @@
+from spandrel import ModelLoader
+
+def load_state_dict(state_dict):
+ print("WARNING: comfy_extras.chainner_models is deprecated and has been replaced by the spandrel library.")
+ return ModelLoader().load_from_state_dict(state_dict).eval()