Incorporate C++ Buffer management and Seal global threadpool fix from arrow#1950
Incorporate C++ Buffer management and Seal global threadpool fix from arrow#1950robertnishihara merged 18 commits intoray-project:masterfrom
Conversation
|
Test PASSed. |
|
Test PASSed. |
|
Test PASSed. |
|
Test PASSed. |
|
Test FAILed. |
|
Test PASSed. |
|
Test PASSed. |
|
Test FAILed. |
|
Test PASSed. |
|
|
||
| set(FLATBUFFERS_VERSION "1.7.1") | ||
| # The following is needed because in CentOS, the lib directory is named lib64 | ||
| if(EXISTS "/etc/redhat-release" AND CMAKE_SIZEOF_VOID_P EQUAL 8) |
There was a problem hiding this comment.
Can we use this to get rid of
ray/thirdparty/scripts/build_arrow.sh
Lines 85 to 90 in dad465a
There was a problem hiding this comment.
Relatedly, is this the canonical way of checking for CentOS? https://askubuntu.com/questions/459402/how-to-know-if-the-running-platform-is-ubuntu-or-centos-with-help-of-a-bash-scri suggests /etc/os-release.
There was a problem hiding this comment.
I took it from https://htcondor-wiki.cs.wisc.edu/index.cgi/fileview?f=build/cmake/FindLinuxPlatform.cmake&v=4592599fecc08e5588c4244e2b0ceb7d32363a56, it's officially documented by Red Hat, so should be fine.
There was a problem hiding this comment.
Getting rid of the copy of the arrow lib64 will involve changing FindArrow, which is part of arrow.
|
|
||
| TP_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)/../ | ||
|
|
||
| FLATBUFFERS_VERSION=1.7.1 |
There was a problem hiding this comment.
Wait, are we building flatbuffers twice? (excluding the time that Arrow builds it)
Why do we have this script in addition to the ExternalProject_Add(flatbuffers_ep in Common.cmake?
There was a problem hiding this comment.
Yeah, I think we can figure this out when we get rid of the old ray code (and get rid of Common.cmake then).
|
Can you make the PR title and description more informative? E.g., what changes are we getting from Arrow? |
* master: updates (ray-project#1958) Pin Cython in autoscaler development example. (ray-project#1951) Incorporate C++ Buffer management and Seal global threadpool fix from arrow (ray-project#1950) [XRay] Add consistency check for protocol between node_manager and local_scheduler_client (ray-project#1944) Remove smart_open install. (ray-project#1943) [DataFrame] Fully implement append, concat and join (ray-project#1932) [DataFrame] Fix for __getitem__ string indexing (ray-project#1939) [DataFrame] Implementing write methods (ray-project#1918) [rllib] arr[end] was excluded when end is not None (ray-project#1931) [DataFrame] Implementing API correct groupby with aggregation methods (ray-project#1914) Handle interrupts correctly for ASIO synchronous reads and writes. (ray-project#1929) [DataFrame] Adding read methods and tests (ray-project#1712) Allow task_table_update to fail when tasks are finished. (ray-project#1927) [rllib] Contribute DDPG to RLlib (ray-project#1877) [xray] Workers blocked in a `ray.get` release their resources (ray-project#1920) Raylet task dispatch and throttling worker startup (ray-project#1912) [DataFrame] Eval fix (ray-project#1903)
* 'master' of https://github.com/ray-project/ray: [rllib] Fix broken link in docs (ray-project#1967) [DataFrame] Sample implement (ray-project#1954) [DataFrame] Implement Inter-DataFrame operations (ray-project#1937) remove UniqueIDHasher (ray-project#1957) [rllib] Add DDPG documentation, rename DDPG2 <=> DDPG (ray-project#1946) updates (ray-project#1958) Pin Cython in autoscaler development example. (ray-project#1951) Incorporate C++ Buffer management and Seal global threadpool fix from arrow (ray-project#1950) [XRay] Add consistency check for protocol between node_manager and local_scheduler_client (ray-project#1944) Remove smart_open install. (ray-project#1943) [DataFrame] Fully implement append, concat and join (ray-project#1932) [DataFrame] Fix for __getitem__ string indexing (ray-project#1939) [DataFrame] Implementing write methods (ray-project#1918) [rllib] arr[end] was excluded when end is not None (ray-project#1931) [DataFrame] Implementing API correct groupby with aggregation methods (ray-project#1914)
This includes apache/arrow#1939 and gets rid of the revert of apache/arrow#1807
It includes the following relevant arrow improvements: