mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2025-09-11 17:44:38 +00:00
added toggle for vae tiling, use custom memory buffer
This commit is contained in:
parent
d752846116
commit
568e476997
5 changed files with 44 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue