From 22ba543e74bf98141d04f05bac344228b3a474e6 Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Fri, 11 Oct 2024 04:22:36 +0200 Subject: [PATCH] soryu: add more ram --- hosts/soryu/ai.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/hosts/soryu/ai.nix b/hosts/soryu/ai.nix index 8578ea7..71729fd 100644 --- a/hosts/soryu/ai.nix +++ b/hosts/soryu/ai.nix @@ -15,8 +15,8 @@ Bind = [ "/dev/dri:/dev/dri" "/dev/kfd:/dev/kfd" - "/mnt/human/llama:/llama" - "/mnt/human/sd:/sd" + "/mnt/human/llama:/llama:idmap" + "/mnt/human/sd:/sd:idmap" ]; }; }; @@ -27,8 +27,8 @@ }; serviceConfig = { CPUQuota = "300%"; - MemoryHigh = "14G"; - MemoryMax = "15G"; + MemoryHigh = "29G"; + MemoryMax = "30G"; MemorySwapMax = "25G"; ExecStart = "systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --network-veth -U --settings=override --machine=%i -D /mnt/human/machines/ubuntu-ai"; };