Fix biTransformer export (#583)
Summary: Pull Request resolved: https://github.com/fairinternal/fairseq-py/pull/583 D14610694 fixed issues in layerNorm exporting by making it conditional. D15260838 changed the implementation of TransformerDecoderLayer to the one under transformer, thus losing the fix. Bringing it back here. Reviewed By: myleott, geof90, liaimi Differential Revision: D15357119 fbshipit-source-id: e29e053ca5beca0008d7a8dad9880a483a14c7b9
Showing
Please register or sign in to comment