From f50a7f66aaf9de266e373cd8e7886d7b20f2fb86 Mon Sep 17 00:00:00 2001 From: stduhpf Date: Sat, 1 Mar 2025 04:49:06 +0100 Subject: [PATCH] fix: fix race condition causing inconsistent value for `decoder_only` (#609) --- tae.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tae.hpp b/tae.hpp index 6830598..c458b87 100644 --- a/tae.hpp +++ b/tae.hpp @@ -201,7 +201,7 @@ struct TinyAutoEncoder : public GGMLRunner { bool decoder_only = true, SDVersion version = VERSION_SD1) : decode_only(decoder_only), - taesd(decode_only, version), + taesd(decoder_only, version), GGMLRunner(backend) { taesd.init(params_ctx, tensor_types, prefix); }