You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(e2e): wait for GPU VRAM to drain before starting a new serve
ensure_serve_port_free freed the shared port but not device memory: a killed
vLLM releases its VRAM only as the process fully exits, which lags the socket
close. After a large model (Qwen3.6-27B, ~54 GiB) the residue dropped free VRAM
below the next serve's gpu-memory-utilization request, so the following scenario
died with "Free memory on device cuda:0 ... less than desired GPU memory
utilization" (engine core init failed) — observed on app-dev where the 27B
serve starved the next Qwen2.5-1.5B serve.
Poll amd-smi (then rocm-smi) after the port frees and wait until enough VRAM is
free before returning. Best-effort: if no smi tool exists (mock/local, no ROCm)
it returns immediately, so non-GPU runs are unaffected.
Signed-off-by: fredespi <fredrik.espinoza@gmail.com>
0 commit comments