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

Does MKL-DNN also support LSTM as well? #154

Closed
haidj opened this issue Nov 15, 2017 · 4 comments
Closed

Does MKL-DNN also support LSTM as well? #154

haidj opened this issue Nov 15, 2017 · 4 comments
Labels
enhancement A feature or an optimization request

Comments

@haidj
Copy link

haidj commented Nov 15, 2017

Hi all,

I confirmed that MKL-DNN library provides significant performance improvement on various CNN algorithms. but I wonder if MKL-DNN also provides high performance on LSTM (or RNN).

Actually, when I look at the layer folder within intel-caffe, it seems that the mkldnn source code for LSTM does not exist.

In this situation, is there anything I'm missing about the LSTM implementation?
If you are planning to implement an optimal version for LSTM in the future, please let me know.

Thank you.

@tprimak
Copy link
Contributor

tprimak commented Nov 16, 2017

Hi @haidj !

Thank you for your interest in LSTM support in MKL-DNN. Yes, we have a plan to support LSTM.
Actually, we just started work in this direction. We'll let you know as soon as this functionality will be available.

@tprimak tprimak added the enhancement A feature or an optimization request label Nov 16, 2017
@BenjaminJurke
Copy link

That would also be of extreme interest to me. Imagine LSTMs for advanced condition monitoring on embedded platforms!

@RadjaHachilif
Copy link

Hello,
I am also interested in LSTM support in MKL-DNN and I wanted to ask if you you could provide an implementation for LSTM or it is still work in progress ?

@igorsafo
Copy link
Contributor

Hello @RadjaHachilif ,
MKL-DNN already has RNN,LSTM and GRU support. An example for LSTM cell can be found here: https://github.com/intel/mkl-dnn/blob/master/examples/simple_rnn.cpp#L255

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A feature or an optimization request
Projects
None yet
Development

No branches or pull requests

5 participants