Setting mmap and direct_io to false as default in llama-bench.cpp (#18841)

This commit is contained in:
Julius Tischbein 2026-01-16 09:46:51 +01:00 committed by GitHub
parent 4ea2eaac01
commit aa1dc3770a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -372,8 +372,8 @@ static const cmd_params cmd_params_defaults = {
/* devices */ { {} },
/* tensor_split */ { std::vector<float>(llama_max_devices(), 0.0f) },
/* tensor_buft_overrides*/ { std::vector<llama_model_tensor_buft_override>{ { nullptr, nullptr } } },
/* use_mmap */ { true },
/* use_direct_io */ { true },
/* use_mmap */ { false },
/* use_direct_io */ { false },
/* embeddings */ { false },
/* no_op_offload */ { false },
/* no_host */ { false },