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
..
2024-01-21 02:10:42 +08:00
2022-04-29 15:40:30 +08:00
2022-04-29 15:40:30 +08:00
2022-06-28 00:18:54 +08:00
2022-11-17 14:18:05 -05:00
2023-04-03 16:20:29 +08:00
2022-04-29 15:40:30 +08:00
2022-04-29 15:40:30 +08:00
2023-09-22 09:57:15 +08:00
2023-08-12 16:53:59 +08:00
2022-04-29 15:40:30 +08:00
2023-04-21 18:09:41 +08:00
2024-01-04 13:59:32 +08:00
2022-04-29 15:40:30 +08:00
2022-12-27 13:59:55 +08:00
2022-10-18 11:25:31 +08:00
2024-12-16 10:24:16 +08:00
2024-03-04 23:28:04 +08:00
2024-03-04 23:28:04 +08:00
2024-01-04 13:59:32 +08:00
2022-04-29 15:40:30 +08:00
2024-01-04 13:59:32 +08:00
2022-12-13 16:13:26 +08:00
2022-04-29 15:40:30 +08:00
2022-07-25 16:53:23 +08:00
2024-01-05 10:21:27 +08:00
2022-06-28 00:18:54 +08:00
2023-09-21 21:16:14 +08:00
2022-08-27 17:26:21 +08:00
2022-12-02 10:53:06 +08:00
2024-12-16 10:24:16 +08:00