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
..
2021-07-24 17:13:20 +08:00
2025-07-01 13:47:55 +08:00
2022-11-17 09:42:17 -05:00
2025-07-01 13:47:55 +08:00
2023-02-09 23:54:45 +08:00