Skip to content

Commit

Permalink
do not depend on libucx in interactive builds
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb committed Jun 27, 2024
1 parent 724647f commit 7b675a4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
10 changes: 6 additions & 4 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,10 @@ dependencies:
- matrix: {cuda: "11.*"}
packages:
- libucx-cu11>=1.15.0,<1.15.1
# this fallback is intentionally empty... it simplifies building from source
# without CUDA, e.g. 'pip install .'
- matrix: null
packages:
- libucx==1.15.0,<1.15.1
packages: null
depends_on_ucx_run:
common:
- output_types: conda
Expand All @@ -174,9 +175,10 @@ dependencies:
- matrix: {cuda: "11.*"}
packages:
- libucx-cu11>=1.15.0,<1.16
# this fallback is intentionally empty... it simplifies building from source
# without CUDA, e.g. 'pip install .'
- matrix: null
packages:
- libucx>=1.15.0,<1.16
packages: null
test_python:
common:
- output_types: [conda, requirements, pyproject]
Expand Down
4 changes: 2 additions & 2 deletions docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,6 @@ Building and installing UCX-Py can be done via `pip install`. For example:
conda activate ucx
git clone https://github.com/rapidsai/ucx-py.git
cd ucx-py
pip install -v -C rapidsai.matrix-entry="cuda=12.2" .
pip install -v .
# or for develop build
pip install -v -e -C rapidsai.matrix-entry="cuda=12.2" .
pip install -v -e .
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ authors = [
license = { text = "BSD-3-Clause" }
requires-python = ">=3.9"
dependencies = [
"libucx>=1.15.0,<1.16",
"numpy>=1.23,<2.0a0",
"pynvml>=11.4.1",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit dependencies.yaml and run `rapids-dependency-file-generator`.
Expand Down Expand Up @@ -117,11 +116,11 @@ commit-files = [
"ucp/COMMIT_FILE"
]
# by default, do not rename the package 'ucx-py-cu${ver}'
# (this is overridden in wheel publishing)
disable-cuda=true
dependencies-file = "dependencies.yaml"
requires = [
"cython>=3.0.0",
"libucx==1.15.0,<1.15.1",
] # This list was generated by `rapids-dependency-file-generator`. To make changes, edit dependencies.yaml and run `rapids-dependency-file-generator`.

[tool.setuptools]
Expand Down

0 comments on commit 7b675a4

Please sign in to comment.