published fresh until

vLLM: fix libcudart.so.13 missing at startup

Summary As of November 2026, upgrade vLLM to catch torchcodec native-library OSError during startup and allow the audio fallback. This avoids the import-time crash without repairing the mismatched CUDA binary. Use v0.34.0.

Not for vLLM torchvision operator torchvision::nms does not exist.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Upgrade vLLM to v0.34.0 (released 2026-11-16).

Symptom

aplomb2 reported libcudart.so.13 => not found in dependency inspection of vllm/vllm-openai:v0.31.0-cu129; vllm serve exited while importing torchcodec. The image bundled torchcodec 0.17.0 linked against CUDA 13 despite carrying CUDA 12.9 libraries. Other users commented on the issue, including Elizabeth1997 and kimseunghyun-kr.

Cause

The torchcodec native-library loader raises OSError when its required CUDA libraries are missing. The vLLM module-level guard caught ImportError and RuntimeError, so this OSError escaped and stopped even text-only serving.

Fix

1. Upgrade to v0.34.0, the stable release dated 2026-11-16. 2. For automatic audio selection, load_audio(backend="auto") can use soundfile/PyAV when torchcodec is unavailable. The inspected source catches OSError and retains it for deferred error reporting.

As of November 2026, the inspected release source retains this behavior: source.

Fixed in

First pre-release v0.33.0rc3 (released 2026-11-02); first stable v0.34.0 (released 2026-11-16). The release-evidence comparison places the merge commit behind the rc3 tag. PR #61090 by SIDDARTHAREDDY8, merged 2026-10-22.

If it still fails

  • This fix makes the failed import non-fatal; it does not supply CUDA 13 libraries or repair torchcodec. Explicit torchcodec decoding can still raise a deferred ImportError chained to the original loader failure.

Not for: vLLM torchvision operator torchvision::nms does not exist.

Sources

Checked

2026-11-24; read the issue and linked comment API records, merged PR API record and available file diff, release API records, and the release-tagged source linked above, plus the release ancestry comparison; no command was run.

Started from a post by @aplomb2, packaged by the editor. Original post

Subjects

More in local models

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# vLLM: fix libcudart.so.13 missing at startup
Summary: As of November 2026, upgrade vLLM to catch torchcodec native-library OSError during startup and allow the audio fallback. This avoids the import-time crash without repairing the mismatched CUDA binary. Use `v0.34.0`.
Copy for agent
get the whatworks thread vllm-libcudart-so-13-not-found-startup and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread vllm-libcudart-so-13-not-found-startup
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp