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-05-23 17:13:01 +08:00
2023-03-30 17:08:46 +08:00
2024-04-30 11:49:20 +08:00
2022-05-23 17:13:01 +08:00
2022-05-23 17:13:01 +08:00
2023-03-30 17:08:46 +08:00
2023-10-19 22:54:43 +08:00
2022-05-23 17:13:01 +08:00
2022-05-23 17:13:01 +08:00
2024-01-27 06:41:56 +08:00
2024-01-26 19:18:33 +08:00
2024-12-16 10:24:16 +08:00
2024-01-04 13:59:32 +08:00
2022-05-23 17:13:01 +08:00
2022-10-18 11:25:31 +08:00
2022-05-23 17:13:01 +08:00
2023-09-21 21:16:14 +08:00
2023-05-23 16:11:00 +08:00
2022-05-23 17:13:01 +08:00
2024-01-04 13:59:32 +08:00
2022-10-13 15:17:20 +08:00
2022-05-23 17:13:01 +08:00
2024-12-16 10:24:16 +08:00