【已解决】RuntimeError: CUDA error: device-side assert triggeredCUDA kernel errors might be asynchronous
问题描述具体报错信息是./aten/src/ATen/native/cuda/Loss.cu:240:nll_loss_forward_reduce_cuda_kernel_2d:block:[0,0,0],thread:[0,0,0]Assertion`t>=0&&t=0&&t=0&&t=0&&t=0&&t=0&&t=0&&t=0&&t=0&&t=0&&t=0&&t=0&&t=0&&t./ate