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

build tiny-cuda-nn error #12

Closed
Holmes-Alan opened this issue Apr 1, 2022 · 4 comments
Closed

build tiny-cuda-nn error #12

Holmes-Alan opened this issue Apr 1, 2022 · 4 comments

Comments

@Holmes-Alan
Copy link

Hello there, I have a problem compiling the tiny-cuda-nn. I compiled it on a win10 system with RTX3090, CUDA11.3 and VS2019. Somehow I just cannot compile the tiny-cuda-nn and I got too many errors that seem to come from VS. Can you help me out?
image

@jmunkberg
Copy link
Collaborator

Hello,

I haven't seen that issue locally. Note that we only use the encoder part of tcnn, pip install --global-option="--no-networks" git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch

Does it work if you compile the tiny-cuda-nn torch bindings in isolation, following?
https://github.com/NVlabs/tiny-cuda-nn#pytorch-extension

For tiny-cuda-nn issues, please report it directly at https://github.com/NVlabs/tiny-cuda-nn as we are just users of that separate project.

@JHnvidia
Copy link
Collaborator

JHnvidia commented Apr 1, 2022

Hi @Holmes-Alan,

Unfortunately there can be compability issues between MSVC versions and CUDA versions. I've noted a similar error spam in the std headers if my MSVC version is too new for the CUDA version. Please try to upgrade to CUDA 11.6 developer kit and see if this goes away (make sure to reboot and check that the CUDA_PATH is updated to point to 11.6).

It's possible to have a newer version of CUDA than used in pytorch, so locally I'm running with PyTorch cuda = 11.3 and MSVC cuda = 11.6.

Best regards

@Holmes-Alan
Copy link
Author

problem solved, Thank you!

@ECE-Engineer
Copy link

@Holmes-Alan may I please ask how you resolved the issue?

I have a very similar setup as to what you mentioned and I'm currently dealing with the same issue.

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