feat: support 16 channel tae (taesd/taef1) (#527)

This commit is contained in:
stduhpf
2024-12-28 06:13:48 +01:00
committed by GitHub
parent b5cc1422da
commit d50473dc49
2 changed files with 17 additions and 8 deletions

View File

@@ -360,7 +360,7 @@ public:
first_stage_model->alloc_params_buffer();
first_stage_model->get_param_tensors(tensors, "first_stage_model");
} else {
tae_first_stage = std::make_shared<TinyAutoEncoder>(backend, model_loader.tensor_storages_types, "decoder.layers", vae_decode_only);
tae_first_stage = std::make_shared<TinyAutoEncoder>(backend, model_loader.tensor_storages_types, "decoder.layers", vae_decode_only, version);
}
// first_stage_model->get_param_tensors(tensors, "first_stage_model.");