mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-09-19 01:05:09 +02:00
Merge branch 'upstream' into concedo_experimental
# Conflicts: # .devops/cann.Dockerfile # .github/workflows/build.yml # .github/workflows/release.yml # .gitignore # README.md # common/CMakeLists.txt # docs/ops.md # docs/ops/Vulkan.csv # examples/eval-callback/eval-callback.cpp # ggml/src/ggml-cann/aclnn_ops.cpp # ggml/src/ggml-cpu/CMakeLists.txt # ggml/src/ggml-cpu/arch/x86/repack.cpp # ggml/src/ggml-cpu/kleidiai/kernels.cpp # scripts/sync-ggml.last # src/llama-grammar.cpp # tests/test-backend-ops.cpp # tests/test-chat.cpp # tools/server/CMakeLists.txt
This commit is contained in:
+3
-3
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user