Skip to content

Instantly share code, notes, and snippets.

@xwjiang2010
Created October 31, 2021 23:16
Show Gist options
  • Save xwjiang2010/1055469f2c2eaf25aee4263699eb05c7 to your computer and use it in GitHub Desktop.
Save xwjiang2010/1055469f2c2eaf25aee4263699eb05c7 to your computer and use it in GitHub Desktop.
(releases_1.8.0) xwjiang@xw  ~/ray_1.8.0/ray/release/util   releases/1.8.0.post1  ./pip_download_test.sh
conda exists
Start downloading Ray version 1.8.0.post1 of commit e94e67b9badd542b7b99efe412e7019983260ad0
Requirement already satisfied: pip in /Users/xwjiang/anaconda3/envs/releases_1.8.0/lib/python3.9/site-packages (21.3.1)
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /Users/xwjiang/anaconda3/envs/1.8.0.post1-3.6-env
added / updated specs:
- python=3.6
The following NEW packages will be INSTALLED:
ca-certificates pkgs/main/osx-64::ca-certificates-2021.10.26-hecd8cb5_2
certifi pkgs/main/osx-64::certifi-2020.12.5-py36hecd8cb5_0
libcxx pkgs/main/osx-64::libcxx-12.0.0-h2f01273_0
libffi pkgs/main/osx-64::libffi-3.3-hb1e8313_2
ncurses pkgs/main/osx-64::ncurses-6.2-h0a44026_1
openssl pkgs/main/osx-64::openssl-1.1.1l-h9ed2024_0
pip pkgs/main/osx-64::pip-21.0.1-py36hecd8cb5_0
python pkgs/main/osx-64::python-3.6.13-h88f2d9e_0
readline pkgs/main/osx-64::readline-8.1-h9ed2024_0
setuptools pkgs/main/osx-64::setuptools-58.0.4-py36hecd8cb5_0
sqlite pkgs/main/osx-64::sqlite-3.36.0-hce871da_0
tk pkgs/main/osx-64::tk-8.6.11-h7bc2e8c_0
wheel pkgs/main/noarch::wheel-0.37.0-pyhd3eb1b0_1
xz pkgs/main/osx-64::xz-5.2.5-h1de35cc_0
zlib pkgs/main/osx-64::zlib-1.2.11-h1de35cc_3
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate 1.8.0.post1-3.6-env
#
# To deactivate an active environment, use
#
# $ conda deactivate
=========================================================
Python version.
Python 3.6.13 :: Anaconda, Inc.
This should be equal to 3.6
=========================================================
Looking in indexes: https://test.pypi.org/simple/, https://pypi.org/simple
Collecting ray[cpp]==1.8.0.post1
Downloading https://test-files.pythonhosted.org/packages/34/4b/cb52449f573ddccdb5830aa020a7be68fe2732c48087f873a61a5bbfbd17/ray-1.8.0.post1-cp36-cp36m-macosx_10_15_intel.whl (56.0 MB)
|████████████████████████████████| 56.0 MB 2.1 MB/s
Collecting attrs
Using cached attrs-21.2.0-py2.py3-none-any.whl (53 kB)
Collecting msgpack<2.0.0,>=1.0.0
Using cached msgpack-1.0.2-cp36-cp36m-macosx_10_14_x86_64.whl (73 kB)
Collecting pyyaml
Using cached PyYAML-6.0-cp36-cp36m-macosx_10_9_x86_64.whl (189 kB)
Collecting click>=7.0
Using cached click-8.0.3-py3-none-any.whl (97 kB)
Collecting jsonschema
Using cached jsonschema-3.2.0-py2.py3-none-any.whl (56 kB)
Collecting dataclasses
Using cached dataclasses-0.8-py3-none-any.whl (19 kB)
Collecting redis>=3.5.0
Using cached redis-3.5.3-py2.py3-none-any.whl (72 kB)
Collecting numpy>=1.16
Using cached numpy-1.19.5-cp36-cp36m-macosx_10_9_x86_64.whl (15.6 MB)
Collecting grpcio>=1.28.1
Using cached grpcio-1.41.1-cp36-cp36m-macosx_10_10_x86_64.whl (3.9 MB)
Collecting protobuf>=3.15.3
Using cached protobuf-3.19.1-cp36-cp36m-macosx_10_9_x86_64.whl (1.0 MB)
Collecting filelock
Using cached filelock-3.3.2-py3-none-any.whl (9.7 kB)
Collecting ray-cpp==1.8.0.post1
Downloading https://test-files.pythonhosted.org/packages/12/ba/fcde1dc85ea72b3bcc7c2116fc9f3c11c21df680f24b447e4a7a12531b68/ray_cpp-1.8.0.post1-cp36-cp36m-macosx_10_15_intel.whl (26.9 MB)
|████████████████████████████████| 26.9 MB 2.5 MB/s
Collecting importlib-metadata
Using cached importlib_metadata-4.8.1-py3-none-any.whl (17 kB)
Collecting six>=1.5.2
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting zipp>=0.5
Using cached zipp-3.6.0-py3-none-any.whl (5.3 kB)
Collecting typing-extensions>=3.6.4
Using cached typing_extensions-3.10.0.2-py3-none-any.whl (26 kB)
Collecting pyrsistent>=0.14.0
Using cached pyrsistent-0.18.0-cp36-cp36m-macosx_10_9_x86_64.whl (68 kB)
Requirement already satisfied: setuptools in /Users/xwjiang/anaconda3/envs/1.8.0.post1-3.6-env/lib/python3.6/site-packages (from jsonschema->ray[cpp]==1.8.0.post1) (58.0.4)
Installing collected packages: zipp, typing-extensions, six, pyrsistent, importlib-metadata, attrs, redis, pyyaml, protobuf, numpy, msgpack, jsonschema, grpcio, filelock, dataclasses, click, ray-cpp, ray
Successfully installed attrs-21.2.0 click-8.0.3 dataclasses-0.8 filelock-3.3.2 grpcio-1.41.1 importlib-metadata-4.8.1 jsonschema-3.2.0 msgpack-1.0.2 numpy-1.19.5 protobuf-3.19.1 pyrsistent-0.18.0 pyyaml-6.0 ray-1.8.0.post1 ray-cpp-1.8.0.post1 redis-3.5.3 six-1.16.0 typing-extensions-3.10.0.2 zipp-3.6.0
=========================================================
Sanity check python version: 3.6.13 |Anaconda, Inc.| (default, Feb 23 2021, 12:58:59)
[GCC Clang 10.0.0 ]
Running basic sanity check.
PYTHON 3.6 succeed sanity check.
Project template generated to /Users/xwjiang/ray_1.8.0/ray/release/util/ray-template
To build and run this template, run
cd /Users/xwjiang/ray_1.8.0/ray/release/util/ray-template && bash run.sh
~/ray_1.8.0/ray/release/util/ray-template ~/ray_1.8.0/ray/release/util
Starting local Bazel server and connecting to it...
INFO: Analyzed target //:example (15 packages loaded, 3290 targets configured).
INFO: Found 1 target...
Target //:example up-to-date:
bazel-bin/example
INFO: Elapsed time: 24.267s, Critical Path: 4.66s
INFO: 3240 processes: 3236 internal, 4 darwin-sandbox.
INFO: Build completed successfully, 3240 total actions
[2021-10-31 16:09:08,611 I 47533 66214957] config_internal.cc:131: No code search path found yet. The program location path "/Users/xwjiang/ray_1.8.0/ray/release/util/ray-template/bazel-bin" will be added for searching dynamic libraries by default. And you can add some search paths by '--ray_code_search_path'
[2021-10-31 16:09:08,611 I 47533 66214957] process_helper.cc:37: ray start --head --port 6379 --redis-password 5241590000000000 --node-ip-address '10.0.0.96'
Local node IP: 10.0.0.96
--------------------
Ray runtime started.
--------------------
Next steps
To connect to this Ray runtime from another node, run
ray start --address='10.0.0.96:6379' --redis-password='5241590000000000'
Alternatively, use the following Python code:
import ray
ray.init(address='auto', _redis_password='5241590000000000')
To connect to this Ray runtime from outside of the cluster, for example to
connect to a remote cluster from your laptop directly, use the following
Python code:
import ray
ray.init(address='ray://<head_node_ip_address>:10001')
If connection fails, check your firewall settings and network configuration.
To terminate the Ray runtime, run
ray stop
put_get_result = 100
task_result = 3
actor_task_result = 3
actor_task_result2 = 6
Stopped only 10 out of 11 Ray processes. Set `-v` to see more details.
Try running the command again, or use `--force`.
PYTHON 3.6 succeed sanity check C++.
=========================================================
Remove all packages in environment /Users/xwjiang/anaconda3/envs/1.8.0.post1-3.6-env:
## Package Plan ##
environment location: /Users/xwjiang/anaconda3/envs/1.8.0.post1-3.6-env
The following packages will be REMOVED:
ca-certificates-2021.10.26-hecd8cb5_2
certifi-2020.12.5-py36hecd8cb5_0
libcxx-12.0.0-h2f01273_0
libffi-3.3-hb1e8313_2
ncurses-6.2-h0a44026_1
openssl-1.1.1l-h9ed2024_0
pip-21.0.1-py36hecd8cb5_0
python-3.6.13-h88f2d9e_0
readline-8.1-h9ed2024_0
setuptools-58.0.4-py36hecd8cb5_0
sqlite-3.36.0-hce871da_0
tk-8.6.11-h7bc2e8c_0
wheel-0.37.0-pyhd3eb1b0_1
xz-5.2.5-h1de35cc_0
zlib-1.2.11-h1de35cc_3
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /Users/xwjiang/anaconda3/envs/1.8.0.post1-3.7-env
added / updated specs:
- python=3.7
The following packages will be downloaded:
package | build
---------------------------|-----------------
certifi-2021.10.8 | py37hecd8cb5_0 151 KB
pip-21.0.1 | py37hecd8cb5_0 1.8 MB
python-3.7.11 | h88f2d9e_0 18.1 MB
setuptools-58.0.4 | py37hecd8cb5_0 787 KB
------------------------------------------------------------
Total: 20.8 MB
The following NEW packages will be INSTALLED:
ca-certificates pkgs/main/osx-64::ca-certificates-2021.10.26-hecd8cb5_2
certifi pkgs/main/osx-64::certifi-2021.10.8-py37hecd8cb5_0
libcxx pkgs/main/osx-64::libcxx-12.0.0-h2f01273_0
libffi pkgs/main/osx-64::libffi-3.3-hb1e8313_2
ncurses pkgs/main/osx-64::ncurses-6.2-h0a44026_1
openssl pkgs/main/osx-64::openssl-1.1.1l-h9ed2024_0
pip pkgs/main/osx-64::pip-21.0.1-py37hecd8cb5_0
python pkgs/main/osx-64::python-3.7.11-h88f2d9e_0
readline pkgs/main/osx-64::readline-8.1-h9ed2024_0
setuptools pkgs/main/osx-64::setuptools-58.0.4-py37hecd8cb5_0
sqlite pkgs/main/osx-64::sqlite-3.36.0-hce871da_0
tk pkgs/main/osx-64::tk-8.6.11-h7bc2e8c_0
wheel pkgs/main/noarch::wheel-0.37.0-pyhd3eb1b0_1
xz pkgs/main/osx-64::xz-5.2.5-h1de35cc_0
zlib pkgs/main/osx-64::zlib-1.2.11-h1de35cc_3
Downloading and Extracting Packages
python-3.7.11 | 18.1 MB | #################################################################################################################################################################################################################################################################################################################################### | 100%
setuptools-58.0.4 | 787 KB | #################################################################################################################################################################################################################################################################################################################################### | 100%
certifi-2021.10.8 | 151 KB | #################################################################################################################################################################################################################################################################################################################################### | 100%
pip-21.0.1 | 1.8 MB | #################################################################################################################################################################################################################################################################################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate 1.8.0.post1-3.7-env
#
# To deactivate an active environment, use
#
# $ conda deactivate
=========================================================
Python version.
Python 3.7.11
This should be equal to 3.7
=========================================================
Looking in indexes: https://test.pypi.org/simple/, https://pypi.org/simple
Collecting ray[cpp]==1.8.0.post1
Downloading https://test-files.pythonhosted.org/packages/59/e5/b96e48b85d4ff715acd77cb2b5a2d4c613b7e2dba6a2ddd8b2760857671d/ray-1.8.0.post1-cp37-cp37m-macosx_10_15_intel.whl (55.9 MB)
|████████████████████████████████| 55.9 MB 2.3 MB/s
Collecting jsonschema
Downloading jsonschema-4.1.2-py3-none-any.whl (69 kB)
|████████████████████████████████| 69 kB 2.8 MB/s
Collecting msgpack<2.0.0,>=1.0.0
Using cached msgpack-1.0.2-cp37-cp37m-macosx_10_14_x86_64.whl (72 kB)
Collecting filelock
Using cached filelock-3.3.2-py3-none-any.whl (9.7 kB)
Collecting numpy>=1.16
Downloading numpy-1.21.3-cp37-cp37m-macosx_10_9_x86_64.whl (16.9 MB)
|████████████████████████████████| 16.9 MB 3.7 MB/s
Collecting protobuf>=3.15.3
Downloading protobuf-3.19.1-cp37-cp37m-macosx_10_9_x86_64.whl (1.0 MB)
|████████████████████████████████| 1.0 MB 3.9 MB/s
Collecting click>=7.0
Using cached click-8.0.3-py3-none-any.whl (97 kB)
Collecting redis>=3.5.0
Using cached redis-3.5.3-py2.py3-none-any.whl (72 kB)
Collecting attrs
Using cached attrs-21.2.0-py2.py3-none-any.whl (53 kB)
Collecting grpcio>=1.28.1
Downloading grpcio-1.41.1-cp37-cp37m-macosx_10_10_x86_64.whl (3.9 MB)
|████████████████████████████████| 3.9 MB 2.4 MB/s
Collecting pyyaml
Downloading PyYAML-6.0-cp37-cp37m-macosx_10_9_x86_64.whl (189 kB)
|████████████████████████████████| 189 kB 4.0 MB/s
Collecting ray-cpp==1.8.0.post1
Downloading https://test-files.pythonhosted.org/packages/ca/59/c80554a81656c86ff4c385e0bc941d7cb74d4b896bcb4dae153922f10cc1/ray_cpp-1.8.0.post1-cp37-cp37m-macosx_10_15_intel.whl (26.9 MB)
|████████████████████████████████| 26.9 MB 2.7 MB/s
Collecting importlib-metadata
Using cached importlib_metadata-4.8.1-py3-none-any.whl (17 kB)
Collecting six>=1.5.2
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting zipp>=0.5
Using cached zipp-3.6.0-py3-none-any.whl (5.3 kB)
Collecting typing-extensions>=3.6.4
Using cached typing_extensions-3.10.0.2-py3-none-any.whl (26 kB)
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
Using cached pyrsistent-0.18.0-cp37-cp37m-macosx_10_9_x86_64.whl (68 kB)
Installing collected packages: zipp, typing-extensions, six, pyrsistent, importlib-metadata, attrs, redis, pyyaml, protobuf, numpy, msgpack, jsonschema, grpcio, filelock, click, ray-cpp, ray
Successfully installed attrs-21.2.0 click-8.0.3 filelock-3.3.2 grpcio-1.41.1 importlib-metadata-4.8.1 jsonschema-4.1.2 msgpack-1.0.2 numpy-1.21.3 protobuf-3.19.1 pyrsistent-0.18.0 pyyaml-6.0 ray-1.8.0.post1 ray-cpp-1.8.0.post1 redis-3.5.3 six-1.16.0 typing-extensions-3.10.0.2 zipp-3.6.0
=========================================================
Sanity check python version: 3.7.11 (default, Jul 27 2021, 07:03:16)
[Clang 10.0.0 ]
Running basic sanity check.
PYTHON 3.7 succeed sanity check.
Project template generated to /Users/xwjiang/ray_1.8.0/ray/release/util/ray-template
To build and run this template, run
cd /Users/xwjiang/ray_1.8.0/ray/release/util/ray-template && bash run.sh
~/ray_1.8.0/ray/release/util/ray-template ~/ray_1.8.0/ray/release/util
INFO: Analyzed target //:example (4 packages loaded, 3237 targets configured).
INFO: Found 1 target...
Target //:example up-to-date:
bazel-bin/example
INFO: Elapsed time: 5.481s, Critical Path: 4.36s
INFO: 6 processes: 2 internal, 4 darwin-sandbox.
INFO: Build completed successfully, 6 total actions
[2021-10-31 16:10:55,214 I 48192 66222142] config_internal.cc:131: No code search path found yet. The program location path "/Users/xwjiang/ray_1.8.0/ray/release/util/ray-template/bazel-bin" will be added for searching dynamic libraries by default. And you can add some search paths by '--ray_code_search_path'
[2021-10-31 16:10:55,214 I 48192 66222142] process_helper.cc:37: ray start --head --port 6379 --redis-password 5241590000000000 --node-ip-address '10.0.0.96'
Local node IP: 10.0.0.96
--------------------
Ray runtime started.
--------------------
Next steps
To connect to this Ray runtime from another node, run
ray start --address='10.0.0.96:6379' --redis-password='5241590000000000'
Alternatively, use the following Python code:
import ray
ray.init(address='auto', _redis_password='5241590000000000')
To connect to this Ray runtime from outside of the cluster, for example to
connect to a remote cluster from your laptop directly, use the following
Python code:
import ray
ray.init(address='ray://<head_node_ip_address>:10001')
If connection fails, check your firewall settings and network configuration.
To terminate the Ray runtime, run
ray stop
put_get_result = 100
task_result = 3
actor_task_result = 3
actor_task_result2 = 6
Stopped only 10 out of 11 Ray processes. Set `-v` to see more details.
Try running the command again, or use `--force`.
PYTHON 3.7 succeed sanity check C++.
=========================================================
Remove all packages in environment /Users/xwjiang/anaconda3/envs/1.8.0.post1-3.7-env:
## Package Plan ##
environment location: /Users/xwjiang/anaconda3/envs/1.8.0.post1-3.7-env
The following packages will be REMOVED:
ca-certificates-2021.10.26-hecd8cb5_2
certifi-2021.10.8-py37hecd8cb5_0
libcxx-12.0.0-h2f01273_0
libffi-3.3-hb1e8313_2
ncurses-6.2-h0a44026_1
openssl-1.1.1l-h9ed2024_0
pip-21.0.1-py37hecd8cb5_0
python-3.7.11-h88f2d9e_0
readline-8.1-h9ed2024_0
setuptools-58.0.4-py37hecd8cb5_0
sqlite-3.36.0-hce871da_0
tk-8.6.11-h7bc2e8c_0
wheel-0.37.0-pyhd3eb1b0_1
xz-5.2.5-h1de35cc_0
zlib-1.2.11-h1de35cc_3
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /Users/xwjiang/anaconda3/envs/1.8.0.post1-3.8-env
added / updated specs:
- python=3.8
The following packages will be downloaded:
package | build
---------------------------|-----------------
certifi-2021.10.8 | py38hecd8cb5_0 151 KB
pip-21.2.4 | py38hecd8cb5_0 1.8 MB
python-3.8.12 | h88f2d9e_0 10.3 MB
setuptools-58.0.4 | py38hecd8cb5_0 791 KB
------------------------------------------------------------
Total: 13.1 MB
The following NEW packages will be INSTALLED:
ca-certificates pkgs/main/osx-64::ca-certificates-2021.10.26-hecd8cb5_2
certifi pkgs/main/osx-64::certifi-2021.10.8-py38hecd8cb5_0
libcxx pkgs/main/osx-64::libcxx-12.0.0-h2f01273_0
libffi pkgs/main/osx-64::libffi-3.3-hb1e8313_2
ncurses pkgs/main/osx-64::ncurses-6.2-h0a44026_1
openssl pkgs/main/osx-64::openssl-1.1.1l-h9ed2024_0
pip pkgs/main/osx-64::pip-21.2.4-py38hecd8cb5_0
python pkgs/main/osx-64::python-3.8.12-h88f2d9e_0
readline pkgs/main/osx-64::readline-8.1-h9ed2024_0
setuptools pkgs/main/osx-64::setuptools-58.0.4-py38hecd8cb5_0
sqlite pkgs/main/osx-64::sqlite-3.36.0-hce871da_0
tk pkgs/main/osx-64::tk-8.6.11-h7bc2e8c_0
wheel pkgs/main/noarch::wheel-0.37.0-pyhd3eb1b0_1
xz pkgs/main/osx-64::xz-5.2.5-h1de35cc_0
zlib pkgs/main/osx-64::zlib-1.2.11-h1de35cc_3
Downloading and Extracting Packages
certifi-2021.10.8 | 151 KB | #################################################################################################################################################################################################################################################################################################################################### | 100%
setuptools-58.0.4 | 791 KB | #################################################################################################################################################################################################################################################################################################################################### | 100%
pip-21.2.4 | 1.8 MB | #################################################################################################################################################################################################################################################################################################################################### | 100%
python-3.8.12 | 10.3 MB | #################################################################################################################################################################################################################################################################################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate 1.8.0.post1-3.8-env
#
# To deactivate an active environment, use
#
# $ conda deactivate
=========================================================
Python version.
Python 3.8.12
This should be equal to 3.8
=========================================================
Looking in indexes: https://test.pypi.org/simple/, https://pypi.org/simple
Collecting ray[cpp]==1.8.0.post1
Downloading https://test-files.pythonhosted.org/packages/df/8a/ad95552af5d7f8e978a44afa4d2fe075b83f41352854f925a5cda7023cbc/ray-1.8.0.post1-cp38-cp38-macosx_10_15_x86_64.whl (55.8 MB)
|████████████████████████████████| 55.8 MB 3.8 MB/s
Collecting filelock
Using cached filelock-3.3.2-py3-none-any.whl (9.7 kB)
Collecting numpy>=1.16
Downloading numpy-1.21.3-cp38-cp38-macosx_10_9_x86_64.whl (16.9 MB)
|████████████████████████████████| 16.9 MB 4.3 MB/s
Collecting pyyaml
Downloading PyYAML-6.0-cp38-cp38-macosx_10_9_x86_64.whl (192 kB)
|████████████████████████████████| 192 kB 3.7 MB/s
Collecting attrs
Using cached attrs-21.2.0-py2.py3-none-any.whl (53 kB)
Collecting jsonschema
Using cached jsonschema-4.1.2-py3-none-any.whl (69 kB)
Collecting click>=7.0
Using cached click-8.0.3-py3-none-any.whl (97 kB)
Collecting redis>=3.5.0
Using cached redis-3.5.3-py2.py3-none-any.whl (72 kB)
Collecting msgpack<2.0.0,>=1.0.0
Using cached msgpack-1.0.2-cp38-cp38-macosx_10_14_x86_64.whl (72 kB)
Collecting protobuf>=3.15.3
Downloading protobuf-3.19.1-cp38-cp38-macosx_10_9_x86_64.whl (1.0 MB)
|████████████████████████████████| 1.0 MB 3.0 MB/s
Collecting grpcio>=1.28.1
Downloading grpcio-1.41.1-cp38-cp38-macosx_10_10_x86_64.whl (3.9 MB)
|████████████████████████████████| 3.9 MB 5.2 MB/s
Collecting ray-cpp==1.8.0.post1
Downloading https://test-files.pythonhosted.org/packages/e7/32/c008b8e3bb2c02fae4a2b966e922f33b0a517d5ba2142e05a764e982bc9c/ray_cpp-1.8.0.post1-cp38-cp38-macosx_10_15_x86_64.whl (26.9 MB)
|████████████████████████████████| 26.9 MB 2.4 MB/s
Collecting six>=1.5.2
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
Using cached pyrsistent-0.18.0-cp38-cp38-macosx_10_9_x86_64.whl (68 kB)
Installing collected packages: six, pyrsistent, attrs, redis, pyyaml, protobuf, numpy, msgpack, jsonschema, grpcio, filelock, click, ray-cpp, ray
Successfully installed attrs-21.2.0 click-8.0.3 filelock-3.3.2 grpcio-1.41.1 jsonschema-4.1.2 msgpack-1.0.2 numpy-1.21.3 protobuf-3.19.1 pyrsistent-0.18.0 pyyaml-6.0 ray-1.8.0.post1 ray-cpp-1.8.0.post1 redis-3.5.3 six-1.16.0
=========================================================
Sanity check python version: 3.8.12 (default, Oct 12 2021, 06:23:56)
[Clang 10.0.0 ]
Running basic sanity check.
PYTHON 3.8 succeed sanity check.
Project template generated to /Users/xwjiang/ray_1.8.0/ray/release/util/ray-template
To build and run this template, run
cd /Users/xwjiang/ray_1.8.0/ray/release/util/ray-template && bash run.sh
~/ray_1.8.0/ray/release/util/ray-template ~/ray_1.8.0/ray/release/util
INFO: Analyzed target //:example (4 packages loaded, 3237 targets configured).
INFO: Found 1 target...
Target //:example up-to-date:
bazel-bin/example
INFO: Elapsed time: 5.323s, Critical Path: 4.34s
INFO: 6 processes: 2 internal, 4 darwin-sandbox.
INFO: Build completed successfully, 6 total actions
[2021-10-31 16:12:32,394 I 48986 66231124] config_internal.cc:131: No code search path found yet. The program location path "/Users/xwjiang/ray_1.8.0/ray/release/util/ray-template/bazel-bin" will be added for searching dynamic libraries by default. And you can add some search paths by '--ray_code_search_path'
[2021-10-31 16:12:32,395 I 48986 66231124] process_helper.cc:37: ray start --head --port 6379 --redis-password 5241590000000000 --node-ip-address '10.0.0.96'
Local node IP: 10.0.0.96
--------------------
Ray runtime started.
--------------------
Next steps
To connect to this Ray runtime from another node, run
ray start --address='10.0.0.96:6379' --redis-password='5241590000000000'
Alternatively, use the following Python code:
import ray
ray.init(address='auto', _redis_password='5241590000000000')
To connect to this Ray runtime from outside of the cluster, for example to
connect to a remote cluster from your laptop directly, use the following
Python code:
import ray
ray.init(address='ray://<head_node_ip_address>:10001')
If connection fails, check your firewall settings and network configuration.
To terminate the Ray runtime, run
ray stop
put_get_result = 100
task_result = 3
actor_task_result = 3
actor_task_result2 = 6
Stopped only 10 out of 11 Ray processes. Set `-v` to see more details.
Try running the command again, or use `--force`.
PYTHON 3.8 succeed sanity check C++.
=========================================================
Remove all packages in environment /Users/xwjiang/anaconda3/envs/1.8.0.post1-3.8-env:
## Package Plan ##
environment location: /Users/xwjiang/anaconda3/envs/1.8.0.post1-3.8-env
The following packages will be REMOVED:
ca-certificates-2021.10.26-hecd8cb5_2
certifi-2021.10.8-py38hecd8cb5_0
libcxx-12.0.0-h2f01273_0
libffi-3.3-hb1e8313_2
ncurses-6.2-h0a44026_1
openssl-1.1.1l-h9ed2024_0
pip-21.2.4-py38hecd8cb5_0
python-3.8.12-h88f2d9e_0
readline-8.1-h9ed2024_0
setuptools-58.0.4-py38hecd8cb5_0
sqlite-3.36.0-hce871da_0
tk-8.6.11-h7bc2e8c_0
wheel-0.37.0-pyhd3eb1b0_1
xz-5.2.5-h1de35cc_0
zlib-1.2.11-h1de35cc_3
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Collecting package metadata (current_repodata.json): done
Solving environment: done
## Package Plan ##
environment location: /Users/xwjiang/anaconda3/envs/1.8.0.post1-3.9-env
added / updated specs:
- python=3.9
The following packages will be downloaded:
package | build
---------------------------|-----------------
certifi-2021.10.8 | py39hecd8cb5_0 151 KB
pip-21.2.4 | py39hecd8cb5_0 1.8 MB
python-3.9.7 | h88f2d9e_1 9.8 MB
setuptools-58.0.4 | py39hecd8cb5_0 792 KB
tzdata-2021e | hda174b7_0 112 KB
------------------------------------------------------------
Total: 12.6 MB
The following NEW packages will be INSTALLED:
ca-certificates pkgs/main/osx-64::ca-certificates-2021.10.26-hecd8cb5_2
certifi pkgs/main/osx-64::certifi-2021.10.8-py39hecd8cb5_0
libcxx pkgs/main/osx-64::libcxx-12.0.0-h2f01273_0
libffi pkgs/main/osx-64::libffi-3.3-hb1e8313_2
ncurses pkgs/main/osx-64::ncurses-6.2-h0a44026_1
openssl pkgs/main/osx-64::openssl-1.1.1l-h9ed2024_0
pip pkgs/main/osx-64::pip-21.2.4-py39hecd8cb5_0
python pkgs/main/osx-64::python-3.9.7-h88f2d9e_1
readline pkgs/main/osx-64::readline-8.1-h9ed2024_0
setuptools pkgs/main/osx-64::setuptools-58.0.4-py39hecd8cb5_0
sqlite pkgs/main/osx-64::sqlite-3.36.0-hce871da_0
tk pkgs/main/osx-64::tk-8.6.11-h7bc2e8c_0
tzdata pkgs/main/noarch::tzdata-2021e-hda174b7_0
wheel pkgs/main/noarch::wheel-0.37.0-pyhd3eb1b0_1
xz pkgs/main/osx-64::xz-5.2.5-h1de35cc_0
zlib pkgs/main/osx-64::zlib-1.2.11-h1de35cc_3
Downloading and Extracting Packages
certifi-2021.10.8 | 151 KB | #################################################################################################################################################################################################################################################################################################################################### | 100%
tzdata-2021e | 112 KB | #################################################################################################################################################################################################################################################################################################################################### | 100%
setuptools-58.0.4 | 792 KB | #################################################################################################################################################################################################################################################################################################################################### | 100%
python-3.9.7 | 9.8 MB | #################################################################################################################################################################################################################################################################################################################################### | 100%
pip-21.2.4 | 1.8 MB | #################################################################################################################################################################################################################################################################################################################################### | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
#
# To activate this environment, use
#
# $ conda activate 1.8.0.post1-3.9-env
#
# To deactivate an active environment, use
#
# $ conda deactivate
=========================================================
Python version.
Python 3.9.7
This should be equal to 3.9
=========================================================
Looking in indexes: https://test.pypi.org/simple/, https://pypi.org/simple
Collecting ray[cpp]==1.8.0.post1
Downloading https://test-files.pythonhosted.org/packages/b9/09/14e1d68e5489d312bd54ed66443c2871ab51c5f85d1f920eb07f91f8342b/ray-1.8.0.post1-cp39-cp39-macosx_10_15_x86_64.whl (55.8 MB)
|████████████████████████████████| 55.8 MB 3.3 MB/s
Collecting redis>=3.5.0
Using cached redis-3.5.3-py2.py3-none-any.whl (72 kB)
Collecting protobuf>=3.15.3
Downloading protobuf-3.19.1-cp39-cp39-macosx_10_9_x86_64.whl (1.0 MB)
|████████████████████████████████| 1.0 MB 2.9 MB/s
Collecting grpcio>=1.28.1
Downloading grpcio-1.41.1-cp39-cp39-macosx_10_10_x86_64.whl (3.9 MB)
|████████████████████████████████| 3.9 MB 2.7 MB/s
Collecting attrs
Using cached attrs-21.2.0-py2.py3-none-any.whl (53 kB)
Collecting jsonschema
Using cached jsonschema-4.1.2-py3-none-any.whl (69 kB)
Collecting pyyaml
Downloading PyYAML-6.0-cp39-cp39-macosx_10_9_x86_64.whl (197 kB)
|████████████████████████████████| 197 kB 3.4 MB/s
Collecting filelock
Using cached filelock-3.3.2-py3-none-any.whl (9.7 kB)
Collecting numpy>=1.19.3
Downloading numpy-1.21.3-cp39-cp39-macosx_10_9_x86_64.whl (17.0 MB)
|████████████████████████████████| 17.0 MB 2.2 MB/s
Collecting msgpack<2.0.0,>=1.0.0
Using cached msgpack-1.0.2-cp39-cp39-macosx_10_14_x86_64.whl (74 kB)
Collecting click>=7.0
Using cached click-8.0.3-py3-none-any.whl (97 kB)
Collecting ray-cpp==1.8.0.post1
Downloading https://test-files.pythonhosted.org/packages/a1/3c/575d49e69abe422658b07aefe2759d41da341a1a8aa907d746a9ead079a4/ray_cpp-1.8.0.post1-cp39-cp39-macosx_10_15_x86_64.whl (26.9 MB)
|████████████████████████████████| 26.9 MB 5.4 MB/s
Collecting six>=1.5.2
Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0
Using cached pyrsistent-0.18.0-cp39-cp39-macosx_10_9_x86_64.whl (68 kB)
Installing collected packages: six, pyrsistent, attrs, redis, pyyaml, protobuf, numpy, msgpack, jsonschema, grpcio, filelock, click, ray-cpp, ray
Successfully installed attrs-21.2.0 click-8.0.3 filelock-3.3.2 grpcio-1.41.1 jsonschema-4.1.2 msgpack-1.0.2 numpy-1.21.3 protobuf-3.19.1 pyrsistent-0.18.0 pyyaml-6.0 ray-1.8.0.post1 ray-cpp-1.8.0.post1 redis-3.5.3 six-1.16.0
=========================================================
Sanity check python version: 3.9.7 (default, Sep 16 2021, 08:50:36)
[Clang 10.0.0 ]
Running basic sanity check.
PYTHON 3.9 succeed sanity check.
Project template generated to /Users/xwjiang/ray_1.8.0/ray/release/util/ray-template
To build and run this template, run
cd /Users/xwjiang/ray_1.8.0/ray/release/util/ray-template && bash run.sh
~/ray_1.8.0/ray/release/util/ray-template ~/ray_1.8.0/ray/release/util
INFO: Analyzed target //:example (4 packages loaded, 3237 targets configured).
INFO: Found 1 target...
Target //:example up-to-date:
bazel-bin/example
INFO: Elapsed time: 5.023s, Critical Path: 4.08s
INFO: 6 processes: 2 internal, 4 darwin-sandbox.
INFO: Build completed successfully, 6 total actions
[2021-10-31 16:14:17,704 I 49659 66238948] config_internal.cc:131: No code search path found yet. The program location path "/Users/xwjiang/ray_1.8.0/ray/release/util/ray-template/bazel-bin" will be added for searching dynamic libraries by default. And you can add some search paths by '--ray_code_search_path'
[2021-10-31 16:14:17,705 I 49659 66238948] process_helper.cc:37: ray start --head --port 6379 --redis-password 5241590000000000 --node-ip-address '10.0.0.96'
Local node IP: 10.0.0.96
--------------------
Ray runtime started.
--------------------
Next steps
To connect to this Ray runtime from another node, run
ray start --address='10.0.0.96:6379' --redis-password='5241590000000000'
Alternatively, use the following Python code:
import ray
ray.init(address='auto', _redis_password='5241590000000000')
To connect to this Ray runtime from outside of the cluster, for example to
connect to a remote cluster from your laptop directly, use the following
Python code:
import ray
ray.init(address='ray://<head_node_ip_address>:10001')
If connection fails, check your firewall settings and network configuration.
To terminate the Ray runtime, run
ray stop
put_get_result = 100
task_result = 3
actor_task_result = 3
actor_task_result2 = 6
Stopped only 10 out of 11 Ray processes. Set `-v` to see more details.
Try running the command again, or use `--force`.
PYTHON 3.9 succeed sanity check C++.
=========================================================
Remove all packages in environment /Users/xwjiang/anaconda3/envs/1.8.0.post1-3.9-env:
## Package Plan ##
environment location: /Users/xwjiang/anaconda3/envs/1.8.0.post1-3.9-env
The following packages will be REMOVED:
ca-certificates-2021.10.26-hecd8cb5_2
certifi-2021.10.8-py39hecd8cb5_0
libcxx-12.0.0-h2f01273_0
libffi-3.3-hb1e8313_2
ncurses-6.2-h0a44026_1
openssl-1.1.1l-h9ed2024_0
pip-21.2.4-py39hecd8cb5_0
python-3.9.7-h88f2d9e_1
readline-8.1-h9ed2024_0
setuptools-58.0.4-py39hecd8cb5_0
sqlite-3.36.0-hce871da_0
tk-8.6.11-h7bc2e8c_0
tzdata-2021e-hda174b7_0
wheel-0.37.0-pyhd3eb1b0_1
xz-5.2.5-h1de35cc_0
zlib-1.2.11-h1de35cc_3
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment