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
..
2023-07-25 14:46:18 +08:00
2023-05-19 16:47:59 +08:00
2024-10-21 11:30:14 +08:00
2023-05-19 16:47:59 +08:00
2024-10-30 21:14:12 +08:00
2024-02-06 18:25:43 +08:00
2023-08-09 09:40:58 +08:00
2024-08-13 23:02:14 +08:00
2023-10-24 08:17:17 +08:00
2023-05-19 16:47:59 +08:00
2024-07-04 14:19:45 +08:00
2024-03-18 20:11:47 +08:00
2024-10-21 11:30:14 +08:00
2024-10-21 11:30:14 +08:00
2024-07-05 20:19:18 +08:00
2024-12-16 10:24:16 +08:00
2023-06-26 09:33:18 +08:00
2024-01-04 13:59:32 +08:00
2024-07-04 14:19:45 +08:00
2024-01-04 13:59:32 +08:00
2024-07-04 14:19:45 +08:00
2024-07-05 20:19:18 +08:00
2024-12-16 10:24:16 +08:00
2024-03-04 23:28:04 +08:00
2024-07-04 14:19:45 +08:00
2024-03-04 23:28:04 +08:00
2024-03-04 23:28:04 +08:00
2024-03-04 23:28:04 +08:00
2024-03-18 20:11:47 +08:00
2024-03-04 23:28:04 +08:00
2024-01-04 13:59:32 +08:00
2024-01-04 13:59:32 +08:00
2024-01-04 13:59:32 +08:00
2024-01-04 13:59:32 +08:00
2024-10-28 00:59:04 +08:00
2024-07-05 20:19:18 +08:00
2024-07-04 14:19:45 +08:00
2024-07-04 14:19:45 +08:00
2024-12-16 10:24:16 +08:00
2023-06-26 09:33:18 +08:00
2024-08-13 23:02:14 +08:00
2024-03-04 23:28:04 +08:00
2023-07-25 14:46:18 +08:00
2023-07-25 14:46:18 +08:00
2024-12-16 10:24:16 +08:00
2024-12-16 10:24:16 +08:00