Updated slurm configuration

This commit is contained in:
Ceferino Patino 2024-10-10 18:59:38 -05:00
commit 1eaa0131e5
Signed by: c4patino
SSH key fingerprint: SHA256:Wu+cU1t+7zVT9wzew/4meNmeulo66NzMqc22MdDBgXI
4 changed files with 11 additions and 5 deletions

View file

@ -12,6 +12,9 @@
python312Packages.virtualenv
(if enableTensorflow then python312Packages.tensorflowWithCuda else null)
(if enableTensorflow then (python312Packages.keras.override { tensorflow = python312Packages.tensorflowWithCuda; }) else null)
(if enablePyTorch then python312Packages.torchvision else null)
(if enablePyTorch then python312Packages.torchaudio else null)

6
flake.lock generated
View file

@ -219,11 +219,11 @@
"dotfiles": {
"flake": false,
"locked": {
"lastModified": 1728089391,
"narHash": "sha256-gnd2dUScLBsBlfxPBqYWKAN2xdtqXjlc+h40gMIw6cw=",
"lastModified": 1728604720,
"narHash": "sha256-VN8P8Ccxe4KLqvgwfb28WZ4h8hRFbdMcOzaaSGEvv3o=",
"owner": "C4theBomb",
"repo": "dotfiles",
"rev": "dc363f89c37705933cb38c91c4d4188cccef8749",
"rev": "b8fddd98a667fc9aec584695cb5b04258a975766",
"type": "github"
},
"original": {

@ -1 +1 @@
Subproject commit dc363f89c37705933cb38c91c4d4188cccef8749
Subproject commit b8fddd98a667fc9aec584695cb5b04258a975766

View file

@ -43,9 +43,12 @@ in
AccountingStorageTRES=gres/gpu
JobAcctGatherType=jobacct_gather/linux
TaskProlog=${inputs.dotfiles + "/slurm/config/prolog.sh"}
TaskEpilog=${inputs.dotfiles + "/slurm/config/epilog.sh"}
'';
extraConfigPaths = [ (inputs.dotfiles + "/slurm") ];
extraConfigPaths = [ (inputs.dotfiles + "/slurm/config") ];
dbdserver = {
enable = (config.networking.hostName == primaryHost);