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-06-12 17:45:13 +08:00
2021-08-23 11:36:29 +08:00
2024-12-16 10:24:16 +08:00
2024-01-31 22:53:36 +08:00
2024-12-16 10:24:16 +08:00
2023-09-24 17:31:01 +08:00
2021-10-18 15:20:32 +08:00
2022-11-28 22:34:02 +08:00
2024-03-04 23:28:04 +08:00
2024-02-22 15:31:20 +08:00
2024-12-16 10:24:16 +08:00
2024-02-22 15:31:20 +08:00
2024-10-30 21:14:12 +08:00
2024-03-20 15:35:14 +08:00
2024-01-27 00:32:30 +08:00
2024-05-22 22:29:38 +08:00
2024-03-14 11:33:49 +08:00
2022-12-04 17:20:17 +08:00
2024-03-20 16:43:45 +08:00
2022-11-17 09:42:17 -05:00
2024-02-20 14:38:51 +08:00
2023-02-09 18:32:03 +08:00
2022-12-11 21:30:39 +08:00
2022-10-31 13:44:40 +08:00
2023-09-29 07:52:46 +08:00
2024-04-26 00:55:44 +08:00
2024-03-04 23:28:04 +08:00
2024-10-30 10:14:34 +08:00