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

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
parent b830f0eb
No related branches found
No related tags found
No related merge requests found
...@@ -11,16 +11,14 @@ for nodes in {1..1}; do ...@@ -11,16 +11,14 @@ for nodes in {1..1}; do
# For single node # For single node
if [ $nodes -eq 1 ]; then if [ $nodes -eq 1 ]; then
bash scripts/generate_single_node_job.sh ${dim} ${nodes} ${gpus} ${batch_size} ${iteration} bash scripts/run_benchmark_single_node.sh ${dim} ${nodes} ${gpus} ${batch_size} ${iteration}
sbatch scripts/benchmark_single_node.sbatch ${dim} ${nodes} ${gpus} ${batch_size} ${iteration}
sleep 1 # pause to be kind to the scheduler sleep 1 # pause to be kind to the scheduler
else else
# For multi node # For multi node
gpus=8 gpus=8
bash scripts/generate_multi_node_job.sh ${dim} ${nodes} ${gpus} ${batch_size} ${iteration} bash scripts/run_benchmark_multi_node.sh ${dim} ${nodes} ${gpus} ${batch_size} ${iteration}
#sbatch scripts/benchmark_multi_nodebatc ${dim} ${nodes} ${gpus} ${batch_size} ${iteration}
sleep 1 # pause to be kind to the scheduler sleep 1 # pause to be kind to the scheduler
fi fi
...@@ -39,16 +37,14 @@ for nodes in {1..1}; do ...@@ -39,16 +37,14 @@ for nodes in {1..1}; do
# For single node # For single node
if [ $nodes -eq 1 ]; then if [ $nodes -eq 1 ]; then
bash scripts/generate_single_node_job.sh ${dim} ${nodes} ${gpus} ${batch_size} ${iteration} bash scripts/run_benchmark_single_node.sh ${dim} ${nodes} ${gpus} ${batch_size} ${iteration}
#sbatch scripts/benchmark_single_nodebatc ${dim} ${nodes} ${gpus} ${batch_size} ${iteration}
sleep 1 # pause to be kind to the scheduler sleep 1 # pause to be kind to the scheduler
else else
# For multi node # For multi node
gpus=8 gpus=8
bash scripts/generate_multi_node_job.sh ${dim} ${nodes} ${gpus} ${batch_size} ${iteration} bash scripts/run_benchmark_multi_node.sh ${dim} ${nodes} ${gpus} ${batch_size} ${iteration}
#sbatch scripts/benchmark_multi_nodebatc ${dim} ${nodes} ${gpus} ${batch_size} ${iteration}
sleep 1 # pause to be kind to the scheduler sleep 1 # pause to be kind to the scheduler
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment