Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase maximum UCX runtime pin #1051

Merged
merged 8 commits into from
Jul 31, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion conda/recipes/ucx-py/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ requirements:
{% endfor %}
run:
- python
- ucx >=1.15.0,<1.16.0
- ucx >=1.15.0,<1.18.0
# 'libucx' wheel dependency is unnecessary... the 'ucx' conda-forge package is used here instead
{% for req in data["project"]["dependencies"] if not req.startswith("libucx") %}
- {{ req }}
Expand Down
8 changes: 4 additions & 4 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ dependencies:
common:
- output_types: conda
packages:
- ucx>=1.15.0,<1.16
- ucx>=1.15.0,<1.18
- output_types: requirements
packages:
# pip recognizes the index as a global option for the requirements.txt file
Expand All @@ -168,13 +168,13 @@ dependencies:
matrices:
- matrix: {cuda: "12.*"}
packages:
- libucx-cu12>=1.15.0,<1.16
- libucx-cu12>=1.15.0,<1.18
- matrix: {cuda: "11.*"}
packages:
- libucx-cu11>=1.15.0,<1.16
- libucx-cu11>=1.15.0,<1.18
- matrix: null
packages:
- libucx>=1.15.0,<1.16
- libucx>=1.15.0,<1.18
test_python:
common:
- output_types: [conda, requirements, pyproject]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ authors = [
license = { text = "BSD-3-Clause" }
requires-python = ">=3.9"
dependencies = [
"libucx>=1.15.0,<1.16",
"libucx>=1.15.0,<1.18",
"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
5 changes: 5 additions & 0 deletions ucp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,11 @@ def _is_mig_device(handle):
logger.info("Setting UCX_MAX_RNDV_RAILS=1")
os.environ["UCX_MAX_RNDV_RAILS"] = "1"

if "UCX_PROTO_ENABLE" not in os.environ:
# UCX protov2 still doesn't support CUDA async/managed memory
logger.info("Setting UCX_PROTO_ENABLE=n")
os.environ["UCX_PROTO_ENABLE"] = "n"


__ucx_version__ = "%d.%d.%d" % get_ucx_version()

Expand Down