From ad4fd2b87895f7abf6d0900b566410fac140621c Mon Sep 17 00:00:00 2001 From: shishi Date: Thu, 30 Jul 2026 10:05:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20INVALID=5FWORKLOAD=20=E5=8F=AA=E8=B7=B3?= =?UTF-8?q?=E8=BF=87=E5=BD=93=E5=89=8Dshape=E8=80=8C=E4=B8=8D=E4=B8=AD?= =?UTF-8?q?=E6=AD=A2=E6=89=80=E6=9C=89=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 原来 ADAPTIVE_FATAL_WORKLOAD=1 会设 abort_all=1,导致所有剩余TP/DP配置 全部被跳过。改为 continue 只跳过当前 shape,让后续 shape 和配置正常 继续执行。 这修复了 TP=8/DP=2 在 isl=4096 osl=128 因 KV cache 不足导致 workload 验证失败后,TP=16/DP=1 被跳过的 bug。 --- scripts/common/adaptive_bench_lib.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/common/adaptive_bench_lib.sh b/scripts/common/adaptive_bench_lib.sh index a9b7151..10c4e84 100755 --- a/scripts/common/adaptive_bench_lib.sh +++ b/scripts/common/adaptive_bench_lib.sh @@ -945,9 +945,9 @@ PY adaptive_run_shape "$tp" "$dp" "$mark" "$isl" "$osl" "$config_root" if (( ADAPTIVE_FATAL_WORKLOAD == 1 )); then - log "ERROR: invalid synthetic workload; aborting remaining searches" - abort_all=1 - break + log "WARNING: invalid workload for tp=${tp} dp=${dp} isl=${isl} osl=${osl}; skipping shape, continuing next" + ADAPTIVE_FATAL_WORKLOAD=0 + continue fi if (( ADAPTIVE_SKIP_CONFIG == 1 )); then log "config skip requested; reason=${ADAPTIVE_SKIP_CONFIG_REASON:-unknown}; skipping remaining shapes for tp=${tp} dp=${dp}"