File tree Expand file tree Collapse file tree 6 files changed +6
-137
lines changed Expand file tree Collapse file tree 6 files changed +6
-137
lines changed Original file line number Diff line number Diff line change @@ -256,7 +256,6 @@ matrix:
256
256
- ARROW_TRAVIS_USE_VENDORED_BOOST=1
257
257
- ARROW_TRAVIS_PARQUET=1
258
258
- ARROW_TRAVIS_PLASMA=1
259
- - BUILD_TORCH_EXAMPLE=no
260
259
- MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"
261
260
before_script :
262
261
- if [ $ARROW_CI_RUBY_AFFECTED != "1" ]; then exit; fi
Original file line number Diff line number Diff line change @@ -20,6 +20,5 @@ dist_lua_example_DATA = \
20
20
README.md \
21
21
read-batch.lua \
22
22
read-stream.lua \
23
- stream-to-torch-tensor.lua \
24
23
write-batch.lua \
25
24
write-stream.lua
Original file line number Diff line number Diff line change @@ -48,8 +48,3 @@ Here are example codes in this directory:
48
48
49
49
* ` read-stream.lua ` : It shows how to read Arrow array from file in
50
50
stream mode.
51
-
52
- * ` stream-to-torch-tensor.lua ` : It shows how to read Arrow array
53
- from file in stream mode and convert it to
54
- [ Torch] ( http://torch.ch/ ) 's
55
- [ ` Tensor ` object] ( http://torch7.readthedocs.io/en/rtd/tensor/index.html ) .
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -44,22 +44,8 @@ gem install test-unit gobject-introspection
44
44
if [ $TRAVIS_OS_NAME = " osx" ]; then
45
45
sudo env PKG_CONFIG_PATH=$PKG_CONFIG_PATH luarocks install lgi
46
46
else
47
- if [ $BUILD_TORCH_EXAMPLE = " yes" ]; then
48
- git clone \
49
- --quiet \
50
- --depth 1 \
51
- --recursive \
52
- https://github.com/torch/distro.git ~ /torch
53
- pushd ~ /torch
54
- ./install-deps > /dev/null
55
- echo " yes" | ./install.sh > /dev/null
56
- . ~ /torch/install/bin/torch-activate
57
- popd
58
- luarocks install lgi
59
- else
60
- sudo apt install -y -qq luarocks
61
- sudo luarocks install lgi
62
- fi
47
+ sudo apt install -y -qq luarocks
48
+ sudo luarocks install lgi
63
49
fi
64
50
65
51
pushd $ARROW_C_GLIB_DIR
Original file line number Diff line number Diff line change @@ -32,19 +32,10 @@ arrow_c_glib_run_test()
32
32
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH :$arrow_c_glib_lib_dir /pkgconfig
33
33
34
34
pushd example/lua
35
- if [ " $BUILD_TORCH_EXAMPLE " = " yes" ]; then
36
- . ~ /torch/install/bin/torch-activate
37
- luajit write-batch.lua
38
- luajit read-batch.lua
39
- luajit write-stream.lua
40
- luajit read-stream.lua
41
- luajit stream-to-torch-tensor.lua
42
- else
43
- lua write-batch.lua
44
- lua read-batch.lua
45
- lua write-stream.lua
46
- lua read-stream.lua
47
- fi
35
+ lua write-batch.lua
36
+ lua read-batch.lua
37
+ lua write-stream.lua
38
+ lua read-stream.lua
48
39
popd
49
40
}
50
41
You can’t perform that action at this time.
0 commit comments