We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a151b7 commit 16a493aCopy full SHA for 16a493a
comfy_extras/chainner_models/model_loading.py
@@ -0,0 +1,5 @@
1
+from spandrel import ModelLoader
2
+
3
+def load_state_dict(state_dict):
4
+ print("WARNING: comfy_extras.chainner_models is deprecated and has been replaced by the spandrel library.")
5
+ return ModelLoader().load_from_state_dict(state_dict).eval()
0 commit comments