Skip to content
Snippets Groups Projects
Commit 8dcc0685 authored by Xuan Gu's avatar Xuan Gu
Browse files

Update file run_benchmark_single_node.sh

parent c4b3d8de
No related branches found
No related tags found
No related merge requests found
...@@ -23,11 +23,8 @@ MODULE_VERSION=21.11.0 ...@@ -23,11 +23,8 @@ MODULE_VERSION=21.11.0
WORK_DIR=/proj/nsc_testing/xuan/berzelius-benchmarks/PyTorch/Segmentation/nnUNet WORK_DIR=/proj/nsc_testing/xuan/berzelius-benchmarks/PyTorch/Segmentation/nnUNet
CONTAINER_DIR=/proj/nsc_testing/xuan/containers/${MODULE_NAME}_${MODULE_VERSION}.sif CONTAINER_DIR=/proj/nsc_testing/xuan/containers/${MODULE_NAME}_${MODULE_VERSION}.sif
cd $WORK_DIR rm -f $WORK_DIR/results/$LOG_DIR
srun apptainer exec --nv --pwd /workspace/nnunet_pyt -B ${WORK_DIR}/data:/data -B ${WORK_DIR}/results:/results $CONTAINER_DIR python scripts/benchmark.py --mode train --gpus ${3} --dim ${1} --batch_size ${4} --nodes ${2} --amp --logname='$LOG_DIR'
rm -f results/$LOG_DIR
srun apptainer exec --nv -B ${PWD}/data:/data -B ${PWD}/results:/results $CONTAINER_DIR bash -c "cd /workspace/nnunet_pyt && python scripts/benchmark.py --mode train --gpus ${3} --dim ${1} --batch_size ${4} --nodes ${2} --amp --logname='$LOG_DIR'"
EOT EOT
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment