Open WYYAHYT opened 1 year ago
Got it as well, did you solve it?
Traceback (most recent call last):
File "/home/aify/anaconda3/envs/VILNet/lib/python3.9/site-packages/spconv/pytorch/conv.py", line 385, in _conv_forward
res = ops.get_indice_pairs_implicit_gemm(
File "/home/aify/anaconda3/envs/VILNet/lib/python3.9/site-packages/spconv/pytorch/ops.py", line 550, in get_indice_pairs_implicit_gemm
SpconvOps.sort_1d_by_key_allocator(pair_mask_tv[j],
RuntimeError: merge_sort: failed to synchronize: cudaErrorIllegalAddress: an illegal memory access was encountered
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/aify/anaconda3/envs/VILNet/lib/python3.9/site-packages/spconv/pytorch/conv.py", line 402, in _conv_forward
msg += f"indices={indices.shape},bs={batch_size},ss={spatial_shape},"
File "/home/aify/anaconda3/envs/VILNet/lib/python3.9/site-packages/torch/_tensor.py", line 872, in __format__
return self.item().__format__(format_spec)
RuntimeError: CUDA error: an illegal memory access was encountered
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.
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.
did you solve it? I run my code on cuda:0 and it workied well. However, when I changed to use cuda:1, it occured this problems.
I have the same problem. It only works well on cuda:0. Meanwhile, it cannot work well with timm.
I tried to run example/mnist/mnist_sparse.py, but failed with error:
env infomation:
script:
Really hope someone can help