units (+2 squashed commit)

Squashed commit:

[166979d9] units coversion

[038dd5d4] get rid of all warnings (+1 squashed commits)

Squashed commits:

[6efd1e1b] get rid of all warnings
This commit is contained in:
Concedo 2024-01-20 23:43:01 +08:00
parent 71e9a64171
commit 5639c1a520
5 changed files with 6 additions and 12 deletions

View file

@ -6482,6 +6482,7 @@ static uint8_t llama_token_to_byte(const llama_vocab& vocab, llama_token id) {
}
default:
GGML_ASSERT_CONTINUE(false);
return 0;
}
}
@ -6497,6 +6498,7 @@ static llama_token llama_byte_to_token(const llama_vocab & vocab, uint8_t ch) {
}
default:
GGML_ASSERT_CONTINUE(false);
return 0;
}
}