Registry / ai-ml / nvidia-libnvcomp-cu12

nvidia-libnvcomp-cu12

JSON →
library5.2.0.13pypypiunverified

NVIDIA nvcomp is a high-speed lossless compression/decompression library designed for use on NVIDIA GPUs. This package provides the pre-built CUDA 12 binaries (libnvcomp.so) for Python. Version 5.2.0.13 is current. Release cadence is tied to CUDA toolkit releases.

pip install nvidia-libnvcomp-cu12
INSTALL
IMPORT
SIG · NVIDIA-LIBNVCOMP-C
N
nvidia-libnvcomp-cu12
ai-mlpythonv5.2.0.13
Install
2.2s avg
Import
Disk
61MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v5.2.0.13 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
build_error
glibc
py 3.103.95 runs
installs and imports cleanly · install 2.2s · import 0.000s · 64MB
61MB installed
● package 61MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FFI
from cffi import FFI
from cffi import FFI

Verify that the nvcomp shared library is accessible and loadable.

import ctypes import os # Load the library (adjust path if needed) lib_path = os.environ.get('NVCOMP_LIB_PATH', 'libnvcomp.so') try: lib = ctypes.CDLL(lib_path) print('nvcomp library loaded successfully') except OSError as e: print(f'Failed to load: {e}')
Debug
Known issues
gotchaThis package only provides the compiled shared library (libnvcomp.so) for CUDA 12. It does not include Python bindings; you must use ctypes, cffi, or a higher-level library like cuPy or RAPIDS.
fix
Install a Python wrapper (e.g., `nvcomp` from NVIDIA or use ctypes directly).
affects: all
gotchaThe library is version-specific to CUDA 12. If you are using a different CUDA version (e.g., 11.x), this package will not work and may cause runtime errors.
fix
Use the appropriate `nvidia-libnvcomp-cuX` package for your CUDA version, or install the CUDA 12 toolkit.
affects: all
deprecatedSome older APIs in nvcomp are deprecated in version 5.2.0. In particular, the GDeflate API has been superseded by Bitcomp; old function names still exist but may be removed in a future release.
fix
Migrate calls from `nvcompGdeflate*` to `nvcompBitcomp*` functions.
affects: >=5.0.0
Upgrade
Version history
5.2.0.13latest on PyPI · released Apr 8, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
2 hits · last 30 days
node
2
Resources
nvidia-libnvcomp-cu12 — pip install nvidia-libnvcomp-cu12 · libregistry