Skip to content

Commit 6cba935

Browse files
sbryngelsonclaude
andcommitted
ci: fix duplicate --gpu flag on Frontier GPU test commands
For non-Phoenix GPU jobs, both device_opts and build_opts resolved to the same --gpu flag. Let build_opts carry it; device_opts is only for cluster-specific runtime flags like -g (Phoenix GPU IDs). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 1d4d79f commit 6cba935

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/common/test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ if [ "$job_device" = "gpu" ]; then
4949
n_test_threads=$((ngpus * 2))
5050
;;
5151
*)
52-
device_opts="$gpu_opts"
52+
# Frontier: --gpu flag is already in $build_opts; no extra device opts needed
53+
device_opts=""
5354
n_test_threads=$ngpus
5455
;;
5556
esac

0 commit comments

Comments
 (0)