@@ -9977,7 +9977,7 @@ int32_t llama_encode(
99779977 // also convert llama_batch to llama_batch_ext
99789978 llama_batch_allocr batch_allocr (batch, batch.pos ? -1 : ctx->kv_self .max_pos () + 1 );
99799979 llama_batch_ext * batch_ext = batch_allocr.batch ;
9980- return llama_text_encode (ctx, batch_ext);
9980+ return llama_encode_ext (ctx, batch_ext);
99819981}
99829982
99839983// DEPRECATED
@@ -9988,10 +9988,10 @@ int32_t llama_decode(
99889988 // also convert llama_batch to llama_batch_ext
99899989 llama_batch_allocr batch_allocr (batch, batch.pos ? -1 : ctx->kv_self .max_pos () + 1 );
99909990 llama_batch_ext * batch_ext = batch_allocr.batch ;
9991- return llama_text_decode (ctx, batch_ext);
9991+ return llama_decode_ext (ctx, batch_ext);
99929992}
99939993
9994- int32_t llama_text_encode (
9994+ int32_t llama_encode_ext (
99959995 struct llama_context * ctx,
99969996 struct llama_batch_ext * batch) {
99979997 const int ret = llama_encode_impl (*ctx, *batch);
@@ -10002,7 +10002,7 @@ int32_t llama_text_encode(
1000210002 return ret;
1000310003}
1000410004
10005- int32_t llama_text_decode (
10005+ int32_t llama_decode_ext (
1000610006 struct llama_context * ctx,
1000710007 struct llama_batch_ext * batch) {
1000810008 const int ret = llama_decode_impl (*ctx, *batch);
0 commit comments