Skip to content

Commit 9f8ed16

Browse files
author
Judd
committed
fix libchatllm
1 parent 6687958 commit 9f8ed16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1071,7 +1071,7 @@ int chatllm_start(struct chatllm_obj *obj, f_chatllm_print f_print, f_chatllm_en
10711071

10721072
try
10731073
{
1074-
chatllm::ModelObject::extra_args pipe_args(args.max_length, args.layer_spec);
1074+
chatllm::ModelObject::extra_args pipe_args(args.max_length, args.layer_spec, args.n_gpu_layers);
10751075

10761076
if (args.embedding_model_path.size() < 1)
10771077
{

0 commit comments

Comments
 (0)