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 #240

Merged
merged 8 commits into from
Jul 31, 2024
Merged
2 changes: 1 addition & 1 deletion ci/test_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ for nbuf in 1 8; do
done

rapids-logger "C++ future -> Python future notifier example"
python -m ucxx.examples.python_future_task_example
timeout 1m python -m ucxx.examples.python_future_task_example
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-118_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ dependencies:
- scikit-build-core>=0.7.0
- setuptools>=64.0.0
- spdlog>=1.12.0,<1.13
- ucx>=1.15.0
- ucx>=1.15.0,<1.18
name: all_cuda-118_arch-x86_64
2 changes: 1 addition & 1 deletion conda/environments/all_cuda-122_arch-x86_64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ dependencies:
- scikit-build-core>=0.7.0
- setuptools>=64.0.0
- spdlog>=1.12.0,<1.13
- ucx>=1.15.0
- ucx>=1.15.0,<1.18
name: all_cuda-122_arch-x86_64
4 changes: 2 additions & 2 deletions conda/recipes/ucxx/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ outputs:
- cudatoolkit
{% endif %}
- {{ pin_compatible('cuda-version', max_pin='x', min_pin='x') }}
- ucx >=1.15.0,<1.16.0
- ucx >=1.15.0,<1.18.0
test:
commands:
- test -f $PREFIX/lib/libucxx.so
Expand Down Expand Up @@ -237,7 +237,7 @@ outputs:
{% else %}
- cuda-cudart
{% endif %}
- ucx >=1.15.0,<1.16.0
- ucx >=1.15.0,<1.18.0
- {{ pin_subpackage('libucxx', exact=True) }}
- {{ pin_compatible('rmm', max_pin='x.x') }}
- {{ pin_compatible('numpy') }}
Expand Down
12 changes: 6 additions & 6 deletions dependencies.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -374,13 +374,13 @@ dependencies:
packages:
- libucx-cu11==1.15.0
- matrix: null
packages:
packages:
- libucx==1.15.0
depends_on_ucx_run:
common:
- output_types: conda
packages:
- &ucx_conda_run ucx>=1.15.0
- &ucx_conda_run 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 @@ -391,10 +391,10 @@ dependencies:
matrices:
- matrix: {cuda: "12.*"}
packages:
- libucx-cu12>=1.15.0
- libucx-cu12>=1.15.0,<1.18
- matrix: {cuda: "11.*"}
packages:
- libucx-cu11>=1.15.0
- libucx-cu11>=1.15.0,<1.18
- matrix: null
packages:
- libucx>=1.15.0
packages:
- libucx>=1.15.0,<1.18
2 changes: 1 addition & 1 deletion python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ authors = [
license = { text = "BSD-3-Clause" }
requires-python = ">=3.9"
dependencies = [
"libucx>=1.15.0",
"libucx>=1.15.0,<1.18",
"numpy>=1.23,<2.0a0",
"pynvml>=11.4.1",
"rmm==24.8.*,>=0.0.0a0",
Expand Down
5 changes: 5 additions & 0 deletions python/ucxx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,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"
wence- marked this conversation as resolved.
Show resolved Hide resolved


from ._version import __git_commit__, __version__

Expand Down