Skip to content

Commit aa1dc37

Browse files
authored
Setting mmap and direct_io to false as default in llama-bench.cpp (#18841)
1 parent 4ea2eaa commit aa1dc37

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/llama-bench/llama-bench.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -372,8 +372,8 @@ static const cmd_params cmd_params_defaults = {
372372
/* devices */ { {} },
373373
/* tensor_split */ { std::vector<float>(llama_max_devices(), 0.0f) },
374374
/* tensor_buft_overrides*/ { std::vector<llama_model_tensor_buft_override>{ { nullptr, nullptr } } },
375-
/* use_mmap */ { true },
376-
/* use_direct_io */ { true },
375+
/* use_mmap */ { false },
376+
/* use_direct_io */ { false },
377377
/* embeddings */ { false },
378378
/* no_op_offload */ { false },
379379
/* no_host */ { false },

0 commit comments

Comments
 (0)