mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-26 23:29:53 +00:00
chore: do not report the fake VAE "allocation" as an error (#1494)
This commit is contained in:
parent
0b8296915c
commit
686856edca
1 changed files with 3 additions and 0 deletions
|
|
@ -2732,6 +2732,9 @@ public:
|
|||
rebuild_params_tensor_set();
|
||||
return true;
|
||||
}
|
||||
} else {
|
||||
LOG_DEBUG("%s skipping params allocation (no tensors)", get_desc().c_str());
|
||||
return true;
|
||||
}
|
||||
params_buffer = ggml_backend_alloc_ctx_tensors(params_ctx, params_backend);
|
||||
if (params_buffer == nullptr) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue