Workaround for Parallel Computing with LSTM

3 views (last 30 days)
At the moment, I am unable to train LSTMs on MATLAB with a parallel pool. MATLAB says it does not seem to support a parallel environment execution when training LSTM networks. Are there any suggestions as to what can be done to workaround this? Perhaps a very similar type of network that does support parallel computing?
My team is deciding on whether or not to switch to Tensorflow and leave MATLAB due to this limitation. Is there any APIs or Toolboxes that can be used to use parallel pools with RNNs + LSTMs?
Thanks.

Accepted Answer

Madhav Thakker
Madhav Thakker on 29 Dec 2020
Hi Aditya,
Using multiple workers are not yet supported for LSTMs or recurrent networks. Unfortunately, there is no workaround for training recurrent neural networks like LSTM in parallel. The developers are aware of this behaviour and will try to provide a workaround in future releases.
Hope this helps.
  2 Comments
ThomasP
ThomasP on 3 Feb 2022
Hi,
a year passed, is there a workaround now?
Norman-Raul Gorek
Norman-Raul Gorek on 21 Mar 2023
Hey, two years have passed, still nothing?

Sign in to comment.

More Answers (0)

Categories

Find more on Image Data Workflows in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!