Skip to content

LSTM operator is not supported #3475

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

Closed
ajayanto opened this issue Aug 30, 2019 · 3 comments
Closed

LSTM operator is not supported #3475

ajayanto opened this issue Aug 30, 2019 · 3 comments

Comments

@ajayanto
Copy link

When I try to compile the following model,

image

I got the following error
MODEL_LOADER_UNSUPPORTED_OPERATOR message: Failed to load operator LSTM

It seems LSTM operator is not implemented in glow.

@jfix71
Copy link
Contributor

jfix71 commented Aug 30, 2019

Hi @ajayanto, thanks for opening the issue. We do not currently support loading the LSTM, but we do support all of its components. We haven't made a lot of progress here because LSTMs are usually used in RNNs, and Glow does not currently support control flow which is needed for RNNs. The best option for RNNs right now is to unroll them to some max length, but that isn't currently supported directly in Glow -- it must be done loading the model into Glow.

So, if your model is not an RNN model/it doesn't need control flow, then this should be something that can fixed without a lot of work. Do you have any interest in working on this?

@ajayanto
Copy link
Author

ajayanto commented Sep 3, 2019

We are looking into an RNN model. Is there any guidance available for RNN control flow implementation in glow?

@jfix71
Copy link
Contributor

jfix71 commented Sep 3, 2019

See the previous discussion in #2738. Going to close this issue as a duplicate, please continue the discussion there.

@jfix71 jfix71 closed this as completed Sep 3, 2019
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