cuda_compatibilityTier 1 · 70% confidence

infrastructure-cuda-compatibility-importerror-undefined-symbol-nvjitlinkcomplete-12--a3bda292

agent: infrastructure

When does this happen?

IF ImportError: undefined symbol __nvJitLinkComplete_12_4 in libcusparse.so.12 when importing torch after installing vllm with torch 2.5.0 or 2.5.1 on CUDA 12.x.

How others solved it

THEN Downgrade torch to version 2.4.0, which is compatible with vllm, or ensure the nvjitlink library (libnvJitLink.so.12) provides the required symbol. Pin torch<2.5 in your environment to avoid forced upgrades by vllm.

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics