I think I just got the same assertion error from the IndexKernel.cu:53
/ ATen
Which I cannot find any solution until now…
::operator()(int)->auto: block: [0,0,0], thread: [4,0,0] Assertion
index >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
/opt/conda/conda-bld/pytorch_1549628766161/work/aten/src/ATen/native/cuda/IndexKernel.cu:53: lambda ->auto::operator()(int)->auto: block: [0,0,0], thread: [5,0,0] Assertionindex >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
/opt/conda/conda-bld/pytorch_1549628766161/work/aten/src/ATen/native/cuda/IndexKernel.cu:53: lambda ->auto::operator()(int)->auto: block: [0,0,0], thread: [6,0,0] Assertionindex >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
/opt/conda/conda-bld/pytorch_1549628766161/work/aten/src/ATen/native/cuda/IndexKernel.cu:53: lambda ->auto::operator()(int)->auto: block: [0,0,0], thread: [7,0,0] Assertionindex >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
/opt/conda/conda-bld/pytorch_1549628766161/work/aten/src/ATen/native/cuda/IndexKernel.cu:53: lambda ->auto::operator()(int)->auto: block: [0,0,0], thread: [8,0,0] Assertionindex >= -sizes[i] && index < sizes[i] && "index out of bounds"
failed.
…
Is there any mean to deal with this problem properly? FYI: I’m not really used to dealing with CUDA device side assert errors.
Im using conda/pytorch v1.0.1
on machine equipped with Titan Xp / CUDAv9.1.85
.
The line I tried to execute is as follows:
#A: declared here
#B: 64, 256 torch.cudaFloatTensor
#C: 64 10 256 torch.cudaByteTensor
A = B.unsqueeze(1).repeat(1,10,1) * C.float()```