lint(api): move some noisy log messages to trace level
This commit is contained in:
parent
a1fc60641f
commit
2546084208
|
@ -510,7 +510,7 @@ def convert_diffusion_diffusers(
|
|||
run_gc()
|
||||
|
||||
# UNET
|
||||
logger.debug("UNET config: %s", pipeline.unet.config)
|
||||
logger.trace("UNET config: %s", pipeline.unet.config)
|
||||
if single_vae:
|
||||
unet_inputs = ["sample", "timestep", "encoder_hidden_states", "class_labels"]
|
||||
unet_scale = torch.tensor(4).to(device=device, dtype=torch.long)
|
||||
|
|
|
@ -502,7 +502,7 @@ def load_wildcards(server: ServerContext) -> None:
|
|||
lines = f.read().splitlines()
|
||||
lines = [line.strip() for line in lines if not line.startswith("#")]
|
||||
lines = [line for line in lines if len(line) > 0]
|
||||
logger.debug("loading wildcards from %s: %s", file, lines)
|
||||
logger.trace("loading wildcards from %s: %s", file, lines)
|
||||
wildcard_data[path.splitext(file)[0]].extend(lines)
|
||||
|
||||
structured_files = list_model_globs(
|
||||
|
@ -515,7 +515,7 @@ def load_wildcards(server: ServerContext) -> None:
|
|||
|
||||
for file in structured_files:
|
||||
data = load_config(path.join(wildcard_path, file))
|
||||
logger.debug("loading structured wildcards from %s: %s", file, data)
|
||||
logger.trace("loading structured wildcards from %s: %s", file, data)
|
||||
parse_wildcards(data, root_key=path.splitext(file)[0])
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue