• Stefy Lanza (nextime / spora )'s avatar
    runpod: optionally give the dearest pod back first (v0.3.12) · d321ad48
    Stefy Lanza (nextime / spora ) authored
    A pool rents at whatever the market offered when each pod was started, so one
    fleet can hold a $0.35 card and a $0.79 card doing identical work. Shedding the
    cheap one saves less than half as much, and which to prefer is the operator's
    call, not ours — hence a checkbox rather than a new default.
    
    With scale_down_costliest_first the dearest surplus pod goes first, tie-broken
    by the idlest and then the coldest cache. Cost decides WHICH pod goes, never
    whether one goes, and a dear pod with requests on it is drained rather than
    dropped — so choosing it costs time, not work. Worth weighing before switching
    on: an on-demand pod costs more than a spot pod, so "dearest first" prefers to
    keep the interruptible ones.
    
    Also fixes the default tie-break, which was inverted when scale-down was
    written: `-last_used` picked the pod used MOST recently, discarding the warmest
    prefix cache of the set. It now retires the coldest.
    Co-Authored-By: 's avatarClaude Opus 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01PxYHWbCAjjjD7A1rhFKtaW
    d321ad48
Name
Last commit
Last update
..
superpowers Loading commit data...
README.md Loading commit data...
admin-forward-auth.md Loading commit data...
cluster.md Loading commit data...
deepseek-ds4.md Loading commit data...
dtype-auto-selection.md Loading commit data...
expressive-tts.md Loading commit data...
frontend-engine-split.md Loading commit data...
gguf-process-isolation.md Loading commit data...
glm-colibri.md Loading commit data...
install-from-packages.md Loading commit data...
kimi-k3.md Loading commit data...
ktransformers.md Loading commit data...
longcat-video.md Loading commit data...
minimax-h3.md Loading commit data...
modelli-digesta-e-container.md Loading commit data...
ocr.md Loading commit data...
orchestrator-runpod-guide.md Loading commit data...
piano-inferenza-su-coderai-prod.md Loading commit data...
process-isolation-plans.md Loading commit data...
reference-projects.md Loading commit data...
remote-execution.md Loading commit data...
reverse-proxy-nginx.md Loading commit data...
runpod.md Loading commit data...
tools-as-services.md Loading commit data...
video-compose.md Loading commit data...
vllm.md Loading commit data...
zimage-lora-training.md Loading commit data...