fix: parse simulator group arguments

This commit is contained in:
2026-07-20 18:01:38 +08:00
parent 3453fbe522
commit f38e260639
2 changed files with 34 additions and 2 deletions

View File

@@ -31,3 +31,35 @@ gpu_model = "H20"
hosts = ["dash4"] hosts = ["dash4"]
command = "bash runs/frontier-workload-regime-taxonomy-v0/run_simulator_group.sh 4 true" command = "bash runs/frontier-workload-regime-taxonomy-v0/run_simulator_group.sh 4 true"
artifacts = [] artifacts = []
[[jobs]]
name = "workload-regime-sim-tp1-v2-20260720"
gpus = 1
gpu_model = "H20"
hosts = ["dash1"]
command = "bash runs/frontier-workload-regime-taxonomy-v0/run_simulator_group.sh 1 both"
artifacts = []
[[jobs]]
name = "workload-regime-sim-tp2-v2-20260720"
gpus = 1
gpu_model = "H20"
hosts = ["dash2"]
command = "bash runs/frontier-workload-regime-taxonomy-v0/run_simulator_group.sh 2 both"
artifacts = []
[[jobs]]
name = "workload-regime-sim-tp4-noprefix-v2-20260720"
gpus = 1
gpu_model = "H20"
hosts = ["dash3"]
command = "bash runs/frontier-workload-regime-taxonomy-v0/run_simulator_group.sh 4 false"
artifacts = []
[[jobs]]
name = "workload-regime-sim-tp4-prefix-v2-20260720"
gpus = 1
gpu_model = "H20"
hosts = ["dash4"]
command = "bash runs/frontier-workload-regime-taxonomy-v0/run_simulator_group.sh 4 true"
artifacts = []

View File

@@ -2,8 +2,8 @@
set -euo pipefail set -euo pipefail
TP="${1:?usage: run_simulator_group.sh TP {false|true|both}}" TP="${1:?usage: run_simulator_group.sh TP MODE}"
MODE="${2:?usage: run_simulator_group.sh TP {false|true|both}}" MODE="${2:?usage: run_simulator_group.sh TP MODE}"
case "${TP}" in case "${TP}" in
1|2|4) ;; 1|2|4) ;;