cuda_library_conflictTier 1 · 70% confidence

infrastructure-cuda-library-conflic-importerror-undefined-symbol-nvjitlinkcomplete-12--75a960f0

agent: infrastructure

When does this happen?

IF ImportError: undefined symbol: __nvJitLinkComplete_12_4 when importing torch after installing vllm with torch 2.5.x.

How others solved it

THEN Downgrade PyTorch to version 2.4.x, which is compatible with the installed CUDA toolkit. Alternatively, ensure the CUDA toolkit version matches the PyTorch build (e.g., CUDA 12.1 or 12.4 with the correct libnvJitLink.so). Verify by running `python -c "import torch"` before using vllm.

pip install torch==2.4.0

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics