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
..
2022-11-12 18:11:19 +08:00
2024-03-04 23:28:04 +08:00
2022-11-12 18:11:19 +08:00
2022-11-12 18:11:19 +08:00
2023-09-07 16:34:53 +08:00
2024-03-04 23:28:04 +08:00
2023-06-02 14:12:42 +08:00
2023-09-20 08:15:54 +08:00
2022-11-12 18:11:19 +08:00
2023-09-22 09:57:15 +08:00
2023-08-12 16:53:59 +08:00
2024-12-16 10:24:16 +08:00
2024-03-04 23:28:04 +08:00
2023-03-17 13:44:29 +08:00
2024-01-21 02:10:42 +08:00
2024-01-04 13:59:32 +08:00
2023-02-13 23:41:43 +08:00
2024-12-16 10:24:16 +08:00
2024-03-04 23:28:04 +08:00
2023-02-09 00:02:38 +08:00
2024-03-04 23:28:04 +08:00
2023-02-09 00:02:38 +08:00
2023-09-24 17:06:47 +08:00
2024-01-04 13:59:32 +08:00
2023-02-13 23:41:43 +08:00
2024-12-16 10:24:16 +08:00
2023-03-28 23:24:24 +08:00
2024-03-04 23:28:04 +08:00
2023-09-21 21:16:14 +08:00
2024-12-16 10:24:16 +08:00
2024-12-16 10:24:16 +08:00