Skip to content

Apache DataFusion SQL Query Engine

ARROW-1701: [Serialization] Support zero copy PyTorch Tensor serialization

Philipp Moritz5cb00b6a5303
diff --git a/ci/travis_script_python.sh b/ci/travis_script_python.sh
index 97bde1a5ed..603201bcc1 100755
--- a/ci/travis_script_python.sh
+++ b/ci/travis_script_python.sh
@@ -46,6 +46,12 @@ conda install -y -q pip \
sphinx \
sphinx_bootstrap_theme
+if [ "$PYTHON_VERSION" != "2.7" ] || [ $TRAVIS_OS_NAME != "osx" ]; then
+ # Install pytorch for torch tensor conversion tests
+ # PyTorch seems to be broken on Python 2.7 on macOS so we skip it
+ conda install -y -q pytorch torchvision -c soumith
+fi
+
# Build C++ libraries
pushd $ARROW_CPP_BUILD_DIR