Skip to content

Commit

Permalink
fix: update JNI
Browse files Browse the repository at this point in the history
  • Loading branch information
yirongjie committed Nov 12, 2024
1 parent 2a9adc5 commit 713264d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions tools/jni/LibHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ void LibHelper::run(std::string &input_str, uint8_t *image, unsigned max_step, u
std::string output_string_;
LOGE("Running model %d", model_);
unsigned max_new_tokens = 500;
LOGE("Running backend %d", backend_);

if (model_ == QWEN) {
auto tokenizer = dynamic_pointer_cast<QWenTokenizer>(tokenizer_);
Expand Down

0 comments on commit 713264d

Please sign in to comment.