From df7d7695005dc791c583f308412154f84663818c Mon Sep 17 00:00:00 2001 From: Limin Tang Date: Tue, 29 Jul 2025 11:43:48 -0700 Subject: [PATCH] Static IO manager bug fix (#12718) Summary: As title. Reviewed By: sxu Differential Revision: D78717294 --- examples/models/llama/runner/static_attention_io_manager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/models/llama/runner/static_attention_io_manager.h b/examples/models/llama/runner/static_attention_io_manager.h index 6d5ad780173..b117b14826b 100644 --- a/examples/models/llama/runner/static_attention_io_manager.h +++ b/examples/models/llama/runner/static_attention_io_manager.h @@ -859,7 +859,7 @@ class StaticAttentionIOManager { } StaticAttentionIOConfig config_; - size_t input_pos_; + size_t input_pos_ = 0; StaticKVCache kCaches_; StaticKVCache vCaches_; std::unordered_map>