Skip to content
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

Graph addition of strings test failed #88

Closed
ljulliar opened this issue May 1, 2017 · 1 comment
Closed

Graph addition of strings test failed #88

ljulliar opened this issue May 1, 2017 · 1 comment

Comments

@ljulliar
Copy link

ljulliar commented May 1, 2017

Hi,
First of ll congratulations for the fantastic work you have done with this Ruby interface to TensorFlow.
I just wanted to report I got today. A couple of days ago I went through the installation process step by step and it worked like a charm including the test suite at the end invoked through the "bundle exec rake test" command.
Today I decided I had enough with those warnings from the TensorFlow library telling me that I wasn't using all the nice SIMD instruction set available on my CPU and I decided to recompile TF with the following options:

bazel build -c opt --copt=-mavx --copt=-mavx2 --copt=-mfma --copt=-mfpmath=both --copt=-msse4.1 --copt=-msse4.2 //tensorflow:libtensorflow.so

Everything went well except that after rebuilding the Ruvy extension all test passed successfully except this one below. Any idea why this is happening ?

Failures:

  1) Graph Addition of strings
     Failure/Error: expect(out_tensor[0]).to eq('TensorflowRuby')

       expected: "TensorflowRuby"
            got: "TensorflowRubylowRuby"

       (compared using ==)
     # ./spec/graph_spec.rb:29:in `block (2 levels) in <top (required)>'

Finished in 0.08098 seconds (files took 0.21106 seconds to load)
70 examples, 1 failure

Failed examples:
rspec ./spec/graph_spec.rb:21 # Graph Addition of strings

@arafatkatze
Copy link
Collaborator

arafatkatze commented May 5, 2017

@ljulliar Thanks a lot for your query. Warnings are something that bothered me for some time but I ignored them because of this.
I am really sorry that I couldn't reply to you earlier, as I recently immigrated to Canada from India and it took me some time to get set up.
I have been looking at this and trying to replicate this.
I think this is most likely an internal issue and most likely I won't be able to resolve it myself, in which case I will talk to tensorflow team about it.
Aside from that I hope you have played with tensorflow.rb and I hope you have liked it, Feel free to tell me if you have any other queries.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants