mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-10 06:49:12 +02:00
added toggle for vae tiling, use custom memory buffer
This commit is contained in:
@@ -1084,7 +1084,8 @@ public:
|
||||
ggml_tensor_scale_output(result);
|
||||
}
|
||||
} else {
|
||||
if (vae_tiling && decode) { // TODO: support tiling vae encode
|
||||
//koboldcpp never use tiling with taesd
|
||||
if (false && vae_tiling && decode) { // TODO: support tiling vae encode
|
||||
// split latent in 64x64 tiles and compute in several steps
|
||||
auto on_tiling = [&](ggml_tensor* in, ggml_tensor* out, bool init) {
|
||||
tae_first_stage->compute(n_threads, in, decode, &out);
|
||||
|
||||
Reference in New Issue
Block a user