I hit into same issue and after looking at pytorch onnx exporter code and caffe2 onnx importer code ,realized onnx importer is expecting lstm parameters in bit different format and realized it was version conflict.
Updating to pytorch 0.4.1(they have released it 5 days back)resolved my issue. It might be worth trying for you[quote=“lysuhin, post:1, topic:21826”]
[/quote]