somaticio / tensorflow.rb

tensorflow for ruby
BSD 3-Clause "New" or "Revised" License
829 stars 63 forks source link

Could we use pre-compiled `libtensorflow.so` provided by Tensorflow official? #99

Closed onyxblade closed 7 years ago

onyxblade commented 7 years ago

https://www.tensorflow.org/install/install_c

Tensorflow is providing a script to download libtensorflow.so for different platforms. I have tried this and it seems to work well, with all tests passing.

Perhaps we could just use this distributed one and skip the bazel building step.

And moreover, the libtensorflow.so and tensorflow.rb could be published to Rubygems, then other users just need one gem install command to get started.

arafatkatze commented 7 years ago

@CicholGricenchos Thanks for the query.
I did try using precomplied binaries but always had some issues with them so maybe doing the standard way seems okay.
If it works out for you please let me know.
Thanks