Skip to content

Commit

Permalink
Merge pull request #59 from edgenai/feat/allocation-prediction
Browse files Browse the repository at this point in the history
Feat/allocation prediction
  • Loading branch information
pedro-devv authored Mar 12, 2024
2 parents 9a21a8e + 43a6e69 commit 9c098a7
Show file tree
Hide file tree
Showing 7 changed files with 381 additions and 21 deletions.
128 changes: 123 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions crates/llama_cpp/src/detail.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ pub(crate) unsafe extern "C" fn llama_log_callback(
};

match level {
ggml_log_level_GGML_LOG_LEVEL_ERROR => error!("ggml: {text}"),
ggml_log_level_GGML_LOG_LEVEL_INFO => info!("ggml: {text}"),
ggml_log_level_GGML_LOG_LEVEL_WARN => warn!("ggml: {text}"),
ggml_log_level_GGML_LOG_LEVEL_ERROR => error!(target: "llama.cpp", "{text}"),
ggml_log_level_GGML_LOG_LEVEL_INFO => info!(target: "llama.cpp", "{text}"),
ggml_log_level_GGML_LOG_LEVEL_WARN => warn!(target: "llama.cpp", "{text}"),
_ => trace!("ggml: {text}"),
}
}
Loading

0 comments on commit 9c098a7

Please sign in to comment.