• Stefy Lanza (nextime / spora )'s avatar
    one vLLM per card: wait for a starting engine, keep a busy one (v0.4.54) · ed4e2c2a
    Stefy Lanza (nextime / spora ) authored
    Measured on a rented A40 under 128 pages in flight. The engine stopped
    answering. _ensure_service_once treated any service that failed a 3 s health
    probe as gone: it dropped it from the table, without stopping the process,
    and launched another. A second caller during a start did the same, so two
    EngineCores came up one second apart. For twenty minutes vLLM was relaunched
    every few seconds and killed with -9 mid-start. This is also the earlier
    "10.22 of 47 GiB free" crash.
    
    - A service records "starting" until it is ready. Another caller waits for
      it (_StillStarting -> _wait_for_start) instead of launching a duplicate.
    - A live process that misses the probe gets a second 15 s probe. If that
      fails too it is BUSY and is handed out, not replaced.
    - A dead one is stopped properly before it is replaced.
    - The OCR gateway's /health no longer runs placement.any_candidate (which can
      start vLLM) on the event loop. Every surya engine probes it, and it froze a
      pod for up to 408 s. The no-blocking-calls guard now covers
      placement.any_candidate and placement.candidates, and fails on the old code.
    - RunPod 429s are honoured: retryAfter is in seconds (observed 11,871, about
      3.3 h), and no GraphQL call is made until it passes (capped at 6 h).
    Co-Authored-By: 's avatarClaude Opus 5.5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01KnfkxBpcZ1v6ypRFFyhrVM
    ed4e2c2a
Name
Last commit
Last update
codai Loading commit data...
docs Loading commit data...
packaging Loading commit data...
samples Loading commit data...
tests Loading commit data...
third_party Loading commit data...
tools Loading commit data...
.dockerignore Loading commit data...
.gitignore Loading commit data...
AI.PROMPT Loading commit data...
CODERAI_API_DOCUMENTATION.md Loading commit data...
CoderAI.gif Loading commit data...
DISTRIBUTION.md Loading commit data...
LICENSE.md Loading commit data...
MULTIMODAL_CAPABILITIES.md Loading commit data...
MULTIMODAL_UI_EXAMPLES.md Loading commit data...
README.md Loading commit data...
REQUEST-geoclip-embeddings.md Loading commit data...
REQUEST-vpr-embeddings.md Loading commit data...
amdgpu-coredump-05000.bin Loading commit data...
build-oci.sh Loading commit data...
build.ps1 Loading commit data...
build.sh Loading commit data...
coderai Loading commit data...
coderai-broker-implementation-reference.md Loading commit data...
coderai-integration.md Loading commit data...
commands Loading commit data...
osxbuild.sh Loading commit data...
package-oci.sh Loading commit data...
package-tarball.sh Loading commit data...
requirements-crisperwhisper.txt Loading commit data...
requirements-h3.txt Loading commit data...
requirements-longcat-train.txt Loading commit data...
requirements-longcat.txt Loading commit data...
requirements-melotts.txt Loading commit data...
requirements-nemo.txt Loading commit data...
requirements-nvidia.txt Loading commit data...
requirements-ocr-paddle.txt Loading commit data...
requirements-ocr.txt Loading commit data...
requirements-pyannote.txt Loading commit data...
requirements-surya.txt Loading commit data...
requirements-vllm.txt Loading commit data...
requirements-vulkan.txt Loading commit data...
requirements.txt Loading commit data...
run-oci.sh Loading commit data...
smoke-test-oci.sh Loading commit data...
todo.md Loading commit data...