tensorflow / skflow

Simplified interface for TensorFlow (mimicking Scikit Learn) for Deep Learning
Apache License 2.0
3.18k stars 441 forks source link

installation script for OpenBLAS #155

Closed kengz closed 8 years ago

kengz commented 8 years ago

Skflow makes it much easier and faster to get into ML. There's some blas libraries specified in the .travis.yml.

Would it be possible also to automatically download, build, install and link OpenBLAS (or any relevant ones) through a shell script that comes with skflow? This would allow many users to run more performant and efficient operations too.

ilblackdragon commented 8 years ago

Installation of OpenBLAS is very system specific. Skflow relies on one having scipy installed, which in turn requires some version of BLAS installed.

The easiest way for all this to be installed in system independent way is Docker. Skflow recently moved into main tensorflow codebase, so it will be available in next version of tensorflow dockers. I'll try to have Docker that have all the dependencies installed.

For now may be documenting more about dependencies would be a good idea. Or if you are interested in helping with script like you mentioned - that will be highly appreciated. On Mar 27, 2016 6:42 PM, "Wah Loon Keng" notifications@github.com wrote:

Skflow makes it much easier and faster to get into ML. There's some blas libraries specified in the .travis.yml.

Would it be possible also to automatically download, build, install and link OpenBLAS (or any relevant ones) through a shell script that comes with skflow? This would allow many users to run more performant and efficient operations too.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/tensorflow/skflow/issues/155

kengz commented 8 years ago

I see. The TF Docker approach is prolly the most convenient, especially if it can come already optimized. I currently have bash setup scripts for 2 OSes (MacOSX and Ubuntu Trusty) for my project which also uses skflow.

The Ubuntu version has the blas libraries listed in the skflow installation script; the MacOSX does not yet have it installed and setup. I'm looking at OpenBLAS for it, not sure if there's a more appropriate one.

I can share and complete the said script if it's helpful, what do you think? But in fact the existing one is probably already good enough, provided we polish it a bit and give it as an option to users.

ilblackdragon commented 8 years ago

Feel free to share script at https://github.com/tensorflow/tensorflow. Closing this issue (skflow has been moved inside TensorFlow).