[BRING BACK TO MASTER] Update result and fix sanity check bugs.

This commit is contained in:
SangBin Cho
2020-08-12 11:49:52 -07:00
parent 56810e1365
commit 89fd21ff61
7 changed files with 91 additions and 7 deletions
+11 -2
View File
@@ -3,6 +3,10 @@
# This script automatically download ray and run the sanity check (sanity_check.py)
# in various Python version. This script requires conda command to exist.
unset RAY_ADDRESS
export RAY_HASH=$RAY_HASH
export RAY_VERSION=$RAY_VERSION
if [[ -z "$RAY_HASH" ]]; then
echo "RAY_HASH env var should be provided"
exit 1
@@ -27,7 +31,7 @@ pip install --upgrade pip
# This is required to use conda activate
source "$(conda info --base)/etc/profile.d/conda.sh"
for PYTHON_VERSION in "3.5" "3.6" "3.7" "3.8"
for PYTHON_VERSION in "3.6" "3.7" "3.8"
do
env_name="${RAY_VERSION}-${PYTHON_VERSION}-env"
conda create -y -n "${env_name}" python=${PYTHON_VERSION}
@@ -41,7 +45,12 @@ do
printf "\n\n\n"
pip install redis==3.3.2
pip install msgpack==0.6.2
pip install msgpack==1.0.0
pip install aioredis
pip install colorful
pip install prometheus-client==0.7.1
pip install opencensus
pip install gpustat
pip install ray
pip uninstall -y ray
pip install --index-url https://test.pypi.org/simple/ ray
+6 -3
View File
@@ -5,7 +5,7 @@ cluster_name: sanity-check
# The maximum number of workers nodes to launch in addition to the head
# node. This takes precedence over min_workers. min_workers defaults to 0.
max_workers: 1
max_workers: 0
# Cloud-provider specific configuration.
provider:
@@ -23,13 +23,16 @@ head_setup_commands:
- wget --quiet 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
- echo 'export PATH="$HOME/anaconda3/bin:$PATH"' >> ~/.bashrc
- echo 'RAY_VERSION=0.8.7' >> ~/.bashrc
- echo 'RAY_HASH=56810e136587432ed4758d882bf8894b930355e3' >> ~/.bashrc
- chmod +x ./pip_download_test.sh || true
- pip install -U pip
# Custom commands that will be run on worker nodes after common setup.
worker_setup_commands: []
# Command to start ray on the head node. You don't need to change this.
head_start_ray_commands: []
head_start_ray_commands: [ray stop]
# Command to start ray on worker nodes. You don't need to change this.
worker_start_ray_commands: []
worker_start_ray_commands: [ray stop]