SIGN IN SIGN UP

ggml: unify backend logging mechanism (#9709)

* Add scaffolding for ggml logging macros

* Metal backend now uses GGML logging

* Cuda backend now uses GGML logging

* Cann backend now uses GGML logging

* Add enum tag to parameters

* Use C memory allocation funcs

* Fix compile error

* Use GGML_LOG instead of GGML_PRINT

* Rename llama_state to llama_logger_state

* Prevent null format string

* Fix whitespace

* Remove log callbacks from ggml backends

* Remove cuda log statement
B
bandoti committed
d6fe7abf04e8ec5240dead6e2773ed1b7e7495d3
Parent: e3c355b
Committed by GitHub <noreply@github.com> on 10/3/2024, 3:39:03 PM