Skip to content

Commit

Permalink
fix libchatllm
Browse files Browse the repository at this point in the history
  • Loading branch information
Judd committed Aug 28, 2024
1 parent 6687958 commit 9f8ed16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,7 @@ int chatllm_start(struct chatllm_obj *obj, f_chatllm_print f_print, f_chatllm_en

try
{
chatllm::ModelObject::extra_args pipe_args(args.max_length, args.layer_spec);
chatllm::ModelObject::extra_args pipe_args(args.max_length, args.layer_spec, args.n_gpu_layers);

if (args.embedding_model_path.size() < 1)
{
Expand Down

0 comments on commit 9f8ed16

Please sign in to comment.