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

compatible with torch1.12 #1124

Closed
OuyangJunyuan opened this issue Sep 25, 2022 · 4 comments
Closed

compatible with torch1.12 #1124

OuyangJunyuan opened this issue Sep 25, 2022 · 4 comments
Labels

Comments

@OuyangJunyuan
Copy link
Contributor

"<THC/THC.h> no such file or directory" occured when I try to build OpenPCDet with torch1.12.
I solve this problem as following:

  1. remove all <THC/THC.h> in ops dir.
  2. replace all xxx.data<type>() in ops dir with xxx.data_ptr<type>().
  3. replace all x.type().is_cuda() in ops dir with x.is_cuda().
  4. remove all extern THCstate state in ops dir.
@sshaoshuai
Copy link
Collaborator

We have solved a similar issue here: #1041.
Can you look into this PR and check whether it solves your issue?

@OuyangJunyuan
Copy link
Contributor Author

We have solved a similar issue here: #1041. Can you look into this PR and check whether it solves your issue?

thanks. It works for me

@github-actions
Copy link

This issue is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale label Oct 29, 2022
@github-actions
Copy link

This issue was closed because it has been inactive for 14 days since being marked as stale.

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

No branches or pull requests

2 participants