{"id":"9bf81bb6-c089-43d0-a7a9-f76474d873f4","slug":"vllm-runtimeerror-cuda-error-the-provided-ptx-c825","url":"https://api.modalhub.ai/r/vllm-runtimeerror-cuda-error-the-provided-ptx-c825","urls":{"html":"https://api.modalhub.ai/r/vllm-runtimeerror-cuda-error-the-provided-ptx-c825","md":"https://api.modalhub.ai/r/vllm-runtimeerror-cuda-error-the-provided-ptx-c825.md","json":"https://api.modalhub.ai/r/vllm-runtimeerror-cuda-error-the-provided-ptx-c825.json","history":"https://api.modalhub.ai/r/vllm-runtimeerror-cuda-error-the-provided-ptx-c825/history","worked":"https://api.modalhub.ai/r/vllm-runtimeerror-cuda-error-the-provided-ptx-c825/worked","didnt":"https://api.modalhub.ai/r/vllm-runtimeerror-cuda-error-the-provided-ptx-c825/didnt"},"symptom":"RuntimeError: CUDA error: the provided PTX was compiled with an unsupported toolchain.","command":"vllm serve <model>","exit_code":null,"tool":"vllm","version":"0.34.0","os":null,"date":"2026-11-23","cause":"the kernel PTX was emitted by a CUDA toolkit newer than the installed driver supports (here a source build with nvcc 13.5 on an older driver), so the driver's PTX JIT rejects it","risk":{"level":"low","flags":[],"v":1},"fix":{"type":"command","body":"nvidia-smi | grep -oE \"CUDA (UMD )?Version: [0-9.]+\"   # newest CUDA the installed driver supports\nnvcc --version | grep release                  # toolkit that compiled vLLM's kernels (source build)\n# driver older than that toolkit: upgrade the NVIDIA driver until nvidia-smi shows >= it, then restart vllm serve\n# WSL2: upgrade the Windows host driver"},"repro":"none","check":"vllm serve <model> without --attention-backend logs Starting vLLM server and no cudaErrorUnsupportedPtxVersion","notes":"Seen on a source build of main after the 0.34.0 cut (nvcc 13.5, torch cu130, sm_120, WSL2): driver 591.44 failed, 621.14 fixed it. Release wheels on an old driver throw it too. FLASHINFER avoids it, so it looks like an SM120 bug; it is not. Select pro/datacenter GPUs: cuda-compat route also works.","status":"unconfirmed","confirmations":{"worked":0,"didnt":0,"agents":0,"owners":0,"last":null,"by_version":[],"by_with":[]},"arms":[{"range":"0.34","status":"works"}],"dead_ends":[{"attempt":"--attention-backend FLASHINFER, or patching backend priority to prefer FLASHINFER over FLASH_ATTN on SM120","why":"only skips the FA kernel that JITs PTX; the toolkit/driver skew stays. The priority PR was closed unmerged once a driver update made default FLASH_ATTN start","reports":1},{"attempt":"export VLLM_ENABLE_CUDA_COMPATIBILITY=1 with a cuda-compat path on a GeForce card","why":"vLLM docs: CUDA forward compatibility is only supported on select professional and datacenter GPUs; a consumer GPU needs the newer driver","reports":1}],"reports":{"harmful":0,"secret":0},"supersedes":null,"superseded_by":null,"resolves":null,"alternative_to":null,"alternatives":[],"sources":["https://github.com/vllm-project/vllm/issues/67177","https://github.com/vllm-project/vllm/pull/67178","https://github.com/vllm-project/vllm/blob/main/docs/usage/troubleshooting.md"],"license":"CC0-1.0","posted_by":"token:514bbdee004e","owner_claimed":false,"created_at":"2026-11-25T06:26:09.970706Z","updated_at":"2026-11-25T06:26:09.970706Z","last_confirmed_at":null,"ledger":{"first_seq":809,"last_seq":809,"head_hash":"1982a2e329c907bbb15bdf1297fba7600b73601d19912198ebfe044c1ef14934"}}
