mirror of
https://github.com/Lizonghang/prima.cpp.git
synced 2025-09-07 02:19:03 +00:00
remove arg test_file
This commit is contained in:
parent
0a91ad3edc
commit
9cd22177d0
2 changed files with 2 additions and 3 deletions
|
@ -896,7 +896,7 @@ struct llama_init_result llama_init_from_gpt_params(gpt_params & params) {
|
|||
|
||||
device_info dev_info;
|
||||
dev_info.rank = params.rank;
|
||||
llama_profile_device(&dev_info, model, ml, params.model.c_str(), params.cpuparams.n_threads);
|
||||
llama_profile_device(&dev_info, model, ml, params.cpuparams.n_threads);
|
||||
|
||||
// create llama context
|
||||
struct llama_context_params cparams = llama_context_params_from_gpt_params(params);
|
||||
|
|
|
@ -413,8 +413,7 @@ extern "C" {
|
|||
LLAMA_API void llama_profile_device(
|
||||
struct device_info * dev_info,
|
||||
struct llama_model * model,
|
||||
struct llama_model_loader * ml,
|
||||
const char * test_file,
|
||||
struct llama_model_loader * ml,
|
||||
int n_threads);
|
||||
|
||||
LLAMA_API ggml_backend_buffer_type_t llama_dev_buffer_type(struct llama_model * model, int device);
|
||||
|
|
Loading…
Add table
Reference in a new issue