llama : disambiguate API

ggml-ci
This commit is contained in:
Georgi Gerganov 2024-09-02 10:06:42 +03:00
parent 8f1d81a0b6
commit 086e7f6ebc
No known key found for this signature in database
GPG key ID: BF970631944C16B7
9 changed files with 22 additions and 18 deletions

View file

@ -82,10 +82,10 @@ int main(int argc, char ** argv) {
model_dft = llama_init_dft.model;
ctx_dft = llama_init_dft.context;
const bool vocab_type_tgt = llama_vocab_type(model_tgt);
const bool vocab_type_tgt = llama_get_vocab_type(model_tgt);
LOG("vocab_type tgt: %d\n", vocab_type_tgt);
const bool vocab_type_dft = llama_vocab_type(model_dft);
const bool vocab_type_dft = llama_get_vocab_type(model_dft);
LOG("vocab_type dft: %d\n", vocab_type_dft);
if (vocab_type_tgt != vocab_type_dft) {