-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes for ONNX conversion of Conformer models #2439
Conversation
jbalam-nv
commented
Jul 2, 2021
- Brought in the needed changes from Vahid's earlier PR: https://github.com/NVIDIA/NeMo/pull/2359/files
- Tested conversion with scripts/export/convasr_to_single_onnx.py
- Tested the converted large, medium and small models with dev-clean and WER is very close (within 0.01%) of correspondiong .nemo models
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Swish to SiLU is necessary and should not be reverted.
…, onnx support was added in pytorch 1.8 Signed-off-by: jbalam <[email protected]>
Reverted these changes as onnx conversion of nn.silu is now supported in pytorch |
Signed-off-by: jbalam <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* Changes to suport onnx conversion of conformenr models Signed-off-by: jbalam <[email protected]> * reverting changes to silu activation as this is not an issue anymore, onnx support was added in pytorch 1.8 Signed-off-by: jbalam <[email protected]> * style fix Signed-off-by: jbalam <[email protected]> Signed-off-by: Ghasem Pasandi <[email protected]>
* Changes to suport onnx conversion of conformenr models Signed-off-by: jbalam <[email protected]> * reverting changes to silu activation as this is not an issue anymore, onnx support was added in pytorch 1.8 Signed-off-by: jbalam <[email protected]> * style fix Signed-off-by: jbalam <[email protected]>
* Changes to suport onnx conversion of conformenr models Signed-off-by: jbalam <[email protected]> * reverting changes to silu activation as this is not an issue anymore, onnx support was added in pytorch 1.8 Signed-off-by: jbalam <[email protected]> * style fix Signed-off-by: jbalam <[email protected]>
* Changes to suport onnx conversion of conformenr models Signed-off-by: jbalam <[email protected]> * reverting changes to silu activation as this is not an issue anymore, onnx support was added in pytorch 1.8 Signed-off-by: jbalam <[email protected]> * style fix Signed-off-by: jbalam <[email protected]> Signed-off-by: Paarth Neekhara <[email protected]>