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
@@ -48,6 +48,7 @@ Context Options:
--vae-tiling process vae in tiles to reduce memory usage
--force-sdxl-vae-conv-scale force use of conv scale on sdxl vae
--offload-to-cpu place the weights in RAM to save VRAM, and automatically load them into VRAM when needed
--mmap whether to memory-map model
--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)