mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-24 21:30:15 +08:00
fix gguf logs to debug
This commit is contained in:
parent
5186d19441
commit
7ed9292532
@ -777,7 +777,7 @@ def gguf_sd_loader(path, handle_prefix="model.diffusion_model.", return_arch=Fal
|
|||||||
qtype_dict[tensor_type_str] = qtype_dict.get(tensor_type_str, 0) + 1
|
qtype_dict[tensor_type_str] = qtype_dict.get(tensor_type_str, 0) + 1
|
||||||
|
|
||||||
# print loaded tensor type counts
|
# print loaded tensor type counts
|
||||||
logger.info("gguf qtypes: " + ", ".join(f"{k} ({v})" for k, v in qtype_dict.items()))
|
logger.debug("gguf qtypes: " + ", ".join(f"{k} ({v})" for k, v in qtype_dict.items()))
|
||||||
|
|
||||||
# mark largest tensor for vram estimation
|
# mark largest tensor for vram estimation
|
||||||
qsd = {k: v for k, v in state_dict.items() if is_quantized(v)}
|
qsd = {k: v for k, v in state_dict.items() if is_quantized(v)}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user