wenet-e2e / wenet

Production First and Production Ready End-to-End Speech Recognition Toolkit
https://wenet-e2e.github.io/wenet/
Apache License 2.0
4.08k stars 1.07k forks source link

unuse forward when jit exporting transducer #2548

Closed Yonnie1331 closed 4 months ago

Yonnie1331 commented 4 months ago

Error when jit exporting transducer with previous code Found this forward func is not necessary for jit export (like transformer/asr_model.py, line 77 and 78)

Mddct commented 4 months ago

https://github.com/wenet-e2e/wenet/issues/2544