Revert "Bump version number everywhere to 1.0.0"

This reverts commit fa304a90ee.
This commit is contained in:
Barak Michener
2020-09-21 17:58:09 +00:00
parent 2fb29eb680
commit e8a2bd0f24
25 changed files with 45 additions and 45 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ set -x
GPU="" GPU=""
BASE_IMAGE="ubuntu:focal" BASE_IMAGE="ubuntu:focal"
WHEEL_URL="https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp37-cp37m-manylinux1_x86_64.whl" WHEEL_URL="https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp37-cp37m-manylinux1_x86_64.whl"
while [[ $# -gt 0 ]] while [[ $# -gt 0 ]]
do do
@@ -15,7 +15,7 @@ commands:
params: params:
- name: wheel - name: wheel
help: "URL to the ray wheel to test (defaults to latest)." help: "URL to the ray wheel to test (defaults to latest)."
default: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp36-cp36m-manylinux1_x86_64.whl default: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp36-cp36m-manylinux1_x86_64.whl
- name: workload - name: workload
help: "Name of the workload to run." help: "Name of the workload to run."
choices: choices:
+1 -1
View File
@@ -17,7 +17,7 @@ commands:
OMP_NUM_THREADS=64 ray microbenchmark OMP_NUM_THREADS=64 ray microbenchmark
params: params:
- name: ray_version # Ray version string. - name: ray_version # Ray version string.
default: "1.0.0" default: "0.9.0.dev0"
- name: commit # Ray commit SHA string. - name: commit # Ray commit SHA string.
default: "FILL ME IN" default: "FILL ME IN"
+1 -1
View File
@@ -19,7 +19,7 @@ commands:
./pip_download_test.sh ./pip_download_test.sh
params: params:
- name: ray_version # Ray version string. - name: ray_version # Ray version string.
default: "1.0.0" default: "0.9.0.dev0"
- name: commit # Ray commit SHA string. - name: commit # Ray commit SHA string.
default: "FILL ME IN" default: "FILL ME IN"
@@ -24,7 +24,7 @@ setup_commands:
- echo 'export PATH="$HOME/anaconda3/bin:$PATH"' >> ~/.bashrc - echo 'export PATH="$HOME/anaconda3/bin:$PATH"' >> ~/.bashrc
- sudo apt -y update - sudo apt -y update
- sudo apt -y install npm - sudo apt -y install npm
- pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp36-cp36m-manylinux1_x86_64.whl - pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp36-cp36m-manylinux1_x86_64.whl
# How Ray will authenticate with newly launched nodes. # How Ray will authenticate with newly launched nodes.
auth: auth:
+1 -1
View File
@@ -23,7 +23,7 @@ RLlib, Tune, Autoscaler, and most Python files do not require you to build and c
.. code-block:: shell .. code-block:: shell
pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp38-cp38-manylinux1_x86_64.whl pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp38-cp38-manylinux1_x86_64.whl
2. Fork and clone the project to your machine. Connect your repository to the upstream (main project) ray repository. 2. Fork and clone the project to your machine. Connect your repository to the upstream (main project) ray repository.
+11 -11
View File
@@ -49,17 +49,17 @@ instead of the ones above:
`Linux Python 3.6`_ `MacOS Python 3.6`_ `Windows Python 3.6`_ `Linux Python 3.6`_ `MacOS Python 3.6`_ `Windows Python 3.6`_
=================== =================== ====================== =================== =================== ======================
.. _`Linux Python 3.8`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp38-cp38-manylinux1_x86_64.whl .. _`Linux Python 3.8`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp38-cp38-manylinux1_x86_64.whl
.. _`Linux Python 3.7`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp37-cp37m-manylinux1_x86_64.whl .. _`Linux Python 3.7`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp37-cp37m-manylinux1_x86_64.whl
.. _`Linux Python 3.6`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp36-cp36m-manylinux1_x86_64.whl .. _`Linux Python 3.6`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp36-cp36m-manylinux1_x86_64.whl
.. _`MacOS Python 3.8`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp38-cp38-macosx_10_13_x86_64.whl .. _`MacOS Python 3.8`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp38-cp38-macosx_10_13_x86_64.whl
.. _`MacOS Python 3.7`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp37-cp37m-macosx_10_13_intel.whl .. _`MacOS Python 3.7`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp37-cp37m-macosx_10_13_intel.whl
.. _`MacOS Python 3.6`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp36-cp36m-macosx_10_13_intel.whl .. _`MacOS Python 3.6`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp36-cp36m-macosx_10_13_intel.whl
.. _`Windows Python 3.8`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp38-cp38-win_amd64.whl .. _`Windows Python 3.8`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp38-cp38-win_amd64.whl
.. _`Windows Python 3.7`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp37-cp37m-win_amd64.whl .. _`Windows Python 3.7`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp37-cp37m-win_amd64.whl
.. _`Windows Python 3.6`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp36-cp36m-win_amd64.whl .. _`Windows Python 3.6`: https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp36-cp36m-win_amd64.whl
Installing from a specific commit Installing from a specific commit
@@ -71,11 +71,11 @@ You can install the Ray wheels of any particular commit on ``master`` with the f
pip install https://ray-wheels.s3-us-west-2.amazonaws.com/master/{COMMIT_HASH}/ray-{RAY_VERSION}-{PYTHON_VERSION}-{PYTHON_VERSION}m-{OS_VERSION}_intel.whl pip install https://ray-wheels.s3-us-west-2.amazonaws.com/master/{COMMIT_HASH}/ray-{RAY_VERSION}-{PYTHON_VERSION}-{PYTHON_VERSION}m-{OS_VERSION}_intel.whl
For example, here are the Ray 1.0.0 wheels for Python 3.5, MacOS for commit ``a0ba4499ac645c9d3e82e68f3a281e48ad57f873``: For example, here are the Ray 0.9.0.dev0 wheels for Python 3.5, MacOS for commit ``a0ba4499ac645c9d3e82e68f3a281e48ad57f873``:
.. code-block:: bash .. code-block:: bash
pip install https://ray-wheels.s3-us-west-2.amazonaws.com/master/a0ba4499ac645c9d3e82e68f3a281e48ad57f873/ray-1.0.0-cp35-cp35m-macosx_10_13_intel.whl 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
.. _windows-support: .. _windows-support:
+1 -1
View File
@@ -95,7 +95,7 @@ from ray import util # noqa: E402
# Replaced with the current commit when building the wheels. # Replaced with the current commit when building the wheels.
__commit__ = "{{RAY_COMMIT_SHA}}" __commit__ = "{{RAY_COMMIT_SHA}}"
__version__ = "1.0.0" __version__ = "0.9.0.dev0"
__all__ = [ __all__ = [
"__version__", "__version__",
+1 -1
View File
@@ -129,7 +129,7 @@ setup_commands:
# has your Ray repo pre-cloned. Then, you can replace the pip installs # has your Ray repo pre-cloned. Then, you can replace the pip installs
# below with a git checkout <your_sha> (and possibly a recompile). # below with a git checkout <your_sha> (and possibly a recompile).
- echo 'export PATH="$HOME/anaconda3/envs/tensorflow_p36/bin:$PATH"' >> ~/.bashrc - echo 'export PATH="$HOME/anaconda3/envs/tensorflow_p36/bin:$PATH"' >> ~/.bashrc
- pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp36-cp36m-manylinux1_x86_64.whl - pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp36-cp36m-manylinux1_x86_64.whl
# Consider uncommenting these if you also want to run apt-get commands during setup # Consider uncommenting these if you also want to run apt-get commands during setup
# - sudo pkill -9 apt-get || true # - sudo pkill -9 apt-get || true
# - sudo pkill -9 dpkg || true # - sudo pkill -9 dpkg || true
@@ -106,8 +106,8 @@ file_mounts: {
# List of shell commands to run to set up nodes. # List of shell commands to run to set up nodes.
# NOTE: rayproject/ray:0.8.7 has ray 0.8.7 bundled # NOTE: rayproject/ray:0.8.7 has ray 0.8.7 bundled
# setup_commands: # setup_commands:
# - pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp36-cp36m-manylinux1_x86_64.whl # - pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp36-cp36m-manylinux1_x86_64.whl
# - pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp37-cp37m-manylinux1_x86_64.whl # - pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp37-cp37m-manylinux1_x86_64.whl
# Custom commands that will be run on the head node after common setup. # Custom commands that will be run on the head node after common setup.
head_setup_commands: head_setup_commands:
@@ -126,7 +126,7 @@ setup_commands:
# below with a git checkout <your_sha> (and possibly a recompile). # below with a git checkout <your_sha> (and possibly a recompile).
# - echo 'conda activate py37_pytorch' >> ~/.bashrc # - echo 'conda activate py37_pytorch' >> ~/.bashrc
- echo 'conda activate py37_tensorflow' >> ~/.bashrc - echo 'conda activate py37_tensorflow' >> ~/.bashrc
- pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp37-cp37m-manylinux1_x86_64.whl - pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp37-cp37m-manylinux1_x86_64.whl
# Consider uncommenting these if you also want to run apt-get commands during setup # Consider uncommenting these if you also want to run apt-get commands during setup
# - sudo pkill -9 apt-get || true # - sudo pkill -9 apt-get || true
# - sudo pkill -9 dpkg || true # - sudo pkill -9 dpkg || true
@@ -81,7 +81,7 @@ file_mounts: {
# List of shell commands to run to set up nodes. # List of shell commands to run to set up nodes.
# NOTE: rayproject/ray:0.8.7 has ray 0.8.7 bundled # NOTE: rayproject/ray:0.8.7 has ray 0.8.7 bundled
# setup_commands: # setup_commands:
# - pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp37-cp37m-manylinux1_x86_64.whl # - pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp37-cp37m-manylinux1_x86_64.whl
# Custom commands that will be run on the head node after common setup. # Custom commands that will be run on the head node after common setup.
head_setup_commands: head_setup_commands:
+1 -1
View File
@@ -108,7 +108,7 @@ setup_commands:
# below with a git checkout <your_sha> (and possibly a recompile). # below with a git checkout <your_sha> (and possibly a recompile).
# - echo 'conda activate py37_pytorch' >> ~/.bashrc # - echo 'conda activate py37_pytorch' >> ~/.bashrc
- echo 'conda activate py37_tensorflow' >> ~/.bashrc - echo 'conda activate py37_tensorflow' >> ~/.bashrc
- pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp37-cp37m-manylinux1_x86_64.whl - pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp37-cp37m-manylinux1_x86_64.whl
# Consider uncommenting these if you also want to run apt-get commands during setup # Consider uncommenting these if you also want to run apt-get commands during setup
# - sudo pkill -9 apt-get || true # - sudo pkill -9 apt-get || true
# - sudo pkill -9 dpkg || true # - sudo pkill -9 dpkg || true
+1 -1
View File
@@ -140,7 +140,7 @@ setup_commands:
&& echo 'export PATH="$HOME/anaconda3/bin:$PATH"' >> ~/.profile && echo 'export PATH="$HOME/anaconda3/bin:$PATH"' >> ~/.profile
# Install ray # Install ray
- pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp37-cp37m-manylinux1_x86_64.whl - pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp37-cp37m-manylinux1_x86_64.whl
# Custom commands that will be run on the head node after common setup. # Custom commands that will be run on the head node after common setup.
@@ -135,8 +135,8 @@ initialization_commands:
# List of shell commands to run to set up nodes. # List of shell commands to run to set up nodes.
# NOTE: rayproject/ray:0.8.7 has ray 0.8.7 bundled # NOTE: rayproject/ray:0.8.7 has ray 0.8.7 bundled
# setup_commands: # setup_commands:
# - pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp36-cp36m-manylinux1_x86_64.whl # - pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp36-cp36m-manylinux1_x86_64.whl
# - pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp37-cp37m-manylinux1_x86_64.whl # - pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp37-cp37m-manylinux1_x86_64.whl
# Custom commands that will be run on the head node after common setup. # Custom commands that will be run on the head node after common setup.
head_setup_commands: head_setup_commands:
+9 -9
View File
@@ -1,14 +1,14 @@
linux: linux:
"3.8": https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp38-cp38-manylinux1_x86_64.whl "3.8": https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp38-cp38-manylinux1_x86_64.whl
"3.7": https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp37-cp37m-manylinux1_x86_64.whl "3.7": https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp37-cp37m-manylinux1_x86_64.whl
"3.6": https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp36-cp36m-manylinux1_x86_64.whl "3.6": https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp36-cp36m-manylinux1_x86_64.whl
darwin: darwin:
"3.8": https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp38-cp38-macosx_10_13_x86_64.whl "3.8": https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp38-cp38-macosx_10_13_x86_64.whl
"3.7": https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp37-cp37m-macosx_10_13_intel.whl "3.7": https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp37-cp37m-macosx_10_13_intel.whl
"3.6": https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp36-cp36m-macosx_10_13_intel.whl "3.6": https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp36-cp36m-macosx_10_13_intel.whl
win32: win32:
"3.8": https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp38-cp38-win_amd64.whl "3.8": https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp38-cp38-win_amd64.whl
"3.7": https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp37-cp37m-win_amd64.whl "3.7": https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp37-cp37m-win_amd64.whl
"3.6": https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp36-cp36m-win_amd64.whl "3.6": https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp36-cp36m-win_amd64.whl
@@ -48,7 +48,7 @@ worker_nodes:
setup_commands: setup_commands:
- conda install setuptools=45.1.0=py36_0 wrapt=1.11.2 --yes # workaround to fix wrapt error - conda install setuptools=45.1.0=py36_0 wrapt=1.11.2 --yes # workaround to fix wrapt error
- ray &> /dev/null || pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp36-cp36m-manylinux1_x86_64.whl - ray &> /dev/null || pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp36-cp36m-manylinux1_x86_64.whl
- pip install -U ray[tune] - pip install -U ray[tune]
- pip install tensorflow-gpu==2.1.0 - pip install tensorflow-gpu==2.1.0
@@ -43,7 +43,7 @@ worker_nodes:
# MaxPrice: "9.0" # MaxPrice: "9.0"
setup_commands: setup_commands:
- ray || pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp36-cp36m-manylinux1_x86_64.whl - ray || pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp36-cp36m-manylinux1_x86_64.whl
- pip install -U ipdb ray[rllib] torch torchvision - pip install -U ipdb ray[rllib] torch torchvision
# Install apex. # Install apex.
# - rm -rf apex || true # - rm -rf apex || true
@@ -62,7 +62,7 @@ worker_nodes:
setup_commands: setup_commands:
# This replaces the standard anaconda Ray installation # This replaces the standard anaconda Ray installation
- ray || pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp36-cp36m-manylinux1_x86_64.whl - ray || pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp36-cp36m-manylinux1_x86_64.whl
# Uncomment this and the filemount to update the Ray installation with your local Ray code # Uncomment this and the filemount to update the Ray installation with your local Ray code
# - rm -rf ./anaconda3/lib/python3.6/site-packages/ray/util/sgd/ # - rm -rf ./anaconda3/lib/python3.6/site-packages/ray/util/sgd/
# - cp -rf ~/sgd ./anaconda3/lib/python3.6/site-packages/ray/util/ # - cp -rf ~/sgd ./anaconda3/lib/python3.6/site-packages/ray/util/
@@ -42,7 +42,7 @@ worker_nodes:
setup_commands: setup_commands:
# This replaces the standard anaconda Ray installation # This replaces the standard anaconda Ray installation
- ray || pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp36-cp36m-manylinux1_x86_64.whl - ray || pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp36-cp36m-manylinux1_x86_64.whl
# Uncomment this and the filemount to update the Ray installation with your local Ray code # Uncomment this and the filemount to update the Ray installation with your local Ray code
# - rm -rf ./anaconda3/lib/python3.6/site-packages/ray/util/sgd/ # - rm -rf ./anaconda3/lib/python3.6/site-packages/ray/util/sgd/
# - cp -rf ~/sgd ./anaconda3/lib/python3.6/site-packages/ray/util/ # - cp -rf ~/sgd ./anaconda3/lib/python3.6/site-packages/ray/util/
@@ -62,7 +62,7 @@ worker_nodes:
setup_commands: setup_commands:
# This replaces the standard anaconda Ray installation # This replaces the standard anaconda Ray installation
- ray || pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp36-cp36m-manylinux1_x86_64.whl - ray || pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp36-cp36m-manylinux1_x86_64.whl
# Uncomment this and the filemount to update the Ray installation with your local Ray code # Uncomment this and the filemount to update the Ray installation with your local Ray code
# - rm -rf ./anaconda3/lib/python3.6/site-packages/ray/util/sgd/ # - rm -rf ./anaconda3/lib/python3.6/site-packages/ray/util/sgd/
# - cp -rf ~/sgd ./anaconda3/lib/python3.6/site-packages/ray/util/ # - cp -rf ~/sgd ./anaconda3/lib/python3.6/site-packages/ray/util/
@@ -47,7 +47,7 @@ worker_nodes:
setup_commands: setup_commands:
# This replaces the standard anaconda Ray installation # This replaces the standard anaconda Ray installation
- ray || pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-1.0.0-cp36-cp36m-manylinux1_x86_64.whl - ray || pip install -U https://s3-us-west-2.amazonaws.com/ray-wheels/latest/ray-0.9.0.dev0-cp36-cp36m-manylinux1_x86_64.whl
- pip install -q tqdm - pip install -q tqdm
# Installing this without -U to make sure we don't replace the existing Ray installation # Installing this without -U to make sure we don't replace the existing Ray installation
+1 -1
View File
@@ -136,7 +136,7 @@ CoreWorkerProcess::CoreWorkerProcess(const CoreWorkerOptions &options)
RAY_LOG(DEBUG) << "Stats setup in core worker."; RAY_LOG(DEBUG) << "Stats setup in core worker.";
// Initialize stats in core worker global tags. // Initialize stats in core worker global tags.
const ray::stats::TagsType global_tags = {{ray::stats::ComponentKey, "core_worker"}, const ray::stats::TagsType global_tags = {{ray::stats::ComponentKey, "core_worker"},
{ray::stats::VersionKey, "1.0.0"}}; {ray::stats::VersionKey, "0.9.0.dev0"}};
// NOTE(lingxuan.zlx): We assume RayConfig is initialized before it's used. // NOTE(lingxuan.zlx): We assume RayConfig is initialized before it's used.
// RayConfig is generated in Java_io_ray_runtime_RayNativeRuntime_nativeInitialize // RayConfig is generated in Java_io_ray_runtime_RayNativeRuntime_nativeInitialize
+1 -1
View File
@@ -58,7 +58,7 @@ int main(int argc, char *argv[]) {
RayConfig::instance().initialize(config_map); RayConfig::instance().initialize(config_map);
const ray::stats::TagsType global_tags = {{ray::stats::ComponentKey, "gcs_server"}, const ray::stats::TagsType global_tags = {{ray::stats::ComponentKey, "gcs_server"},
{ray::stats::VersionKey, "1.0.0"}}; {ray::stats::VersionKey, "0.9.0.dev0"}};
ray::stats::Init(global_tags, metrics_agent_port); ray::stats::Init(global_tags, metrics_agent_port);
// IO Service for main loop. // IO Service for main loop.
+1 -1
View File
@@ -243,7 +243,7 @@ int main(int argc, char *argv[]) {
// Initialize stats. // Initialize stats.
const ray::stats::TagsType global_tags = { const ray::stats::TagsType global_tags = {
{ray::stats::ComponentKey, "raylet"}, {ray::stats::ComponentKey, "raylet"},
{ray::stats::VersionKey, "1.0.0"}, {ray::stats::VersionKey, "0.9.0.dev0"},
{ray::stats::NodeAddressKey, node_ip_address}}; {ray::stats::NodeAddressKey, node_ip_address}};
ray::stats::Init(global_tags, metrics_agent_port); ray::stats::Init(global_tags, metrics_agent_port);