| llama_supports_mmap | R Documentation |
Check whether memory-mapped file I/O is supported
llama_supports_mmap()
A logical scalar: TRUE if mmap is supported.
# Check memory-mapping support before loading large models
if (llama_supports_mmap()) {
message("mmap available — large models will load faster")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.