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

CUDA kernel failed : invalid device function #22

Open
MingyeXu opened this issue Nov 19, 2020 · 2 comments
Open

CUDA kernel failed : invalid device function #22

MingyeXu opened this issue Nov 19, 2020 · 2 comments

Comments

@MingyeXu
Copy link

Thanks for the code so much. Have you meet the following problem?

CUDA kernel failed : invalid device function
void masked_ordered_query_ball_point_kernel_wrapper(int, int, int, float, int, const float*, const float*, const int*, const int*, int*, int*, float*, int*) at L:109 in _ext_src/src/masked_ordered_ball_query_gpu.cu
CUDA kernel failed : invalid device function
void masked_ordered_query_ball_point_kernel_wrapper(int, int, int, float, int, const float*, const float*, const int*, const int*, int*, int*, float*, int*) at L:109 in _ext_src/src/masked_ordered_ball_query_gpu.cu
CUDA kernel failed : invalid device function
void masked_ordered_query_ball_point_kernel_wrapper(int, int, int, float, int, const float*, const float*, const int*, const int*, int*, int*, float*, int*) at L:109 in _ext_src/src/masked_ordered_ball_query_gpu.cu
CUDA kernel failed : invalid device function
void masked_ordered_query_ball_point_kernel_wrapper(int, int, int, float, int, const float*, const float*, const int*, const int*, int*, int*, float*, int*) at L:109 in _ext_src/src/masked_ordered_ball_query_gpu.cu
Traceback (most recent call last):
File "/home/xumingye/anaconda2/envs/pytorch_1.4/lib/python3.6/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/xumingye/anaconda2/envs/pytorch_1.4/lib/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/xumingye/anaconda2/envs/pytorch_1.4/lib/python3.6/site-packages/torch/distributed/launch.py", line 263, in
main()
File "/home/xumingye/anaconda2/envs/pytorch_1.4/lib/python3.6/site-packages/torch/distributed/launch.py", line 259, in main
cmd=cmd)

@zeliu98
Copy link
Owner

zeliu98 commented Dec 16, 2020

Hi @MingyeXu,
This may cause by the lack of GPU memory, can you reduce the batch size and try again?

@MingyeXu
Copy link
Author

Thank you so much, I'll try it.

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

2 participants