refactor: remove vae_decode_only context flag (#1653)

This commit is contained in:
leejet authored and GitHub committed 2026-06-14 15:23:29 +08:00
1 parent bdb431ad95
commit 749186c0eb
7 files changed
+16 -78

No files matched your search

+1 -1
View File
@@ -1426,7 +1426,7 @@ struct LTXVideoVAE : public VAE {
const sd::Tensor<float>& z,
bool decode_graph) override {
if (!decode_graph && decode_only) {
LOG_ERROR("LTX video VAE encode requires encoder weights; create the context with vae_decode_only=false");
LOG_ERROR("LTX video VAE encode requires encoder weights");
return {};
}
sd::Tensor<float> input = z;