-
Notifications
You must be signed in to change notification settings - Fork 26
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
OS X: luajit -l cltorch = WIN! -- th -l cltorch = FAIL (with solution) #21
Comments
Ah... awesome info! Thank you Dustin. |
This does indeed fix the opencl issues for me even on El Capitan (10.11.1) However now I get some jit warnings:
It's working though. I wish this issue would show up higher on the Google machine :) |
@ceberly Cool :-) For the jit warnings, just added a commit which might remove the warning about The warnings about |
@hughperkins cool. If anyone else is reading this, I am running through this: https://github.com/karpathy/char-rnn The command I am using is: Interestingly -gpuid 1 selects the GeForce GPU on my MacBook but the Intel GPU (0) seems to be faster
|
@ceberly Hmmm, that is quite surprising :-) |
@hughperkins i am new to torch and NN in general so it's almost certainly something I'm doing parameter-wise that's wrong. Thanks for this post, again, it saved me a ton of headache. |
I have the same problem on a EI Capton MacBookPro. |
So, as far as I know, the issue is somehow in https://github.com/torch/trepl . I've logged it at torch/trepl#32 I'm not sure how to go further with this. I think it needs someone familiar with scripting, and who has a Mac box, to take a peek. |
I commented there about the issue. Luarocks accepts a config var called Looks something like this: So as far as I can see, that sets whatever environment needs to be available for the torch REPL to work, no need to add the wrapper for the |
this solved it for me as well on el capitan thank you |
Removing shebang did not solve it for me but adding torch-activate to the th script did work.
|
This might be fixed now, since RPATH is set now? |
The
~/torch/install/bin/th
shell script to open the torch REPL doesn't load the calling shell's environment on OS X. For me, this resulted in:Editing the
th
shell script mentioned above to remove the#!/bin/sh
shebang at the top (so the only line is the one beginning withexec
) results in:Just thought I'd drop this in here in case it helps you debug other OS X issues.
The text was updated successfully, but these errors were encountered: