From 33622a1e1bcdc5ec1971bbe65bfede3475372751 Mon Sep 17 00:00:00 2001 From: Xuan Gu <xuan.gu@liu.se> Date: Tue, 30 May 2023 13:49:37 +0000 Subject: [PATCH] Update 5 files - /scripts/run_benchmark_single_node_job.sh - /scripts/run_bencmark_multi_node_job.sh - /scripts/run_benchmark_single_node.sh - /scripts/run_bencmark_multi_node.sh - /scripts/run_benchmark.sh --- scripts/run_benchmark.sh | 12 ++++-------- ...ngle_node_job.sh => run_benchmark_single_node.sh} | 0 ..._multi_node_job.sh => run_bencmark_multi_node.sh} | 0 3 files changed, 4 insertions(+), 8 deletions(-) rename scripts/{run_benchmark_single_node_job.sh => run_benchmark_single_node.sh} (100%) rename scripts/{run_bencmark_multi_node_job.sh => run_bencmark_multi_node.sh} (100%) diff --git a/scripts/run_benchmark.sh b/scripts/run_benchmark.sh index bd012fa..4a55f1a 100644 --- a/scripts/run_benchmark.sh +++ b/scripts/run_benchmark.sh @@ -11,16 +11,14 @@ for nodes in {1..1}; do # For single node if [ $nodes -eq 1 ]; then - bash scripts/generate_single_node_job.sh ${dim} ${nodes} ${gpus} ${batch_size} ${iteration} - sbatch scripts/benchmark_single_node.sbatch ${dim} ${nodes} ${gpus} ${batch_size} ${iteration} + bash scripts/run_benchmark_single_node.sh ${dim} ${nodes} ${gpus} ${batch_size} ${iteration} sleep 1 # pause to be kind to the scheduler else # For multi node gpus=8 - bash scripts/generate_multi_node_job.sh ${dim} ${nodes} ${gpus} ${batch_size} ${iteration} - #sbatch scripts/benchmark_multi_nodebatc ${dim} ${nodes} ${gpus} ${batch_size} ${iteration} + bash scripts/run_benchmark_multi_node.sh ${dim} ${nodes} ${gpus} ${batch_size} ${iteration} sleep 1 # pause to be kind to the scheduler fi @@ -39,16 +37,14 @@ for nodes in {1..1}; do # For single node if [ $nodes -eq 1 ]; then - bash scripts/generate_single_node_job.sh ${dim} ${nodes} ${gpus} ${batch_size} ${iteration} - #sbatch scripts/benchmark_single_nodebatc ${dim} ${nodes} ${gpus} ${batch_size} ${iteration} + bash scripts/run_benchmark_single_node.sh ${dim} ${nodes} ${gpus} ${batch_size} ${iteration} sleep 1 # pause to be kind to the scheduler else # For multi node gpus=8 - bash scripts/generate_multi_node_job.sh ${dim} ${nodes} ${gpus} ${batch_size} ${iteration} - #sbatch scripts/benchmark_multi_nodebatc ${dim} ${nodes} ${gpus} ${batch_size} ${iteration} + bash scripts/run_benchmark_multi_node.sh ${dim} ${nodes} ${gpus} ${batch_size} ${iteration} sleep 1 # pause to be kind to the scheduler fi diff --git a/scripts/run_benchmark_single_node_job.sh b/scripts/run_benchmark_single_node.sh similarity index 100% rename from scripts/run_benchmark_single_node_job.sh rename to scripts/run_benchmark_single_node.sh diff --git a/scripts/run_bencmark_multi_node_job.sh b/scripts/run_bencmark_multi_node.sh similarity index 100% rename from scripts/run_bencmark_multi_node_job.sh rename to scripts/run_bencmark_multi_node.sh -- GitLab