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 #5

Closed
751565516 opened this issue Sep 9, 2021 · 1 comment
Closed

CUDA kernel failed : invalid device function #5

751565516 opened this issue Sep 9, 2021 · 1 comment

Comments

@751565516
Copy link

My env is RTX SUPER 2070,CUDA10.1,PYTORCH1.7.0,python3.7.
When I run bash ./scripts/train.sh 0 --config ./cfgs/KITTI_models/PoinTr.yaml --exp_name example
I got a error:
CUDA kernel failed : invalid device function
void furthest_point_sampling_kernel_wrapper(int, int, int, const float*, float*, int*) at L:228 in /tmp/pip-install-1fkhsme8/pointnet2-ops_2dcfc30f04014384afee68e794cd26b7/pointnet2_ops_lib/pointnet2_ops/_ext-src/src/sampling_gpu.cu
./scripts/train.sh: line 8: 2704 Segmentation fault (core dumped) CUDA_VISIBLE_DEVICES=${GPUS} python main.py ${PY_ARGS}
I tried to solve it,but failed.Can you help me?

@yuxumin
Copy link
Owner

yuxumin commented Sep 9, 2021

I think the problem may come from your pytorch version or cuda version.Here and here are the same problem. Hope it can help.

@yuxumin yuxumin closed this as completed Sep 15, 2021
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