From d7d91bca69fbdf87c4d15c2ba8ef6a2598831ef7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20du=20Hamel?= Date: Fri, 28 Feb 2025 20:06:26 +0100 Subject: [PATCH] Tae: fix race condition causing inconsistent value for `decoder_only` --- tae.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tae.hpp b/tae.hpp index 68305982..c458b87d 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); }