Skip to content

Commit

Permalink
fix: GRAD_ACC_STEPS on 32 nodes of Aurora
Browse files Browse the repository at this point in the history
  • Loading branch information
saforem2 committed Nov 25, 2024
1 parent 8d0b43b commit b8007f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ALCF/helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -522,9 +522,9 @@ get_grad_acc_steps_on_aurora() {
gas=1
elif [[ 128 -le "${nhosts}" && "${nhosts}" -lt 256 ]]; then
gas=2
elif [[ 32 -le "${nhosts}" && "${nhosts}" -lt 128 ]]; then
elif [[ 32 -lt "${nhosts}" && "${nhosts}" -lt 129 ]]; then
gas=4
elif [[ 16 -le "${nhosts}" && "${nhosts}" -lt 32 ]]; then
elif [[ 16 -le "${nhosts}" && "${nhosts}" -le 32 ]]; then
gas=8
else
gas=16
Expand Down

0 comments on commit b8007f4

Please sign in to comment.