Skip to content

Commit aac2c21

Browse files
committed
format code
1 parent f88bb9e commit aac2c21

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stable-diffusion.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -304,9 +304,9 @@ class StableDiffusionGGML {
304304
}
305305

306306
LOG_INFO("Version: %s ", model_version_to_str[version]);
307-
ggml_type wtype = (int)sd_ctx_params->wtype < std::min<int>(SD_TYPE_COUNT, GGML_TYPE_COUNT)
308-
? (ggml_type)sd_ctx_params->wtype
309-
: GGML_TYPE_COUNT;
307+
ggml_type wtype = (int)sd_ctx_params->wtype < std::min<int>(SD_TYPE_COUNT, GGML_TYPE_COUNT)
308+
? (ggml_type)sd_ctx_params->wtype
309+
: GGML_TYPE_COUNT;
310310
std::string tensor_type_rules = SAFE_STR(sd_ctx_params->tensor_type_rules);
311311
if (wtype != GGML_TYPE_COUNT || tensor_type_rules.size() > 0) {
312312
model_loader.set_wtype_override(wtype, tensor_type_rules);

0 commit comments

Comments
 (0)