• Stefy Lanza (nextime / spora )'s avatar
    runpod: vLLM pods need ninja too, the dep after g++ · 4025664d
    Stefy Lanza (nextime / spora ) authored
    Triton and torch.inductor JIT-compile vLLM's kernels at run time and need a full
    build toolchain for the stubs they emit. Each piece was found on a live olmOCR
    pod, one layer at a time, because from outside the failure is identical every
    time: vLLM dies before registering and the pod answers 502.
    
        gcc          the C compiler
        g++          the launcher Triton builds is C++, so gcc alone is not enough
        ninja-build  inductor shells out to ninja for its extensions
    
    Only olmOCR hits this, and the reason is worth recording: it is FP8, so vLLM's
    quantisation kernels go down the Triton path. surya-2 is dense bf16 and served
    fine on images that had none of these, which is why "the image lacks a compiler"
    looked for a while like it could not be the problem.
    
    Applied to vllm.apt AND vllm-ocr.apt, which is copied from it.
    Co-Authored-By: 's avatarClaude Opus 5 <noreply@anthropic.com>
    Claude-Session: https://claude.ai/code/session_01PxYHWbCAjjjD7A1rhFKtaW
    4025664d
Name
Last commit
Last update
..
common Loading commit data...
dinov2cpp Loading commit data...
linux Loading commit data...
runpod Loading commit data...
windows Loading commit data...
build-rpc-server.sh Loading commit data...
cosign.pub Loading commit data...
patch-colibri.py Loading commit data...
patch-k3.py Loading commit data...
setup-salad-venv.sh Loading commit data...
sign-images.sh Loading commit data...
versions.env Loading commit data...