fixed a typo

This commit is contained in:
Concedo 2025-05-30 13:35:42 +08:00
parent a11ab0b08e
commit fe401ca4c2

View file

@ -127,8 +127,9 @@ bool embeddingstype_load_model(const embeddings_load_model_inputs inputs)
max_batchsize = n_ctx_train; max_batchsize = n_ctx_train;
ctx_params.embeddings = true; ctx_params.embeddings = true;
ctx_params.n_ubatch = ctx_params.n_ubatch = max_batchsize; //max size, must fit ctx_params.n_ubatch = max_batchsize; //max size, must fit
ctx_params.n_ctx = max_batchsize; ctx_params.n_ctx = max_batchsize;
ctx_params.n_batch = max_batchsize;
ctx_params.offload_kqv = false; ctx_params.offload_kqv = false;
ctx_params.n_threads = nthreads; ctx_params.n_threads = nthreads;
ctx_params.n_threads_batch = nthreads; ctx_params.n_threads_batch = nthreads;