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>