change in spaces, change in fprintf formating
This commit is contained in:
parent
db2a5beef1
commit
75418dc2c2
1 changed files with 7 additions and 8 deletions
|
@ -174,7 +174,6 @@ int main(int argc, char ** argv) {
|
||||||
// is it an end of stream?
|
// is it an end of stream?
|
||||||
if (new_token_id_expert == llama_token_eos(model_expert) || n_cur == n_len) {
|
if (new_token_id_expert == llama_token_eos(model_expert) || n_cur == n_len) {
|
||||||
LOG_TEE("\n");
|
LOG_TEE("\n");
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -194,11 +193,11 @@ int main(int argc, char ** argv) {
|
||||||
|
|
||||||
// evaluate the current batch with the transformer model
|
// evaluate the current batch with the transformer model
|
||||||
if (llama_decode(ctx_expert, batch)) {
|
if (llama_decode(ctx_expert, batch)) {
|
||||||
fprintf(stderr, "%s : failed to eval, return code %d\n", __func__, 1);
|
fprintf(stderr, "%s : failed to eval, return code 1\n", __func__);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
if (llama_decode(ctx_amateur, batch)) {
|
if (llama_decode(ctx_amateur, batch)) {
|
||||||
fprintf(stderr, "%s : failed to eval, return code %d\n", __func__, 1);
|
fprintf(stderr, "%s : failed to eval, return code 1\n", __func__);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue