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

Update 2 files

- /scripts/benchmark_sbatch_submit.sh
- /README.md
parent 13aabe3e
No related branches found
No related tags found
No related merge requests found
......@@ -88,9 +88,9 @@ The input arguments are:
2. Number of gpus per node,
3. Number of iterations for each parameter setting.
We will average the benchmark performance over the iterations. We use a batch size of 128 which is the maximum usable batch size without a OOM error.
We will average the benchmark performance over the iterations. The maximum usable (without a OOM error) batch size is 256 and 128 for single and multi-node, respectively.
```
bash scripts/benchmark_sbatch_submit.sh 1 8 100
bash scripts/benchmark_sbatch_submit.sh 1 8 100 128
```
### Results
......
......@@ -6,10 +6,11 @@ dim=2
NUM_NODES=$1
NUM_GPUS=$2
NUM_ITERATIONS=$3
BATCH_SIZE=$4
if [ $NUM_NODES -eq 1 ]; then
for nodes in {1..1}; do
for gpus in {1..$NUM_GPUS}; do
for batch_size in 128; do
for batch_size in $BATCH_SIZE; do
for iteration in {1..$NUM_ITERATIONS}; do
echo dim ${dim}, nodes ${nodes}, gpus ${gpus}, batch_size ${batch_size}, iteration ${iteration}
......@@ -25,7 +26,7 @@ if [ $NUM_NODES -eq 1 ]; then
else
for nodes in {2..$NUM_NODES}; do
for gpus in {$NUM_GPUS}; do
for batch_size in 128; do
for batch_size in $BATCH_SIZE; do
for iteration in {1..$NUM_ITERATIONS}; do
# For multi node
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment