• Stefy Lanza (nextime / spora )'s avatar
    runpod: two pods for a warm floor of one (v0.2.95) · 5cec0702
    Stefy Lanza (nextime / spora ) authored
    Watched it happen on the production orchestrator: configuring qwen38-awq warm
    during office hours provisioned TWO A40s a second apart.
    
    A pod does not enter self.pods until it answers its health probe, which is
    minutes away. ensure_ready() never set the _provisioning flag, and the warm
    top-up in maintain() never read it — so the 15 s scaler saw "0 healthy, floor 1"
    while a pod was already booting and rented another. It stopped at two only
    because _provision_one blocks the scaler thread for the whole boot; a
    non-blocking provision would have added one every 15 seconds.
    
    The demand path (_should_grow) has always checked the flag. Now all three agree:
    one on the way is one pod, not none, including one a sibling engine sharing the
    pool is starting.
    
    Also: /v1/runpod/scale answered with the internal pool key ("pool:digesta-qwen38")
    rather than the model the client asked about. Several models share a pool, and
    that string is not something the caller sent or can look up — so the answer
    names the model and reports the pool beside it.
    Co-Authored-By: 's avatarClaude Opus 5 <noreply@anthropic.com>
    5cec0702
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...