mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-11-02 09:12:03 +00:00
naming : normalize the name of callback-related identifiers
ggml-ci
This commit is contained in:
@@ -17,7 +17,7 @@ int main(int argc, char *argv[] ) {
|
||||
llama_backend_init();
|
||||
auto params = llama_model_params{};
|
||||
params.use_mmap = false;
|
||||
params.progress_callback = [](float progress, void * ctx){
|
||||
params.cb_progress = [](float progress, void * ctx){
|
||||
(void) ctx;
|
||||
return progress > 0.50;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user