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.

Fix issue with pinned memory. (#10597)

comfyanonymous44869ff786dc
diff --git a/comfy/model_patcher.py b/comfy/model_patcher.py
index 3e8799983..5a31a8734 100644
--- a/comfy/model_patcher.py
+++ b/comfy/model_patcher.py
@@ -298,6 +298,7 @@ class ModelPatcher:
n.backup = self.backup
n.object_patches_backup = self.object_patches_backup
n.parent = self
+ n.pinned = self.pinned
n.force_cast_weights = self.force_cast_weights