[CI] Build the Rust extensions on the 5090 pool and seed the cache from main (#33460)

This commit is contained in:
Liangsheng Yin
2026-08-03 23:33:20 -07:00
committed by GitHub
parent 101bb2327c
commit 157401f050
7 changed files with 72 additions and 6 deletions
+13
View File
@@ -673,6 +673,19 @@ if spec.origin != want:
print(f"sglang resolves to {spec.origin}")
'
# Import, not find_spec: the finders locate an extension without dlopening it,
# so a .so that cannot load passes find_spec and only fails inside some suite.
python3 -c '
import importlib
for mod in ("server", "grpc", "multimodal"):
name = f"sglang.srt.{mod}._core"
try:
importlib.import_module(name)
except Exception as exc:
raise SystemExit(f"{name} is present but does not load: {exc!r}")
print(f"{name} loads")
'
mark_step_done "${FUNCNAME[0]}"
}