feat: support mmap for model loading (#1059)

This commit is contained in:
Wagner Bruna authored and GitHub committed 2025-12-28 22:38:29 +08:00
1 parent a2d83dd0c8
commit d0d836ae74
9 files changed
+175 -7

No files matched your search

+1
View File
@@ -43,6 +43,7 @@ Context Options:
--control-net-cpu keep controlnet in cpu (for low vram)
--clip-on-cpu keep clip in cpu (for low vram)
--vae-on-cpu keep vae in cpu (for low vram)
--mmap whether to memory-map model
--diffusion-fa use flash attention in the diffusion model
--diffusion-conv-direct use ggml_conv2d_direct in the diffusion model
--vae-conv-direct use ggml_conv2d_direct in the vae model