Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

libucx_cu11-1.18.1-py3-none-manylinux_2_28_x86_64.whl (27.6 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

libucx_cu11-1.18.1-py3-none-manylinux_2_28_aarch64.whl (26.8 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

File details

Details for the file libucx_cu11-1.18.1-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for libucx_cu11-1.18.1-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b8af50d389bb0a698547d4f62427f742c294e27a7dc719e6f7532572db7f8219
MD5 e45cd5de91b26b3281d2b25eccdf0b17
BLAKE2b-256 116eb273616e2039545bbd142c8f4578e852554f819f88a8e89f703a112438f6

See more details on using hashes here.

File details

Details for the file libucx_cu11-1.18.1-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for libucx_cu11-1.18.1-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d79979225a957942e141b4a24083b859ed4a0bfe8900733846a31f6504662a45
MD5 8131fff8e1f0c78f1b1105b87b487b70
BLAKE2b-256 62794b69757ae4679b2b22c30901a3c8296d3898ecec9cbf45f5ac5618ffa7a6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page