Fix issue with pinned memory.

This commit is contained in:
comfyanonymous 2025-11-01 16:29:59 -04:00 committed by GitHub
parent 20182a393f
commit be4190e25f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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