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

Do rnn and dpnn support? #28

Open
sunxfancy opened this issue May 14, 2017 · 2 comments
Open

Do rnn and dpnn support? #28

sunxfancy opened this issue May 14, 2017 · 2 comments

Comments

@sunxfancy
Copy link

I would like to use rnn with torch-cl, but I found dpnn can not be loaded because of the following error:

~/torch-cl/install/share/lua/5.1/torch/init.lua:102: bad argument #2 (invalid parent class name nn.Decorator)

Do rnn and dpnn support by torch-cl? Looking forward to your help. Thanks!

@hughperkins
Copy link
Owner

hughperkins commented May 14, 2017

cltorch is version-locked to ~February 17th or so last year. That means that other libraries should probably be installed using their state at that time, eg by cloning their repository, using gitk to find a commit hash from around ~Feb 17th 2016, and then rolling back the repository to that time. You should then be able to install using luarocks, from the .rocks file in the repository.

As for your next (likely) question, which is, 'will cltorch ever get updated?', I think that any future work I do personally will likely/almost-certainly use either cuda-on-cl, or some derivative. It means a bit more work initially, but then we basically get the entire functionality, more or less in one go, 'for free', after the initial leg-work has been done; and it should be relatively low-maintenance.

@hyiltiz
Copy link

hyiltiz commented Jan 26, 2018

@hughperkins Any recommendations as to how to use torch on top of coriander (cuda-on-cl)? From what you said above, I am thinking that you are trying to focus on using torch with coriander, instead of using this distro-cl. Is that so?

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

3 participants