icefall/egs/aishell/ASR/pruned_transducer_stateless7_streaming
Fangjun Kuang fba5e67d5e
Fix CI tests. (#1974)
- Introduce unified AMP helpers (create_grad_scaler, torch_autocast) to handle 
  deprecations in PyTorch ≥2.3.0

- Replace direct uses of torch.cuda.amp.GradScaler and torch.cuda.amp.autocast 
  with the new utilities across all training and inference scripts

- Update all torch.load calls to include weights_only=False for compatibility with 
  newer PyTorch versions
2025-07-01 13:47:55 +08:00
..
2025-07-01 13:47:55 +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.