mirror of
https://github.com/wassname/ray.git
synced 2026-07-27 11:26:41 +08:00
[Dashboard] Add initial version of new dashboard (#5730)
This commit is contained in:
committed by
Robert Nishihara
parent
56ab9a00bb
commit
98dcc1d440
@@ -88,6 +88,9 @@ setup_commands:
|
||||
# Install basics.
|
||||
- sudo apt-get update
|
||||
- sudo apt-get install -y build-essential curl unzip
|
||||
# Install Node.js in order to build the dashboard.
|
||||
- curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash
|
||||
- sudo apt-get install -y nodejs
|
||||
# Install Anaconda.
|
||||
- wget https://repo.continuum.io/archive/Anaconda3-5.0.1-Linux-x86_64.sh || true
|
||||
- bash Anaconda3-5.0.1-Linux-x86_64.sh -b -p $HOME/anaconda3 || true
|
||||
@@ -95,7 +98,8 @@ setup_commands:
|
||||
# Build Ray.
|
||||
- git clone https://github.com/ray-project/ray || true
|
||||
- ray/ci/travis/install-bazel.sh
|
||||
- pip install boto3==1.4.8 cython==0.29.0
|
||||
- cd ray/python/ray/dashboard/client; npm ci; npm run build
|
||||
- pip install boto3==1.4.8 cython==0.29.0 aiohttp psutil setproctitle
|
||||
- cd ray/python; pip install -e . --verbose
|
||||
|
||||
# Custom commands that will be run on the head node after common setup.
|
||||
@@ -107,7 +111,7 @@ worker_setup_commands: []
|
||||
# Command to start ray on the head node. You don't need to change this.
|
||||
head_start_ray_commands:
|
||||
- ray stop
|
||||
- ulimit -n 65536; ray start --head --num-redis-shards=10 --redis-port=6379 --autoscaling-config=~/ray_bootstrap_config.yaml
|
||||
- ulimit -n 65536; ray start --head --include-webui --num-redis-shards=10 --redis-port=6379 --autoscaling-config=~/ray_bootstrap_config.yaml
|
||||
|
||||
# Command to start ray on worker nodes. You don't need to change this.
|
||||
worker_start_ray_commands:
|
||||
|
||||
Reference in New Issue
Block a user