llama : allow using mmap without PrefetchVirtualMemory, apply GGML_WIN_VER to llama.cpp sources (#14013)

This commit is contained in:
Diego Devesa authored and GitHub committed 2025-06-05 11:57:42 +02:00
1 parent d01d112abb
commit 3a077146a4
4 files changed
+7 -3

No files matched your search

+1 -1
View File
@@ -401,7 +401,7 @@ struct llama_mmap::impl {
}
}
#else
throw std::runtime_error("PrefetchVirtualMemory unavailable");
LLAMA_LOG_DEBUG("skipping PrefetchVirtualMemory because _WIN32_WINNT < 0x602\n");
#endif
}
}