Skip to content

Commit

Permalink
prefer system installs of UCX libraries when using RAPIDS wheels (#421)
Browse files Browse the repository at this point in the history
Contributes to rapidsai/build-planning#118

Should only be merged if / after we merge
rapidsai/ucx-wheels#13. That PR switches
`libucx` wheels' loading behavior, such that `libucx.load_library()`
(which `ucx-py` and `libucxx` call at import time) prefers the
`libuc{m,p,s}.so` provided by the `libucx` wheels.

rapidsai/ucx-wheels#13 introduces an environment
variable to control that... this proposes setting that, to continue
preferring system-installed UCX libraries in devcontainers.

---------

Co-authored-by: Vyas Ramasubramani <[email protected]>
  • Loading branch information
jameslamb and vyasr authored Nov 27, 2024
1 parent 274954f commit e37f7b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .devcontainer/rapids.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ RUN apt update -y \

ENV DEFAULT_VIRTUAL_ENV=rapids

ENV RAPIDS_LIBUCX_PREFER_SYSTEM_LIBRARY=true

FROM ${BASE} as conda-base

ENV DEFAULT_CONDA_ENV=rapids
Expand Down

0 comments on commit e37f7b0

Please sign in to comment.