-
Notifications
You must be signed in to change notification settings - Fork 63
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
'bundle install' for nmatrix fails on MacOS unless user has special compiler flags #8
Comments
@nethsix I am very sorry for the trouble. As for checking dimensions, we can use this function
And for comparing the arrays we could flatten them and then check them element wise. That is, if we want to. If you guys think this way is better, then I can do it. |
@Arafatk @chrhansen No trouble at all! I am sure I can make it work on my MacOS as well, and I will. My only concern is how this may deter casual users from installing the gem. |
@nethsix Thanks for bringing this up! It was a bit of a concern for me when submitting #6. I mentioned it also to @MohawkJohn over at SciRuby/nmatrix#505 (comment) and they've created and issue SciRuby/nmatrix#525 to fix this for mac users. Short term I don't mind rewriting |
@chrhansen Nice. Glad to know |
@chrhansen This is nice and It would be good. |
@chrhansen Nice!!!! |
@nethsix thanks! Off-topic, but now that I have you: do you by any chance have suggestions how to build Tensorflow on Travis-ci? I've tried a bunch of things, here, but currently I'm stuck at |
@chrhansen I believe that Travis CI uses some container technology like Docker, Vagrant, etc., to run the build and this could be related bazel not having the appropriate authorization. Perhaps this is related to: http://stackoverflow.com/questions/37213455/bazel-build-fails-with-executing-genrule-six-archive-copy-six-failed-error. It could also be something simpler as in not being in the correct directory when running the bazel command. I will try to look at it more in-depth later. |
@nethsix Thanks. Could be – I've tried a couple things since two days ago. I found out that in the node-tensorflow/node-tensorflow-project they have successfully compiled and built Tensorflow with bazel on Travis-CI for the Node.js-wrapper. So I'm currently seeing if I can copy their work. They have quite a bit of custom shell-scripts in here https://github.com/node-tensorflow/node-tensorflow/tree/master/tools though, which are cumbersome to sort through. Are you using https://gitter.im/Arafatk/tensorflow.rb, or perhaps there's a better place to discuss this than in this issue? :) |
@chrhansen I am now on gitter! I don't have experience using gitter so please do share how to use it effectively! Thus far, for me (due to my lack of gitter experience), as much as possible I prefer discussions to be under 'issues', mainly because:
|
@nethsix Ok! I also haven't used Gitter before, so really don't know if it's more helpful (reaching out to people) or more noise. My point was more that, I wanted to message you, and only had the issue-note option. I also prefer discussions to be within issues, but only if the discussion is related to the issue, which my Travis-compiler-question isn't. |
@chrhansen Agree. We're polluting this thread as we chat. On to Gitter! |
@chrhansen , @Arafatk
'bundle install' now breaks (see message below) since
nmatrix
requires gcc that supports special flags. If we want this gem to be used widely, it may be good to keep additional installation steps to a minimum? Isnmatrix
required for accuracy in rspec testing or for performance reason? Would it make sense for someone to have the option to install the gem withnmatrix
turned off unless required?Thanks for your help.
The text was updated successfully, but these errors were encountered: