{"library":"nvidia-cusolver-cu11","title":"NVIDIA cuSOLVER CUDA 11 Runtime Libraries","description":"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.","language":"python","status":"active","last_verified":"Sat Apr 11","install":{"commands":["pip install nvidia-cusolver-cu11"],"cli":null},"imports":[],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import torch\n\nif torch.cuda.is_available():\n    print(f\"CUDA is available. Device name: {torch.cuda.get_device_name(0)}\")\n    # Further usage would involve libraries that depend on nvidia-cusolver-cu11,\n    # such as PyTorch for linear algebra operations on GPU tensors.\n    # Example (PyTorch uses cuSOLVER indirectly for operations like torch.linalg.solve, SVD, etc.):\n    a = torch.randn(3, 3, device='cuda')\n    b = torch.randn(3, 1, device='cuda')\n    x = torch.linalg.solve(a, b)\n    print(\"Solved linear system (A@x = b) on GPU:\")\n    print(x)\nelse:\n    print(\"CUDA is not available. Please check your NVIDIA driver and CUDA installation.\")","lang":"python","description":"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.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}