解决多卡并行时tensor在不同的cuda上

解决RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:
https://blog.csdn.net/aminghhhh/article/details/130839821

posted @ 2023-11-20 12:57  哦摩西罗伊  阅读(57)  评论(0编辑  收藏  举报