Skip to content

Commit bb2bfe0

Browse files
authored
Put it back
1 parent 531c15c commit bb2bfe0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

extension/llm/runner/llm_runner_helper.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ get_llm_metadata(tokenizers::Tokenizer* tokenizer, Module* module) {
113113
Error,
114114
"Required metadata method %s not found in model",
115115
llm::kMaxSeqLen);
116+
return ::executorch::runtime::Error::InvalidArgument;
116117
}
117118

118119
for (auto& pair : metadata) {

0 commit comments

Comments
 (0)