1
0
Fork 0

lint(api): reduce log level during SDXL LoRA blending

This commit is contained in:
Sean Sube 2023-11-05 15:55:49 -06:00
parent 8ba9f3c0b7
commit 046803fc2b
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ def fix_xl_names(keys: Dict[str, Any], nodes: List[NodeProto]):
logger.warning("new XL key type: %s", root) logger.warning("new XL key type: %s", root)
continue continue
logger.debug("searching for XL node: /%s/*/%s", block, suffix) logger.trace("searching for XL node: /%s/*/%s", block, suffix)
match = None match = None
if block == "text_model": if block == "text_model":
match = next( match = next(
@ -139,7 +139,7 @@ def fix_xl_names(keys: Dict[str, Any], nodes: List[NodeProto]):
# wtf # wtf
name = f"{name}ut" name = f"{name}ut"
logger.debug("matching XL key with node: %s -> %s", key, match.name) logger.trace("matching XL key with node: %s -> %s", key, match.name)
fixed[name] = value fixed[name] = value
nodes.remove(match) nodes.remove(match)