Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when run testcuda.py #69

Open
xuqingyu26 opened this issue Aug 16, 2023 · 0 comments
Open

Error when run testcuda.py #69

xuqingyu26 opened this issue Aug 16, 2023 · 0 comments

Comments

@xuqingyu26
Copy link

The environment is:
torch1.11+cu11.3+python3.8+ubuntu22.04

And the project is seccessfully compiled.

When run the testcuda.py ,i run into the following questions:
error in modulated_deformable_im2col_cuda: no kernel image is available for execution on the device
error in modulated_deformable_col2im_coord_cuda: no kernel image is available for execution on the device
error in modulated_deformable_col2im_cuda: no kernel image is available for execution on the device
error in modulated_deformable_im2col_cuda: no kernel image is available for execution on the device
error in modulated_deformable_col2im_coord_cuda: no kernel image is available for execution on the device
error in modulated_deformable_col2im_cuda: no kernel image is available for execution on the device
error in modulated_deformable_im2col_cuda: no kernel image is available for execution on the device
torch.Size([2, 64, 128, 128])
Traceback (most recent call last):
File "testcuda.py", line 285, in
example_dpooling()
File "testcuda.py", line 239, in example_dpooling
dout = dpooling(input, rois, offset)
File "/home/user/anaconda3/envs/pytorch1.11.0/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1110, in _call_impl
return forward_call(*input, **kwargs)
File "/home/user/PycharmProjects/MOT_Project/1/CenterTrack-master/src/lib/model/networks/DCNv2-pytorch_1.11/dcn_v2.py", line 267, in forward
return dcn_v2_pooling(
File "/home/user/PycharmProjects/MOT_Project/1/CenterTrack-master/src/lib/model/networks/DCNv2-pytorch_1.11/dcn_v2.py", line 199, in forward
output, output_count = _backend.dcn_v2_psroi_pooling_forward(
RuntimeError: CUDA error: no kernel image is available for execution on the device
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.

Could please help me solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant