This commit is contained in:
comfyanonymous 2025-12-02 21:30:44 -05:00 committed by GitHub
parent 55e8737dc5
commit 8d3f471e4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -324,7 +324,6 @@ class ZImageControlPatch:
self.encoded_image = self.encode_latent_cond(image_scaled.movedim(1, -1))
self.encoded_image_size = (image_scaled.shape[-2], image_scaled.shape[-1])
comfy.model_management.load_models_gpu(loaded_models)
print("encode")
cnet_index = (block_index // 5)
cnet_index_float = (block_index / 5)