mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-11-19 14:18:17 +01:00
fix: idols-ai - disable zram swap when running large LLM models via mmap with limited RAM
This commit is contained in:
1 parent
68c3c8436d
commit
3c27adbb95
1 file changed
+3
@@ -24,6 +24,9 @@ in
|
||||
./secureboot.nix
|
||||
];
|
||||
|
||||
# Zram consumes physical memory for compression, which can cause a deadlock and system hang if the model size approaches the physical memory limit.
|
||||
zramSwap.enable = lib.mkForce false;
|
||||
|
||||
services.sunshine.enable = lib.mkForce true;
|
||||
services.tuned.ppdSettings.main.default = lib.mkForce "performance";
|
||||
|
||||
|
||||
Reference in new issue
Block a user