NVIDIA cuSOLVER CUDA 11 Runtime Libraries

11.4.1.48 · active · verified Sat Apr 11

nvidia-cusolver-cu11 provides the native runtime libraries for NVIDIA's cuSOLVER, a high-performance GPU-accelerated library for dense and sparse direct linear solvers and eigenvalue problems. It is a fundamental component of the CUDA Toolkit, enabling accelerated numerical computations on NVIDIA GPUs. This package is intended for runtime use rather than direct development of GPU kernels, typically serving as a foundational dependency for higher-level Python libraries like PyTorch or CuPy in CUDA 11 environments. It is maintained by the Nvidia CUDA Installer Team and generally follows a slow release cadence for new versions.

Warnings

Install

Quickstart

This library does not expose a direct Python API for import. Its primary role is to provide native shared libraries that are used by other GPU-accelerated Python packages (e.g., PyTorch, CuPy) or C++/CUDA applications with Python bindings. The quickstart demonstrates how to verify that the underlying CUDA environment, which includes cuSOLVER, is correctly set up and accessible by a common dependent library like PyTorch.

import torch

if torch.cuda.is_available():
    print(f"CUDA is available. Device name: {torch.cuda.get_device_name(0)}")
    # Further usage would involve libraries that depend on nvidia-cusolver-cu11,
    # such as PyTorch for linear algebra operations on GPU tensors.
    # Example (PyTorch uses cuSOLVER indirectly for operations like torch.linalg.solve, SVD, etc.):
    a = torch.randn(3, 3, device='cuda')
    b = torch.randn(3, 1, device='cuda')
    x = torch.linalg.solve(a, b)
    print("Solved linear system (A@x = b) on GPU:")
    print(x)
else:
    print("CUDA is not available. Please check your NVIDIA driver and CUDA installation.")

view raw JSON →