Registry / data / libucxx-cu12

libucxx-cu12

JSON →
library0.50.0pypypi✓ verified 80d ago

Python Bindings for the Unified Communication X library (UCX), including CUDA 12 support. Provides high-performance communication primitives for distributed computing, commonly used in RAPIDS ecosystem. Current version: 0.49.0, part of the RAPIDS suite, released monthly.

pip install libucxx-cu12
INSTALL
IMPORT
SIG · LIBUCXX-CU12
L
libucxx-cu12
datapythonv0.50.0
Install
4.0s avg
Import
Disk
125MB
Pass rate
5/ 10
Env Coverage5 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v0.50.0 · 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 4.0s · import 0.000s · 133MB
125MB installed
● package 125MB
Code
Verified usage

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

load
from libucxx import load
from ucp import UCXListener
load_library
from libucxx import load_library

Quickstart example using UCX-Py (the Python bindings). Note: libucxx-cu12 is the CUDA 12 variant; actual usage is via the `ucp` module.

import ucp async def server(ep): msg = await ep.recv(1024) print(f"Received: {msg}") await ep.send(b"pong") async def main(): listener = ucp.create_listener(server, port=13337) ep = await ucp.create_endpoint(ucp.get_address(), 13337) await ep.send(b"ping") reply = await ep.recv(1024) print(f"Reply: {reply}") listener.close() ucp.init() ucp.get_worker().run()
Debug
Known issues
gotchaThe PyPI package name is `libucxx-cu12` but the import is `ucp`. Installing libucxx-cu12 provides the `ucp` Python module.
fix
Import as `import ucp`.
affects: all
breakingVersion 0.49.0 removed the numba-cuda runtime dependency in favor of cuda-core. Code relying on numba-cuda interop may need updates.
fix
If you use numba-cuda with UCX, switch to cuda-core based API.
affects: >=0.49.0
breakingVersion 0.47.0 requires CUDA 12.2+. Systems with older CUDA will encounter compatibility issues.
fix
Update CUDA to 12.2 or later, or pin to an older libucxx-cu12 version.
affects: >=0.47.0
gotchaThe package name includes '-cu12' which is specific to CUDA 12. For CUDA 11, use 'libucxx-cu11'.
fix
Ensure you install the correct variant matching your CUDA version.
affects: all
deprecatedThe `ucp` module is the recommended interface. Some older docs reference `ucxx` directly.
fix
Use `import ucp` instead of `import ucxx`.
affects: all
Upgrade
Version history
0.50.0latest on PyPI · released Jun 9, 2026
Audit
Dependencies
ucx-pyoptionallibucxx-cu12 provides Python bindings on top of UCX, but the actual UCX library may be needed.
Agent activity
12 hits · last 30 days
node
12
Resources
libucxx-cu12 — pip install libucxx-cu12 · libregistry