Add dashboard dependencies to default ray installation (#9447)

This commit is contained in:
Max Fitton
2020-07-20 12:53:08 -05:00
committed by GitHub
parent d0398bf7e1
commit 051973ad23
2 changed files with 2 additions and 28 deletions
-27
View File
@@ -70,33 +70,6 @@ For example, here are the Ray 0.9.0.dev0 wheels for Python 3.5, MacOS for commit
pip install https://ray-wheels.s3-us-west-2.amazonaws.com/master/a0ba4499ac645c9d3e82e68f3a281e48ad57f873/ray-0.9.0.dev0-cp35-cp35m-macosx_10_13_intel.whl
Installing Dashboard
--------------------
The dashboard requires a few additional Python packages, which can be installed
via pip.
.. code-block:: bash
pip install ray[dashboard]
The command ``ray.init()`` or ``ray start --head`` will print out the address of
the dashboard. For example,
.. code-block:: python
>>> import ray
>>> ray.init()
======================================================================
View the dashboard at http://127.0.0.1:8265.
Note: If Ray is running on a remote node, you will need to set up an
SSH tunnel with local port forwarding in order to access the dashboard
in your browser, e.g. by running 'ssh -L 8265:127.0.0.1:8265
<username>@<host>'. Alternatively, you can set dashboard_host="0.0.0.0" in
the call to ray.init() to allow direct access from external machines.
======================================================================
.. _windows-support:
Windows Support
+2 -1
View File
@@ -96,7 +96,6 @@ if os.getenv("RAY_USE_NEW_GCS") == "on":
extras = {
"debug": [],
"dashboard": ["requests", "gpustat"],
"serve": ["uvicorn", "flask", "blist", "requests"],
"tune": ["tabulate", "tensorboardX", "pandas"]
}
@@ -268,6 +267,7 @@ install_requires = [
"colorama",
"filelock",
"google",
"gpustat",
"grpcio",
"jsonschema",
"msgpack >= 0.6.0, < 2.0.0",
@@ -275,6 +275,7 @@ install_requires = [
"protobuf >= 3.8.0",
"py-spy >= 0.2.0",
"pyyaml",
"requests",
"redis >= 3.3.2, < 3.5.0",
]