From 762be6e3697f836cdf68e09f9e804d924ae98385 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Mon, 14 Apr 2025 10:16:16 -0400 Subject: [PATCH] cleanup te hijack Signed-off-by: Vladimir Mandic --- modules/sd_hijack_te.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sd_hijack_te.py b/modules/sd_hijack_te.py index 5653839f1..498f0377d 100644 --- a/modules/sd_hijack_te.py +++ b/modules/sd_hijack_te.py @@ -21,6 +21,6 @@ def hijack_encode_prompt(*args, **kwargs): def init_hijack(pipe): if shared.opts.te_hijack and pipe is not None and not hasattr(pipe, 'orig_encode_prompt') and hasattr(pipe, 'encode_prompt'): - shared.log.debug(f'Model: cls={pipe.__class__.__name__} hijack encode') + # shared.log.debug(f'Model: cls={pipe.__class__.__name__} hijack encode') pipe.orig_encode_prompt = pipe.encode_prompt pipe.encode_prompt = hijack_encode_prompt