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
2025-07-01 13:47:55 +08:00
2021-08-23 15:59:36 +08:00
2025-07-01 13:47:55 +08:00
2025-07-01 13:47:55 +08:00
2024-06-21 11:10:14 +08:00
2022-11-17 09:42:17 -05:00

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.