• Stefy Lanza (nextime / spora )'s avatar
    runpod: shared capability pools + trimmed per-capability images · ec368491
    Stefy Lanza (nextime / spora ) authored
    Two things that both come down to not renting more GPU than the work
    needs.
    
    Shared pools: a pod is a whole GPU, and one coderai can serve images,
    video and TTS from it. Capabilities naming the same `pool` now share one
    set of pods and one budget; without it, three capabilities rented three
    cards to do what one can. The pool is configured once on whichever
    capability carries the settings — a bare `{"pool": "media"}` reference
    will not reset it to defaults.
    
    Trimmed images: packaging/runpod/ builds a coderai carrying ONE
    capability's dependencies, since the flattened base is ~26.6 GB and every
    cold pod pays that pull. Profiles under packaging/runpod/profiles/ —
    core plus images/video/tts/stt/voice/audio/embeddings/ocr/faceswap — work
    because the routers import lazily, so a pod only needs what its own
    endpoints touch.
    
    The Dockerfile fails the BUILD if a profile is missing something the app
    imports, and build_capability_image.sh then boots the container and waits
    for /healthz. Both checks exist because the alternative is finding out as
    a boot timeout on a rented GPU, with nothing in the logs saying why.
    Co-Authored-By: 's avatarClaude Opus 5 (1M context) <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_0182DhR1eFNPQyGmDrpHbedY
    ec368491
Name
Last commit
Last update
..
test_admin_auth.py Loading commit data...
test_audio_ml_backends.py Loading commit data...
test_audio_ml_endpoints.py Loading commit data...
test_broker_config.py Loading commit data...
test_broker_dispatch.py Loading commit data...
test_broker_protocol.py Loading commit data...
test_broker_streaming.py Loading commit data...
test_manual_multimodal_test_client.py Loading commit data...
test_remote_execution.py Loading commit data...
test_studio_composed_surfaces.py Loading commit data...
test_whisper_server_local_models.py Loading commit data...