-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
Fix TensorFlow and PyTorch compatibility #3574
Changes from 27 commits
6301f8f
a347461
e61516a
6b6d59c
66908aa
106608e
95ba9bc
0114b9b
5c393f7
84ff57e
6c34543
ef4ec90
e1b25eb
785c73d
8d0b97d
6286371
3ad0246
4044408
01137ee
13d5a25
d1cc6ed
77212ef
c6ac872
f8b75ef
9534cca
60888b5
d5e1f08
d19990e
2ec4a63
7c83c16
aed0799
3081766
9267cf8
7958751
19f1ecb
85b88da
75856ad
04f1045
a516d38
f822d04
79bac41
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. fix indentation, same with above lines I think |
||
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) | ||
|
@@ -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=") | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ produce .whl files owned by root. | |
Inside the root directory (i.e., one level above this python directory), run | ||
|
||
``` | ||
docker run --rm -w /ray -v `pwd`:/ray -ti quay.io/xhochy/arrow_manylinux1_x86_64_base:latest /ray/python/build-wheel-manylinux1.sh | ||
docker run --rm -w /ray -v `pwd`:/ray -ti rayproject/ray_arrow_manylinux1_x86_64_base:latest /ray/python/build-wheel-manylinux1.sh | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The script for building this docker image needs to be committed somewhere and documented here. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this is not needed any more, I'm trying to remove it. |
||
``` | ||
|
||
The wheel files will be placed in the .whl directory. | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upgrading boost was needed to fix some incompatibility with macOS