Skip to content

Sync ray_merge with master #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 94 commits into
base: ray_merge
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
94 commits
Select commit Hold shift + click to select a range
7abfbfd
[rllib] Better error message for unsupported non-atari image observat…
ericl Dec 3, 2018
d820597
[rllib] Auto clip actions to Box space range; deprecate squash_to_ran…
ericl Dec 4, 2018
be6567e
Tweak/exec attach info (#3447)
hartikainen Dec 4, 2018
ce355d1
[rllib] Allow envs to be auto-registered; add on_train_result callbac…
ericl Dec 4, 2018
9d0bd50
[tune] Component notification on node failure + Tests (#3414)
richardliaw Dec 4, 2018
9575500
added cloudpickle
eugenevinitsky Dec 4, 2018
93a9d32
[docs] Switch docs to use rllib train instead of train.py
ericl Dec 5, 2018
06f6431
Make test_actor_multiple_gpus_from_multiple_tasks less stressful in t…
pcmoritz Dec 5, 2018
2e6f9be
Add the extra fallback for serialization (#3468)
suquark Dec 5, 2018
7a79b7f
increase container memory and shm to 20G (#3475)
shaneknapp Dec 5, 2018
d864f29
[rllib] fixes from dogfooding multi-agent (#3456)
ericl Dec 6, 2018
412aaa5
[tune] Deprecate ambiguous function values (use tune.function / tune.…
ericl Dec 6, 2018
b9e1977
Fix failure of test_free_objects_multi_node (#3481)
guoyuhong Dec 6, 2018
7a7c6e5
[tune/rllib] Use cloudpickle to dump config (#3462)
eugenevinitsky Dec 6, 2018
970babf
Removing the check about the size re: ray-project/ray#3450 (#3464)
devin-petersohn Dec 7, 2018
c2c501b
Experimental asyncio support (#2015)
suquark Dec 7, 2018
8395523
[rllib] Copy data before passing to Ape-X learner thread (fixes trans…
ericl Dec 7, 2018
f6490f9
Resolve no handlers could be found for logger 'ray.worker' when impor…
xutianming Dec 7, 2018
462e6ef
[rllib] Use smoothed version of collect metrics for DQN (#3491)
ericl Dec 8, 2018
8b5827b
[rllib] Better document which methods are abstract and which ones are…
ericl Dec 9, 2018
7aec357
[rllib] Multi-GPU support for Multi-Agent PPO (#3479)
ericl Dec 9, 2018
0136af5
Add return value for recontruction RPC. (#3493)
guoyuhong Dec 9, 2018
cffe8f9
Add option to evict keys LRU from the sharded redis tables (#3499)
ericl Dec 9, 2018
87c0d24
[sgd] Add file lock to protect compilation of sgd op (#3486)
pcmoritz Dec 9, 2018
ce388a4
[rllib] Learner should not see clipped actions (#3496)
ericl Dec 10, 2018
abd781d
Make stress test time shorter. (#3506)
guoyuhong Dec 10, 2018
962f187
[autoscaler] Use fixed timestamp to check against health timeouts (#3…
ericl Dec 10, 2018
1f4a01c
[tune] Fix PyTorch example after PyTorch v1 (#3500)
richardliaw Dec 10, 2018
52df4df
[rllib] Fix multiagent_two_trainer test (#3509)
ericl Dec 11, 2018
74c3370
Show slowest tests in travis. (#3507)
robertnishihara Dec 11, 2018
e0fbb68
[tune] Custom Logging, Trial Name (#3465)
richardliaw Dec 11, 2018
59f4743
[rllib] Run simple regressions tests for all algs in jenkins (#3498)
ericl Dec 12, 2018
5f4a9cc
[rllib] Rollout should preprocess observations; some cleanups (#3512)
ericl Dec 12, 2018
cc8f7db
[docs] Improve cluster/docker docs (#3517)
richardliaw Dec 12, 2018
32473cf
[rllib] Basic Offline Data IO API (#3473)
ericl Dec 12, 2018
20c7fad
Move actor table to primary redis context
ericl Dec 13, 2018
0e00533
Different approach to removing RayGetError (#3471)
ericl Dec 13, 2018
5dcc333
[sgd] Modify: add interface for model (#3458)
chunyang-wen Dec 13, 2018
84fae57
Convert the raylet client (the code in local_scheduler_client.cc) to …
suquark Dec 13, 2018
2455de7
save initial config instead of initial resource config (#3532)
atumanov Dec 14, 2018
e7b51cb
[xray] Implement Actor Reconstruction (#3332)
raulchen Dec 14, 2018
a4abe6c
Add test to test raylet client connection when raylet crashes. (#3518)
guoyuhong Dec 14, 2018
2a4685a
Add a script to collect built thirdparty libs to avoid download and b…
guoyuhong Dec 14, 2018
de3fdeb
[autoscaler] Fix Error Handling for botocore (#3534)
richardliaw Dec 14, 2018
7fd24e3
[java] Pass large args by reference (#3504)
bibabolynn Dec 14, 2018
fcc3702
Throw exception for `ray.get` of an evicted actor object (#3490)
stephanie-wang Dec 14, 2018
b3bf608
Update arrow to reduce plasma IPCs. (#3497)
pcmoritz Dec 15, 2018
417c7f2
Update arrow and remove plasma_manager references. (#3545)
robertnishihara Dec 16, 2018
7767aba
Note requirement cython==0.29.0 in installation instructions (#3555)
xutianming Dec 17, 2018
3833ba4
Bump modin version to 0.2.5 (#3553)
devin-petersohn Dec 17, 2018
854b068
remove auto-concat of rollouts in AsyncSampler (#3556)
opherlieber Dec 17, 2018
bc4aa85
fix link in doc (#3567)
Officium Dec 18, 2018
db0dee5
[rllib] Q-Mix implementation (Q-Mix, VDN, IQN, and Ape-X variants) (#…
ericl Dec 18, 2018
75ddf7c
Fix 2 small bugs (#3573)
guoyuhong Dec 18, 2018
26ca408
Convert UniqueID::nil() to a constructor (#3564)
stephanie-wang Dec 18, 2018
3822b20
[doc] update testing and dev instructions (#3562)
atumanov Dec 18, 2018
fb33fa9
Enable function_descriptor in backend to replace the function_id (#3028)
guoyuhong Dec 18, 2018
c4cba98
Remove deprecation warnings when running actor tests (#3563)
atumanov Dec 19, 2018
ffa6ee3
[rllib] streaming minibatching for IMPALA (#3402)
ericl Dec 19, 2018
132a233
Fix pending callback not called when ServerConnection destructs (#3572)
raulchen Dec 20, 2018
a5309be
Make README render properly on PyPI. (#3578)
robertnishihara Dec 20, 2018
cf0c474
[rllib] support running older version tensorflow(version < 1.5.0) (#3…
adoda Dec 20, 2018
303883a
[rllib] [rfc] add contrib module and guideline for merging (#3565)
ericl Dec 20, 2018
ac48a58
[tune] Reduce scope of variant generator (#3583)
richardliaw Dec 20, 2018
6bb1103
[rllib] Avoid sample wastage with bad PPO configurations (#3552)
ericl Dec 20, 2018
34bab62
Cleanup actor handle pickling code (#3560)
stephanie-wang Dec 21, 2018
a174a46
Allowing multiple users to access the /tmp/ray file at the same time …
devin-petersohn Dec 21, 2018
e046a5c
[tune] resources_per_trial from trial_resources (#3580)
richardliaw Dec 21, 2018
e65b8f1
[java] change RayLog.core to org.slf4j.Logger (#3579)
bibabolynn Dec 21, 2018
6b179cb
change the order of allocation for io_service and gcs client in rayle…
atumanov Dec 21, 2018
ddc9786
[rllib] Add requested clarifications to test requirement of contrib d…
ericl Dec 21, 2018
8393df2
Use BaseTest to instead of TestListener. (#3577)
jovany-wang Dec 22, 2018
deb26b9
[rllib] Export tensorflow model of policy graph (#3585)
xutianming Dec 22, 2018
e578a38
Fix TensorFlow and PyTorch compatibility (#3574)
pcmoritz Dec 22, 2018
bada42c
object store notification mgr: fix using uninitialized variables (#3592)
atumanov Dec 23, 2018
ddd4c84
Initialize some variables in constructor instead of header file. (#3617)
robertnishihara Dec 23, 2018
bb7ca3b
Upgrade flatbuffers version to 1.10.0. (#3559)
robertnishihara Dec 23, 2018
9b8d757
bump version from 0.6.0 to 0.6.1 (#3610)
atumanov Dec 24, 2018
a1995ff
Resize logo in README. (#3619)
suquark Dec 24, 2018
c13b268
[modin] Append to path to avoid namespace collision on development br…
devin-petersohn Dec 24, 2018
9f63119
[rllib] Allow development without needing to compile Ray (#3623)
ericl Dec 24, 2018
3d8f564
Ensure numpy is at least 1.10.4 in setup.py (#2462)
nam-cern Dec 24, 2018
1e8cdb5
Update release documentation. (#3587)
robertnishihara Dec 24, 2018
5426234
Update documentation to reflect 0.6.1 release. (#3622)
robertnishihara Dec 24, 2018
f401175
Fix: ServerConnection should be closed before being removed (#3626)
raulchen Dec 25, 2018
a971b73
[Java] Fix the issue when waiting an empty list or a null pointer (#3…
jovany-wang Dec 26, 2018
1b98fb8
Fix Jenkins test failures and function descriptor bug. (#3569)
guoyuhong Dec 26, 2018
4cde971
[Java] Print the log message slowly. (#3633)
jovany-wang Dec 26, 2018
4ce3818
Average aggregated gradients before put in plasma store (#3631)
caleb1010 Dec 26, 2018
6e2d7a9
[tune] Support Configuration Merging (#3584)
richardliaw Dec 26, 2018
b4f61df
[rllib] Export policy model checkpoint (#3637)
xutianming Dec 26, 2018
ac792d7
[rllib] Add starcraft multiagent env as example (#3542)
richardliaw Dec 27, 2018
e319e49
merge in ray upstream master
eugenevinitsky Dec 27, 2018
34b5d13
Merge pull request #4 from flow-project/master_merge
AboudyKreidieh Dec 27, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
96 changes: 54 additions & 42 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,25 @@ matrix:
include:
- os: linux
dist: trusty
env: PYTHON=2.7
env: PYTHON=2.7 PYTHONWARNINGS=ignore

- os: linux
dist: trusty
env: PYTHON=3.5
env: PYTHON=3.5 PYTHONWARNINGS=ignore

- os: osx
osx_image: xcode7
env: PYTHON=2.7
env: PYTHON=2.7 PYTHONWARNINGS=ignore

- os: osx
osx_image: xcode7
env: PYTHON=3.5
env: PYTHON=3.5 PYTHONWARNINGS=ignore

- os: linux
dist: trusty
env:
- JDK='Oracle JDK 8'
- PYTHON=3.5
- PYTHON=3.5 PYTHONWARNINGS=ignore
install:
- ./.travis/install-dependencies.sh
- export PATH="$HOME/miniconda/bin:$PATH"
Expand All @@ -33,7 +33,7 @@ matrix:

- os: linux
dist: trusty
env: LINT=1
env: LINT=1 PYTHONWARNINGS=ignore
before_install:
# In case we ever want to use a different version of clang-format:
#- wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add -
Expand All @@ -55,10 +55,13 @@ matrix:
# Run Python linting, ignore dict vs {} (C408), others are defaults
- flake8 --exclude=python/ray/core/generated/,doc/source/conf.py,python/ray/cloudpickle/ --ignore=C408,E121,E123,E126,E226,E24,E704,W503,W504,W605
- .travis/format.sh --all
# Make sure that the README is formatted properly.
- cd python
- python setup.py check --restructuredtext --strict --metadata

- os: linux
dist: trusty
env: VALGRIND=1 PYTHON=2.7
env: VALGRIND=1 PYTHON=2.7 PYTHONWARNINGS=ignore
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq valgrind
Expand All @@ -75,7 +78,7 @@ matrix:
# Build Linux wheels.
- os: linux
dist: trusty
env: LINUX_WHEELS=1
env: LINUX_WHEELS=1 PYTHONWARNINGS=ignore
install:
- ./.travis/install-dependencies.sh
# This command should be kept in sync with ray/python/README-building-wheels.md.
Expand All @@ -86,7 +89,7 @@ matrix:
# Build MacOS wheels.
- os: osx
osx_image: xcode7
env: MAC_WHEELS=1
env: MAC_WHEELS=1 PYTHONWARNINGS=ignore
install:
- ./.travis/install-dependencies.sh
# This command should be kept in sync with ray/python/README-building-wheels.md.
Expand All @@ -100,6 +103,7 @@ matrix:
env:
- PYTHON=3.5
- RAY_USE_NEW_GCS=on
- PYTHONWARNINGS=ignore


install:
Expand Down Expand Up @@ -131,45 +135,53 @@ script:
# module is only found if the test directory is in the PYTHONPATH.
- export PYTHONPATH="$PYTHONPATH:./test/"

- python -m pytest -v python/ray/test/test_global_state.py
- python -m pytest -v python/ray/test/test_queue.py
- python -m pytest -v python/ray/test/test_ray_init.py
- python -m pytest -v test/xray_test.py

- python -m pytest -v test/runtest.py
- python -m pytest -v test/array_test.py
- python -m pytest -v test/actor_test.py
- python -m pytest -v test/autoscaler_test.py
- python -m pytest -v test/tensorflow_test.py
- python -m pytest -v test/failure_test.py
- python -m pytest -v test/microbenchmarks.py
- python -m pytest -v test/stress_tests.py
- python -m pytest -v test/component_failures_test.py
- python -m pytest -v test/multi_node_test.py
- python -m pytest -v test/multi_node_test_2.py
- python -m pytest -v test/recursion_test.py
- python -m pytest -v test/monitor_test.py
- python -m pytest -v test/cython_test.py
- python -m pytest -v test/credis_test.py
- python -m pytest -v test/node_manager_test.py

# ray tune tests
- python python/ray/tune/test/dependency_test.py
- python -m pytest -v python/ray/tune/test/trial_runner_test.py
- python -m pytest -v python/ray/tune/test/trial_scheduler_test.py
- python -m pytest -v python/ray/tune/test/experiment_test.py
- python -m pytest -v python/ray/tune/test/tune_server_test.py
- python -m pytest -v python/ray/tune/test/ray_trial_executor_test.py
- python -m pytest -v python/ray/tune/test/automl_searcher_test.py
- python -m pytest -v --durations=10 python/ray/tune/test/trial_runner_test.py
- python -m pytest -v --durations=10 python/ray/tune/test/trial_scheduler_test.py
- python -m pytest -v --durations=10 python/ray/tune/test/experiment_test.py
- python -m pytest -v --durations=10 python/ray/tune/test/tune_server_test.py
- python -m pytest -v --durations=10 python/ray/tune/test/ray_trial_executor_test.py
- python -m pytest -v --durations=10 python/ray/tune/test/automl_searcher_test.py

# ray rllib tests
- python -m pytest -v python/ray/rllib/test/test_catalog.py
- python -m pytest -v python/ray/rllib/test/test_filters.py
- python -m pytest -v python/ray/rllib/test/test_optimizers.py
- python -m pytest -v python/ray/rllib/test/test_evaluators.py
- python -m pytest -v --durations=10 python/ray/rllib/test/test_catalog.py
- python -m pytest -v --durations=10 python/ray/rllib/test/test_filters.py
- python -m pytest -v --durations=10 python/ray/rllib/test/test_optimizers.py
- python -m pytest -v --durations=10 python/ray/rllib/test/test_evaluators.py

# Python3.5+ only. Otherwise we will get `SyntaxError` regardless of how we set the tester.
- python -c 'import sys;exit(sys.version_info>=(3,5))' || python -m pytest -v --durations=10 python/ray/experimental/test/async_test.py

- python -m pytest -v --durations=10 python/ray/test/test_global_state.py
- python -m pytest -v --durations=10 python/ray/test/test_queue.py
- python -m pytest -v --durations=10 python/ray/test/test_ray_init.py
- python -m pytest -v --durations=10 test/xray_test.py

- python -m pytest -v --durations=10 test/runtest.py
- python -m pytest -v --durations=10 test/array_test.py
- python -m pytest -v --durations=10 test/actor_test.py
- python -m pytest -v --durations=10 test/autoscaler_test.py
- python -m pytest -v --durations=10 test/tensorflow_test.py
- python -m pytest -v --durations=10 test/failure_test.py
- python -m pytest -v --durations=10 test/microbenchmarks.py
- python -m pytest -v --durations=10 test/stress_tests.py
- python -m pytest -v --durations=10 test/component_failures_test.py
- python -m pytest -v --durations=10 test/multi_node_test.py
- python -m pytest -v --durations=10 test/multi_node_test_2.py
- python -m pytest -v --durations=10 test/recursion_test.py
- python -m pytest -v --durations=10 test/monitor_test.py
- python -m pytest -v --durations=10 test/cython_test.py
- python -m pytest -v --durations=10 test/credis_test.py
- python -m pytest -v --durations=10 test/node_manager_test.py
# TODO(yuhguo): object_manager_test.py requires a lot of CPU/memory, and
# better be put in Jenkins. However, it fails frequently in Jenkins, but
# works well in Travis. We should consider moving it back to Jenkins once
# we figure out the reason.
- python -m pytest -v --durations=10 test/object_manager_test.py

# ray temp file tests
- python -m pytest -v test/tempfile_test.py
- python -m pytest -v --durations=10 test/tempfile_test.py

# modin test files
- python python/ray/test/test_modin.py
Expand Down
12 changes: 6 additions & 6 deletions .travis/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ if [[ "$PYTHON" == "2.7" ]] && [[ "$platform" == "linux" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda2-4.5.4-Linux-x86_64.sh -O miniconda.sh -nv
bash miniconda.sh -b -p $HOME/miniconda
export PATH="$HOME/miniconda/bin:$PATH"
pip install -q cython==0.27.3 cmake tensorflow gym opencv-python pyyaml pandas==0.23.4 requests \
feather-format lxml openpyxl xlrd py-spy setproctitle faulthandler pytest-timeout
pip install -q cython==0.29.0 cmake tensorflow gym opencv-python pyyaml pandas==0.23.4 requests \
feather-format lxml openpyxl xlrd py-spy setproctitle faulthandler pytest-timeout mock
elif [[ "$PYTHON" == "3.5" ]] && [[ "$platform" == "linux" ]]; then
sudo apt-get update
sudo apt-get install -y cmake pkg-config python-dev python-numpy build-essential autoconf curl libtool unzip
# Install miniconda.
wget https://repo.continuum.io/miniconda/Miniconda3-4.5.4-Linux-x86_64.sh -O miniconda.sh -nv
bash miniconda.sh -b -p $HOME/miniconda
export PATH="$HOME/miniconda/bin:$PATH"
pip install -q cython==0.27.3 cmake tensorflow gym opencv-python pyyaml pandas==0.23.4 requests \
pip install -q cython==0.29.0 cmake tensorflow gym opencv-python pyyaml pandas==0.23.4 requests \
feather-format lxml openpyxl xlrd py-spy setproctitle pytest-timeout
elif [[ "$PYTHON" == "2.7" ]] && [[ "$platform" == "macosx" ]]; then
# check that brew is installed
Expand All @@ -50,8 +50,8 @@ elif [[ "$PYTHON" == "2.7" ]] && [[ "$platform" == "macosx" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda2-4.5.4-MacOSX-x86_64.sh -O miniconda.sh -nv
bash miniconda.sh -b -p $HOME/miniconda
export PATH="$HOME/miniconda/bin:$PATH"
pip install -q cython==0.27.3 cmake tensorflow gym opencv-python pyyaml pandas==0.23.4 requests \
feather-format lxml openpyxl xlrd py-spy setproctitle faulthandler pytest-timeout
pip install -q cython==0.29.0 cmake tensorflow gym opencv-python pyyaml pandas==0.23.4 requests \
feather-format lxml openpyxl xlrd py-spy setproctitle faulthandler pytest-timeout mock
elif [[ "$PYTHON" == "3.5" ]] && [[ "$platform" == "macosx" ]]; then
# check that brew is installed
which -s brew
Expand All @@ -67,7 +67,7 @@ elif [[ "$PYTHON" == "3.5" ]] && [[ "$platform" == "macosx" ]]; then
wget https://repo.continuum.io/miniconda/Miniconda3-4.5.4-MacOSX-x86_64.sh -O miniconda.sh -nv
bash miniconda.sh -b -p $HOME/miniconda
export PATH="$HOME/miniconda/bin:$PATH"
pip install -q cython==0.27.3 cmake tensorflow gym opencv-python pyyaml pandas==0.23.4 requests \
pip install -q cython==0.29.0 cmake tensorflow gym opencv-python pyyaml pandas==0.23.4 requests \
feather-format lxml openpyxl xlrd py-spy setproctitle pytest-timeout
elif [[ "$LINT" == "1" ]]; then
sudo apt-get update
Expand Down
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ if ("${CMAKE_RAY_LANG_PYTHON}" STREQUAL "YES")
set(ray_file_list
"src/ray/thirdparty/redis/src/redis-server"
"src/ray/gcs/redis_module/libray_redis_module.so"
"src/ray/raylet/liblocal_scheduler_library_python.so"
"src/ray/raylet/libraylet_library_python.so"
"src/ray/raylet/raylet_monitor"
"src/ray/raylet/raylet")

Expand All @@ -128,8 +128,8 @@ if ("${CMAKE_RAY_LANG_PYTHON}" STREQUAL "YES")
add_dependencies(copy_ray copy_ray_files)

# Make sure that the Python extensions are built before copying the files.
get_local_scheduler_library("python" LOCAL_SCHEDULER_LIBRARY_PYTHON)
add_dependencies(copy_ray ${LOCAL_SCHEDULER_LIBRARY_PYTHON})
get_raylet_library("python" RAYLET_LIBRARY_PYTHON)
add_dependencies(copy_ray ${RAYLET_LIBRARY_PYTHON})

foreach(file ${ray_file_list})
add_custom_command(TARGET copy_ray POST_BUILD
Expand All @@ -146,8 +146,8 @@ if ("${CMAKE_RAY_LANG_PYTHON}" STREQUAL "YES")
endif()

if ("${CMAKE_RAY_LANG_JAVA}" STREQUAL "YES")
get_local_scheduler_library("java" LOCAL_SCHEDULER_LIBRARY_JAVA)
add_dependencies(copy_ray ${LOCAL_SCHEDULER_LIBRARY_JAVA})
get_raylet_library("java" RAYLET_LIBRARY_JAVA)
add_dependencies(copy_ray ${RAYLET_LIBRARY_JAVA})

# copy libplasma_java files
add_custom_command(TARGET copy_ray POST_BUILD
Expand Down
14 changes: 6 additions & 8 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
.. raw:: html

<a href=http://ray.readthedocs.io/en/latest/index.html><img align="right" width="30%" src="https://github.com/devin-petersohn/ray/raw/docs/update_readme/doc/source/images/ray_logo.png"></a>
.. image:: https://github.com/ray-project/ray/raw/master/doc/source/images/ray_header_logo.png

.. image:: https://travis-ci.com/ray-project/ray.svg?branch=master
:target: https://travis-ci.com/ray-project/ray

.. image:: https://readthedocs.org/projects/ray/badge/?version=latest
:target: http://ray.readthedocs.io/en/latest/?badge=latest

.. image:: https://img.shields.io/badge/pypi-0.6.0-blue.svg
.. image:: https://img.shields.io/badge/pypi-0.6.1-blue.svg
:target: https://pypi.org/project/ray/

|
Expand Down Expand Up @@ -41,12 +39,12 @@ Example Use

Ray comes with libraries that accelerate deep learning and reinforcement learning development:

- `Ray Tune`_: Hyperparameter Optimization Framework
- `Ray RLlib`_: Scalable Reinforcement Learning
- `Tune`_: Hyperparameter Optimization Framework
- `RLlib`_: Scalable Reinforcement Learning
- `Distributed Training <http://ray.readthedocs.io/en/latest/distributed_sgd.html>`__

.. _`Ray Tune`: http://ray.readthedocs.io/en/latest/tune.html
.. _`Ray RLlib`: http://ray.readthedocs.io/en/latest/rllib.html
.. _`Tune`: http://ray.readthedocs.io/en/latest/tune.html
.. _`RLlib`: http://ray.readthedocs.io/en/latest/rllib.html

Installation
------------
Expand Down
10 changes: 7 additions & 3 deletions cmake/Modules/ArrowExternalProject.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,15 @@
# - PLASMA_STATIC_LIB
# - PLASMA_SHARED_LIB

set(arrow_URL https://github.com/apache/arrow.git)
# The PR for this commit is https://github.com/apache/arrow/pull/3061. We
set(arrow_URL https://github.com/ray-project/arrow.git)
# This commit is based on https://github.com/apache/arrow/pull/3197. We
# include the link here to make it easier to find the right commit because
# Arrow often rewrites git history and invalidates certain commits.
set(arrow_TAG a667fca3b71772886bb2595986266d2039823dcc)
# It has been patched to fix an upstream symbol clash with TensorFlow,
# the patch is available at
# https://github.com/ray-project/arrow/commit/c347cd571e51723fc8512922f1b3a8e45e45b169
# See the discussion in https://github.com/apache/arrow/pull/3177
set(arrow_TAG c347cd571e51723fc8512922f1b3a8e45e45b169)

set(ARROW_INSTALL_PREFIX ${CMAKE_CURRENT_BINARY_DIR}/external/arrow-install)
set(ARROW_HOME ${ARROW_INSTALL_PREFIX})
Expand Down
9 changes: 5 additions & 4 deletions cmake/Modules/BoostExternalProject.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,15 @@ else()
set(BOOST_ROOT ${Boost_INSTALL_PREFIX})
set(Boost_LIBRARY_DIR ${Boost_INSTALL_PREFIX}/lib)
set(Boost_SYSTEM_LIBRARY ${Boost_LIBRARY_DIR}/${CMAKE_STATIC_LIBRARY_PREFIX}boost_system${CMAKE_STATIC_LIBRARY_SUFFIX})
set(Boost_THREAD_LIBRARY ${Boost_LIBRARY_DIR}/${CMAKE_STATIC_LIBRARY_PREFIX}boost_thread${CMAKE_STATIC_LIBRARY_SUFFIX})
set(Boost_FILESYSTEM_LIBRARY ${Boost_LIBRARY_DIR}/${CMAKE_STATIC_LIBRARY_PREFIX}boost_filesystem${CMAKE_STATIC_LIBRARY_SUFFIX})

#set(boost_URL https://github.com/boostorg/boost.git)
#set(boost_TAG boost-1.65.1)
#set(boost_TAG boost-1.68.0)

set(Boost_TAR_GZ_URL http://dl.bintray.com/boostorg/release/1.65.1/source/boost_1_65_1.tar.gz)
set(Boost_TAR_GZ_URL http://dl.bintray.com/boostorg/release/1.68.0/source/boost_1_68_0.tar.gz)
set(Boost_BUILD_PRODUCTS ${Boost_SYSTEM_LIBRARY} ${Boost_FILESYSTEM_LIBRARY})
set(Boost_URL_MD5 "ee64fd29a3fe42232c6ac3c419e523cf")
set(Boost_URL_MD5 "5d8b4503582fffa9eefdb9045359c239")

set(Boost_USE_STATIC_LIBS ON)

Expand All @@ -48,6 +49,6 @@ else()
BUILD_IN_SOURCE 1
BUILD_BYPRODUCTS ${Boost_BUILD_PRODUCTS}
CONFIGURE_COMMAND ./bootstrap.sh
BUILD_COMMAND bash -c "./b2 cxxflags=-fPIC cflags=-fPIC variant=release link=static --with-filesystem --with-system --with-regex -j8 install --prefix=${Boost_INSTALL_PREFIX} > /dev/null"
BUILD_COMMAND bash -c "./b2 cxxflags=-fPIC cflags=-fPIC variant=release link=static --with-filesystem --with-system --with-thread --with-atomic --with-chrono --with-date_time --with-regex -j8 install --prefix=${Boost_INSTALL_PREFIX} > /dev/null"
INSTALL_COMMAND "")
endif ()
4 changes: 2 additions & 2 deletions cmake/Modules/FlatBuffersExternalProject.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ if(DEFINED ENV{RAY_FLATBUFFERS_HOME} AND EXISTS $ENV{RAY_FLATBUFFERS_HOME})

add_custom_target(flatbuffers_ep)
else()
set(flatbuffers_VERSION "1.9.0")
set(flatbuffers_VERSION "1.10.0")
set(flatbuffers_URL "https://github.com/google/flatbuffers/archive/v${flatbuffers_VERSION}.tar.gz")
set(flatbuffers_URL_MD5 "8be7513bf960034f6873326d09521a4b")
set(flatbuffers_URL_MD5 "f7d19a3f021d93422b0bc287d7148cd2")

set(FLATBUFFERS_INSTALL_PREFIX "${CMAKE_CURRENT_BINARY_DIR}/external/flatbuffers-install")

Expand Down
6 changes: 5 additions & 1 deletion cmake/Modules/ThirdpartyToolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,14 @@ ADD_THIRDPARTY_LIB(boost_system
STATIC_LIB ${Boost_SYSTEM_LIBRARY})
ADD_THIRDPARTY_LIB(boost_filesystem
STATIC_LIB ${Boost_FILESYSTEM_LIBRARY})
ADD_THIRDPARTY_LIB(boost_thread
STATIC_LIB ${Boost_THREAD_LIBRARY})

add_dependencies(boost_system boost_ep)
add_dependencies(boost_filesystem boost_ep)
add_dependencies(boost_thread boost_ep)

add_custom_target(boost DEPENDS boost_system boost_filesystem)
add_custom_target(boost DEPENDS boost_system boost_filesystem boost_thread)

# flatbuffers
include(FlatBuffersExternalProject)
Expand Down Expand Up @@ -120,6 +123,7 @@ if ("${CMAKE_RAY_LANG_PYTHON}" STREQUAL "YES")
"PYARROW_WITH_TENSORFLOW=1"
"PYARROW_BUNDLE_ARROW_CPP=1"
"PARQUET_HOME=${PARQUET_HOME}"
"BOOST_ROOT=${BOOST_ROOT}"
"PYARROW_WITH_PARQUET=1"
"PYARROW_PARALLEL=")

Expand Down
Loading