modify hook breaker to work

This commit is contained in:
doctorpangloss 2025-06-17 10:39:51 -07:00
parent cdcbdaecb0
commit e8cf6489d2

View File

@ -1,7 +1,7 @@
# Prevent custom nodes from hooking anything important
import comfy.model_management
from .. import model_management
HOOK_BREAK = [(comfy.model_management, "cast_to")]
HOOK_BREAK = [(model_management, "cast_to")]
SAVED_FUNCTIONS = []