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

can not pass the test #6

Open
haobo724 opened this issue Jul 26, 2021 · 5 comments
Open

can not pass the test #6

haobo724 opened this issue Jul 26, 2021 · 5 comments

Comments

@haobo724
Copy link

Hi ,

At first, Thank you so much providing this library!

I got some trouble when I first used it. I followed the intro step install the library successfully But when I run test, in the section about GPU Test, the program gets stuck, like in an infinite loop. After a few minutes the script will end by itself without error. In console shows `Testing lietorch forward pass (GPU) ...

Process finished with exit code -1073741819 (0xC0000005)`

Obviously this is not a normal exit, there may be a memory leak or something else.

And when I run the demo.py of Raft3d project , the same issue occured again, the data could transfer into the model but model can not complete a complete calculation. I noticed it will get stuck in projective_ops.py in line 42: X1 = Ts * X0 .

My GPU is GTX 1070 , run on win 10 pytorch ==1.8 cudatookit =11.1 python 3.8

@863689877
Copy link

Hello, have you solved your problem?I met the same problem.

@yclicc
Copy link

yclicc commented Nov 22, 2023

I'm still not sure why it should be, but I managed to fix this on Windows by making all the CUDA kernels in lietorch_gpu.cu accept regular pointers where currently they accept const pointers. Hopefully someone who knows more about CUDA and Windows can make a proper pull request.

@iampalop
Copy link

Have you solved it yet? can not pass the test neither

@yclicc
Copy link

yclicc commented Jul 31, 2024

Have you solved it yet? can not pass the test neither

Yep, see my comment above for a solution, though I don't think it's been put into main yet.

See also the discussion at #22 (comment)

@iampalop
Copy link

thank you so much!

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

4 participants