Skip to content
This repository has been archived by the owner on Aug 30, 2024. It is now read-only.

Commit

Permalink
fix py build
Browse files Browse the repository at this point in the history
  • Loading branch information
luoyu-intel committed Jun 21, 2024
1 parent afac900 commit 466d756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neural_speed/application/main_pybind.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,7 @@ void Model::init_model(const std::string& model_path, int max_new_tokens, int n_
token_eos = false;
curr_input_ids.clear();
curr_input_ids.resize(params.max_request_num);
ctx = model_init_from_gpt_params(params);
ctx = model_init_from_gpt_params(params, nullptr);
n_vocab = model_n_vocab(ctx);
n_ctx = model_n_ctx(ctx);
last_n_tokens.resize(params.max_request_num);
Expand Down

0 comments on commit 466d756

Please sign in to comment.