Skip to content

Commit

Permalink
[LLM Runtime]Fix gptneox bug (intel#671)
Browse files Browse the repository at this point in the history
Signed-off-by: intellinjun <jun.lin@intel.com>
  • Loading branch information
intellinjun authored Nov 14, 2023
1 parent 65a645f commit ef2c479
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ void model_load_internal(const std::string& fname, model_archs arch, model_conte
std::unique_ptr<GPTNEOX> ms(new GPTNEOX());
ms->init(fname.c_str(), lctx, n_gpu_layers, use_mmap, use_mlock, vocab_only);
ms->load(lctx, progress_callback, progress_callback_user_data);
lctx.support_jblas_kv = true;
}

void GPTNEOX::init(const char* path_model, model_context& lctx, int n_gpu_layer_, bool use_mmap_, bool use_mlock_,
Expand Down

0 comments on commit ef2c479

Please sign in to comment.