NVPL Python Usage#
NVPL does not provide any Python modules or extensions. However, other python libraries or application may wish to use NVPL libraries via runtime dynamic loading. Headers may be necessary for libraries using JIT compilation techniques. For these use cases NVPL provides binary redistributions of each of the component libraries designed to be installable with standard python package management tools.
Python Wheels#
NVPL Python wheels are hosted on PyPi.org.
Wheels are available for individual libraries or via the nvpl meta-package which will install all component libraries.
Installed locations:
Headers:
<site-packages>/nvpl/includeShared libraries:
<site-packages>/nvpl/lib
Conda Packages#
NVPL is available as a BLAS/LAPACK backend in the conda-forge ecosystem, allowing users to easily install NumPy, SciPy, and other scientific computing packages that use NVPL for optimized linear algebra operations.
NVPL conda packages are also available on the Conda Forge channel as standalone libraries for development use. Package names follow the pattern:
libnvpl-<lib>0– Runtime librarieslibnvpl-<lib>-dev– Development packages with headers and CMake fileslibnvpl-dev– Meta-package with all NVPL development packages
For detailed information on using conda with NVPL, including environment setup and BLAS backend configuration, see Using NVPL with Conda.
Building NumPy and SciPy with NVPL#
For users who want to build custom NumPy and SciPy wheels with NVPL from source, see Building NumPy and SciPy with NVPL for step-by-step instructions using pkg-config.
Python Documentation