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 nvcc compile issue with pytorch 1.4.0 on windows #57

Closed
ChildAdrian opened this issue Feb 13, 2020 · 2 comments
Closed

cuda nvcc compile issue with pytorch 1.4.0 on windows #57

ChildAdrian opened this issue Feb 13, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request installation Installation questions or issues

Comments

@ChildAdrian
Copy link

Hi! my env: win10, pytorch 1.4.0, py3.7, cuda10.2
when i run setup.py it return with:

C:/python37/lib/site-packages/torch/include\torch/csrc/jit/argument_spec.h(190): error: member "torch::jit::ArgumentSpecCreator::DEPTH_LIMIT" may not be initialized

C:/python37/lib/site-packages/torch/include\torch/csrc/jit/script/module.h(467): error: member "torch::jit::script::detail::ModulePolicy::all_slots" may not be initialized

C:/python37/lib/site-packages/torch/include\torch/csrc/jit/script/module.h(480): error: member "torch::jit::script::detail::ParameterPolicy::all_slots" may not be initialized

C:/python37/lib/site-packages/torch/include\torch/csrc/jit/script/module.h(494): error: member "torch::jit::script::detail::BufferPolicy::all_slots" may not be initialized

C:/python37/lib/site-packages/torch/include\torch/csrc/jit/script/module.h(507): error: member "torch::jit::script::detail::AttributePolicy::all_slots" may not be initialized

5 errors detected in the compilation of "C:/Users/xxxx/AppData/Local/Temp/tmpxft_00002db4_00000000-10_rasterize_meshes.cpp1.ii".
error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\bin\nvcc.exe' failed with exit status 1

how to fit it?

@yuanluxu
Copy link
Contributor

yuanluxu commented Feb 13, 2020

@ChildAdrian Please check Issue #10 for patching the pytorch 1.4.0 source code.

@nikhilaravi
Copy link
Contributor

This will be fixed by #9. Thanks @yuanluxu for adding this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request installation Installation questions or issues
Projects
None yet
Development

No branches or pull requests

4 participants