Skip to content

Commit af63c53

Browse files
committed
Demote error log to warning to models treated as having size 0.
1 parent bdf4fcd commit af63c53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

invokeai/backend/model_manager/load/model_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def calc_model_size_by_data(logger: logging.Logger, model: AnyModel) -> int:
3838
else:
3939
# TODO(ryand): Promote this from a log to an exception once we are confident that we are handling all of the
4040
# supported model types.
41-
logger.error(
41+
logger.warning(
4242
f"Failed to calculate model size for unexpected model type: {type(model)}. The model will be treated as "
4343
"having size 0."
4444
)

0 commit comments

Comments
 (0)