From 7ab86234c3bb89b8e0daa48f8ef7fac3dff9b3cf Mon Sep 17 00:00:00 2001 From: Xuan Gu <xuan.gu@liu.se> Date: Thu, 28 Sep 2023 12:39:41 +0000 Subject: [PATCH] Update 2 files - /PyTorch/Segmentation/nnUNet/benchmark.txt - /PyTorch/Segmentation/nnUNet/run_benchmark_single_node.sh --- PyTorch/Segmentation/nnUNet/benchmark.txt | 2 ++ PyTorch/Segmentation/nnUNet/run_benchmark_single_node.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/PyTorch/Segmentation/nnUNet/benchmark.txt b/PyTorch/Segmentation/nnUNet/benchmark.txt index 6cf9593..54fdf49 100644 --- a/PyTorch/Segmentation/nnUNet/benchmark.txt +++ b/PyTorch/Segmentation/nnUNet/benchmark.txt @@ -32,4 +32,6 @@ AttributeError: can't set attribute Solution: pip install torchmetrics==0.6.0, works. +# Muiti-node is not supported in 21.11.0 yet but only in the most recent code on GitHub. + # 2023-09-28: Not working on the devel reservation \ No newline at end of file diff --git a/PyTorch/Segmentation/nnUNet/run_benchmark_single_node.sh b/PyTorch/Segmentation/nnUNet/run_benchmark_single_node.sh index 0c442f8..2a17927 100644 --- a/PyTorch/Segmentation/nnUNet/run_benchmark_single_node.sh +++ b/PyTorch/Segmentation/nnUNet/run_benchmark_single_node.sh @@ -25,7 +25,7 @@ WORK_DIR=/proj/nsc_testing/xuan/berzelius-benchmarks/PyTorch/Segmentation/nnUNet CONTAINER_DIR=/proj/nsc_testing/xuan/containers/${MODULE_NAME}_${MODULE_VERSION}.sif rm -f $WORK_DIR/results/$LOG_DIR -apptainer exec --nv -B ${WORK_DIR}/data:/data -B ${WORK_DIR}/results:/results --pwd /workspace/nnunet_pyt $CONTAINER_DIR python scripts/benchmark.py --mode train --gpus ${3} --dim ${1} --batch_size ${4} --nodes ${2} --amp --logname='$LOG_DIR' +apptainer exec --nv -B ${WORK_DIR}/data:/data -B ${WORK_DIR}/results:/results --pwd /workspace/nnunet_pyt $CONTAINER_DIR python scripts/benchmark.py --mode train --gpus ${3} --dim ${1} --batch_size ${4} --amp --logname='$LOG_DIR' EOT -- GitLab