Skip to content

Commit 0447ebd

Browse files
authored
swap arg init in text_llm_runner (#14304)
Fix failures in [D82358803](https://www.internalfb.com/diff/D82358803)
1 parent eaad1c2 commit 0447ebd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extension/llm/runner/text_llm_runner.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ TextLLMRunner::TextLLMRunner(
4343
io_manager_(std::move(io_manager)),
4444
text_token_generator_(std::move(text_token_generator)),
4545
stats_(std::move(stats)),
46-
pos_(0),
47-
temperature_(temperature) {
46+
temperature_(temperature),
47+
pos_(0) {
4848
// Note: This constructor assumes that text_prefiller and text_token_generator
4949
// already have references to the Module and TextDecoderRunner they need
5050
}

0 commit comments

Comments
 (0)