error when using multi-gpu option for trainingNetwork

7 views (last 30 days)
I've stuck with this problem for more than a month. In 'trainingOptions', 'gpu' is working for 'ExcutionEnvironment', but 'multi-gpu' is not working and showing the following error!
Parallel training of recurrent networks is not supported. 'ExecutionEnvironment' value in trainingOptions function must be 'auto', 'gpu', or 'cpu'.
I have two GPUs. If I check 'gpuDevice', I can see both GPUs. Also, I have Parallel Computing Toolbox, but I don't know what should I change in that toolbox in order to use the multi-gpu option.
Thank you so much in advance for your effort to help my problem!! W

Accepted Answer

Joss Knight
Joss Knight on 8 Aug 2018
You have a recurrent network. So you have a network with a SequenceInputLayer and at least one LSTM layer. For these networks, multi-gpu training is not yet supported. Sorry.
  1 Comment
Wonsup Lee
Wonsup Lee on 12 Aug 2018
Edited: Wonsup Lee on 29 Jan 2019
Hi Joss, Thank you for the notification. Hope the multi-gpu option is soon possible for LSTM! Regards, W

Sign in to comment.

More Answers (0)

Categories

Find more on Deep Learning in Parallel and in the Cloud 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!

Translated by