Код: Выделить всё
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
t = torch.tensor([1,2], device=device)
Код: Выделить всё
RuntimeError: CUDA error: device-side assert triggered
CUDA kernel errors might be asynchronously reported at some other API call,so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1
У кого-нибудь когда-нибудь была такая проблема?
Подробнее здесь: https://stackoverflow.com/questions/681 ... d-on-colab