llama : disable Direct IO by default (#19109)

* llama : disable Direct IO by default

* cont : override mmap if supported
This commit is contained in:
Georgi Gerganov
2026-01-28 09:11:13 +02:00
committed by GitHub
parent eef375ce16
commit c5c64f72ac
6 changed files with 10 additions and 13 deletions
+1 -1
View File
@@ -438,7 +438,7 @@ struct common_params {
bool input_prefix_bos = false; // prefix BOS to user inputs, preceding input_prefix
bool use_mmap = true; // enable mmap to use filesystem cache
bool use_direct_io = true; // read from disk without buffering for faster model loading
bool use_direct_io = false; // read from disk without buffering
bool use_mlock = false; // use mlock to keep model in memory
bool verbose_prompt = false; // print prompt tokens before generation
bool display_prompt = true; // print prompt before generation