mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2025-12-13 05:48:56 +00:00
fix: make tiled VAE reuse the compute buffer (#821)
This commit is contained in:
parent
fce6afcc6a
commit
ddc4a18b92
2
vae.hpp
2
vae.hpp
@ -588,7 +588,7 @@ struct AutoEncoderKL : public VAE {
|
|||||||
};
|
};
|
||||||
// ggml_set_f32(z, 0.5f);
|
// ggml_set_f32(z, 0.5f);
|
||||||
// print_ggml_tensor(z);
|
// print_ggml_tensor(z);
|
||||||
GGMLRunner::compute(get_graph, n_threads, true, output, output_ctx);
|
GGMLRunner::compute(get_graph, n_threads, false, output, output_ctx);
|
||||||
}
|
}
|
||||||
|
|
||||||
void test() {
|
void test() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user