Thanks. If you have gotten nn.LSTM it to work, I can stop trying to stare down nn._functions.rnn .
Should you remember what you did to make it later, I’d appreciate a hint.
Memory consumptions seems to be often stable over a few tens of mini-batches, but then continues increase and not bounce back after an epoch.
I have tried various things like keeping the input size greater than the hidden size (times two for bidirectional), but to no avail.