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

[Core] Add ray[adag] option to pip install #47009

Merged
merged 13 commits into from
Aug 14, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
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
Loading