mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-08 09:32:20 +00:00
- 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
How to run this recipe
You can find detailed instructions by visiting https://k2-fsa.github.io/icefall/recipes/Non-streaming-ASR/yesno/index.html
It describes how to run this recipe and how to use
a pre-trained model with ./pretrained.py
.