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-03-16 22:14:30 +08:00
2022-03-16 22:14:30 +08:00
2024-02-22 15:31:20 +08:00
2023-10-11 16:58:00 +08:00
2022-06-28 00:18:54 +08:00
2023-03-30 14:30:13 +08:00
2023-03-10 14:37:28 +08:00
2022-03-17 11:17:52 +08:00
2023-12-10 11:38:39 +08:00
2023-02-07 15:01:59 +08:00
2023-12-10 11:38:39 +08:00
2024-12-16 10:24:16 +08:00
2023-09-24 17:31:01 +08:00
2024-01-04 13:59:32 +08:00
2023-12-10 11:38:39 +08:00
2023-09-24 17:31:01 +08:00
2022-11-17 09:42:17 -05:00
2024-01-05 10:21:27 +08:00
2022-06-28 00:18:54 +08:00
2024-12-16 10:24:16 +08:00