talk-llama : sync llama.cpp

This commit is contained in:
Georgi Gerganov
2025-12-12 18:15:27 +02:00
parent 48cdc06e91
commit 179d8b1c9c
28 changed files with 2163 additions and 177 deletions
+3 -3
View File
@@ -20,10 +20,10 @@ static llama_logger_state g_logger_state;
time_meas::time_meas(int64_t & t_acc, bool disable) : t_start_us(disable ? -1 : ggml_time_us()), t_acc(t_acc) {}
time_meas::~time_meas() {
if (t_start_us >= 0) {
t_acc += ggml_time_us() - t_start_us;
}
if (t_start_us >= 0) {
t_acc += ggml_time_us() - t_start_us;
}
}
void llama_log_set(ggml_log_callback log_callback, void * user_data) {
ggml_log_set(log_callback, user_data);