The Unified Communication X library (UCX)
Project description
UCX wheel building
This repository hosts code for building wheels of UCX.
Purpose
RAPIDS publishes multiple libraries that rely on UCX, including ucxx and ucx-py.
One of the ways that RAPIDS vendors these libraries is in the form of pip wheels.
For portability, wheels should be as self-contained as possible as per the manylinux standard.
However, the cost of this is (sometimes extreme) bloat as wheels must bundle all their dependencies.
Moreover, to avoid bundled dynamic libraries conflicting with local copies of shared libraries, wheels must mangle library names using tools like auditwheel.
This practice is particularly problematic for libraries like UCX that rely heavily on dlopen
to load libraries at runtime instead of link time, making static analysis of a binary to determine its dependency tree far more difficult.
To avoid this problem, in this repo we build the UCX libraries directly and vendor them in a wheel without mangling, but in a way that supports dynamic loading of the library at runtime to avoid clashing with system versions of the library.
While this approach can still be problematic if other libraries loaded on the system do use a system copy of UCX, it is a relatively more robust solution than most of the alternatives.
How UCX Wheels Are Built
UCX wheels in this repository are built by using a custom build command for setuptools to trigger the build of the UCX library. The library is then bundled and installed directly into the output directories.
{major}.{minor}.{patch}
versions of this library exactly correspond to versions of UCX.
For example, libucx==1.16.0
contains libraries built from https://github.com/openucx/ucx/releases/tag/v1.16.0.
When the packaging logic itself changes, post-release versions like libucx==1.16.0.post1
are released.
See "Post-releases" in the Python packaging docs (link) for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file libucx_cu11-1.17.0-py3-none-manylinux_2_28_x86_64.whl
.
File metadata
- Download URL: libucx_cu11-1.17.0-py3-none-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 26.9 MB
- Tags: Python 3, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9249a6c295fb5c4b1f585ad6880e17dff71ed510e8b673415014552fdd86141b |
|
MD5 | 684d81aa0a1809752358f618e5dfb826 |
|
BLAKE2b-256 | 11858574082d0baecd9f03f0fbc94edf0382f2722043bef1042037bb4a0b51a0 |
File details
Details for the file libucx_cu11-1.17.0-py3-none-manylinux_2_28_aarch64.whl
.
File metadata
- Download URL: libucx_cu11-1.17.0-py3-none-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 26.2 MB
- Tags: Python 3, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.10.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55fdbf8404538f8a01e1e1789984842f77ea38fdf5f4fa67518c541235d89c66 |
|
MD5 | f4844bf22ed96b28f048bd45833d106f |
|
BLAKE2b-256 | d543c1d4879061b3618dcab75750e7caf3af3944633ab98bf00b7a4cfc50e525 |