icefall/egs/commonvoice/ASR/pruned_transducer_stateless7_streaming
Li Peng 3e4da5f781
Replace deprecated pytorch methods (#1814)
* Replace deprecated pytorch methods

- torch.cuda.amp.GradScaler(...) => torch.amp.GradScaler("cuda", ...)
- torch.cuda.amp.autocast(...) => torch.amp.autocast("cuda", ...)

* Replace `with autocast(...)` with `with autocast("cuda", ...)`


Co-authored-by: Li Peng <lipeng@unisound.ai>
2024-12-16 10:24:16 +08:00
..

This recipe implements Streaming Zipformer-Transducer model.

See https://k2-fsa.github.io/icefall/recipes/Streaming-ASR/librispeech/zipformer_transducer.html for detailed tutorials.

./emformer.py and ./train.py are basically the same as ./emformer2.py and ./do_not_use_it_directly.py. The only purpose of ./emformer2.py and ./do_not_use_it_directly.py is for exporting to sherpa-ncnn.