[MUSA][23/N] CI: Fix torchada preflight lock cleanup and add LLM server smoke test (#27242)

Co-authored-by: xinyue.fan <xinyue.fan@mthreads.com>
This commit is contained in:
Stella-17
2026-06-08 08:45:16 -07:00
committed by GitHub
co-authored by xinyue.fan
parent eb646c7b78
commit 12de907bc2
7 changed files with 225 additions and 9 deletions
+12
View File
@@ -437,6 +437,18 @@ jobs:
with:
submodules: "recursive"
- name: Clean stale torchada extension locks
run: |
if ps -eo comm=,args= | grep -E '(^|[[:space:]])(mcc|ninja)([[:space:]]|$)|torchada_cpp_ops' | grep -v grep; then
echo "::error::Active torchada extension build detected; refusing to remove lock files"
exit 1
fi
find "${HOME}/.cache/torch_extensions" \
-path '*/torchada_cpp_ops/lock' \
-type f \
-print \
-delete 2>/dev/null || true
- name: Build wheels
run: |
cd sgl-kernel