Skip to content

Commit

Permalink
fix: GRAD_ACC_STEPS when NHOSTS == 256
Browse files Browse the repository at this point in the history
  • Loading branch information
saforem2 committed Oct 31, 2024
1 parent 5d10179 commit 160d6a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ALCF/helpers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ get_grad_acc_steps_on_aurora() {
exit 1
fi
nhosts=$(wc -l <"${hf}")
if [[ "${nhosts}" -ge 256 ]]; then
if [[ "${nhosts}" -gt 256 ]]; then
gas=1
elif [[ 128 -le "${nhosts}" && "${nhosts}" -lt 256 ]]; then
gas=2
Expand Down

0 comments on commit 160d6a6

Please sign in to comment.