From 1b6e0a2b9c096222ea76ed4e47066386c1a9acc2 Mon Sep 17 00:00:00 2001 From: CSY-ModelCloud Date: Fri, 13 Mar 2026 21:36:48 +0800 Subject: [PATCH] [CI] fix multi-gpu --- .github/workflows/unit_tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 463f678e3..843c97845 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -597,7 +597,7 @@ jobs: resp="${resp//$'\n'/}" # If response is empty or not an integer, treat as temporary error - if [[ -z "$resp" || ! "$resp" =~ ^-?[0-9]+$ ]]; then + if [[ -z "$resp" || ! "$resp" =~ ^-?[0-9]+(,-?[0-9]+)*$ ]]; then echo "Allocator returned invalid response: '$resp' (temporary error)" curl -fsSL "$BASE_URL/gpu/status" || true sleep "$SLEEP_SEC"