mirror of
https://github.com/Lizonghang/prima.cpp.git
synced 2025-09-10 07:14:33 +00:00
check env path before calling fio to ensure we can find it
This commit is contained in:
parent
2d649c808d
commit
36f353e374
2 changed files with 42 additions and 2 deletions
|
@ -1486,7 +1486,7 @@ struct llama_init_result llama_init_from_gpt_params(gpt_params & params) {
|
|||
|
||||
if (auto_schedule) {
|
||||
// get device profile
|
||||
LOG_INF("Start profiling this device, this may take some seconds ...\n");
|
||||
LOG_INF("\nstart profiling this device, this may take some seconds ...\n");
|
||||
dev_info.rank = params.rank;
|
||||
llama_profile_device(&dev_info, model, ml, params.gpu_mem, params.n_predict, params.n_ctx, params.cpuparams.n_threads, params.flash_attn);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue