Skip to content

Commit

Permalink
[Core] Add ray[adag] option to pip install (#47009)
Browse files Browse the repository at this point in the history
Add ray[adag] option to pip install
  • Loading branch information
ruisearch42 authored Aug 14, 2024
1 parent a782a66 commit a0f7a7d
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 11 deletions.
1 change: 1 addition & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,7 @@ def setup(app):
"aiohttp",
"aiosignal",
"composer",
"cupy",
"dask",
"datasets",
"fastapi",
Expand Down
1 change: 1 addition & 0 deletions python/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

## setup.py install_requires
click>=7.0
cupy-cuda12x; sys_platform != 'darwin'
filelock
jsonschema
msgpack<2.0.0,>=1.0.0
Expand Down
25 changes: 14 additions & 11 deletions python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,16 @@ def get_packages(self):
numpy_dep = "numpy >= 1.20"
pyarrow_dep = "pyarrow >= 6.0.1"
setup_spec.extras = {
"adag": [
"cupy-cuda12x; sys_platform != 'darwin'",
],
"client": [
# The Ray client needs a specific range of gRPC to work:
# Tracking issues: https://github.com/grpc/grpc/issues/33714
"grpcio != 1.56.0"
if sys.platform == "darwin"
else "grpcio",
],
"data": [
numpy_dep,
pandas_dep,
Expand All @@ -252,12 +262,10 @@ def get_packages(self):
"virtualenv >=20.0.24, !=20.21.1", # For pip runtime env.
"memray; sys_platform != 'win32'",
],
"client": [
# The Ray client needs a specific range of gRPC to work:
# Tracking issues: https://github.com/grpc/grpc/issues/33714
"grpcio != 1.56.0"
if sys.platform == "darwin"
else "grpcio",
"observability": [
"opentelemetry-api",
"opentelemetry-sdk",
"opentelemetry-exporter-otlp",
],
"serve": [
"uvicorn[standard]",
Expand All @@ -267,11 +275,6 @@ def get_packages(self):
"watchfiles",
],
"tune": ["pandas", "tensorboardX>=1.9", "requests", pyarrow_dep, "fsspec"],
"observability": [
"opentelemetry-api",
"opentelemetry-sdk",
"opentelemetry-exporter-otlp",
],
}

# Ray Serve depends on the Ray dashboard components.
Expand Down

0 comments on commit a0f7a7d

Please sign in to comment.