{"id":21627,"library":"nvidia-nvvm","title":"NVIDIA NVVM Compiler","description":"NVIDIA NVVM compiler library for CUDA. Provides the libnvvm.so shared library for compiling CUDA device code to PTX. Version 13.2.78; follows CUDA release cadence.","status":"active","version":"13.2.78","language":"python","source_language":"en","source_url":"https://github.com/NVIDIA/nvidia-nvvm","tags":["nvidia","cuda","nvvm","compiler","gpgpu"],"install":[{"cmd":"pip install nvidia-nvvm","lang":"bash","label":"PyPI"}],"dependencies":[{"reason":"Required for CUDA runtime support","package":"nvidia-cuda-runtime","optional":false}],"imports":[{"note":"Case-sensitive: lower-case package name","wrong":"import NVVM","symbol":"nvvm","correct":"import nvvm"},{"note":"Library module within the package","wrong":"","symbol":"libnvvm","correct":"from nvidia.nvvm import libnvvm"}],"quickstart":{"code":"import nvvm\nprint(nvvm.__version__)","lang":"python","description":"Check installed NVVM version"},"warnings":[{"fix":"Use pip install nvidia-nvjitlink for newer CUDA toolkits","message":"nvidia-nvvm is deprecated in favor of nvidia-nvjitlink for CUDA 12.x+","severity":"deprecated","affected_versions":">=12.0"},{"fix":"Consult CUDA 12 release notes for updated API calls","message":"API breaking changes between CUDA 11.x (nvidia-nvvm) and 12.x (nvidia-nvjitlink): function names differ","severity":"breaking","affected_versions":">=12.0"},{"fix":"Use correct pip install nvidia-nvvm","message":"Package name is all lowercase: nvidia-nvvm, not nvidia-NVVM","severity":"gotcha","affected_versions":"all"},{"fix":"Install nvidia-cuda-nvcc for compiler tools","message":"Only provides shared library; does not include compiler tools (nvcc, nvprune) — those are in cuda-toolkit or cuda-nvcc","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"pip install nvidia-nvvm","cause":"Package not installed or incorrect import path","error":"ModuleNotFoundError: No module named 'nvvm'"},{"fix":"print(nvvm.getVersion())","cause":"Version attribute not exposed in all builds; use nvvm.getVersion() instead","error":"AttributeError: module 'nvvm' has no attribute '__version__'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}