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 error: pybind11/cast.h & pybind11.h #65
Comments
I had the same error |
Hello @zizhao and @furaga, could you please try replacing all instances of If it helps, I will make a PR to integrate that change. Thanks for bring up this issue! |
@Jean-Francois-Lafleche Thank you for the information. I tried the following commands:
However, I encountered another error
I found my environment is not latest.
I installed pytorch 1.2.0 because I cannot install CUDA 10.1 for some reason. |
Hi, @furaga
|
@zhuhaozh No. I have not tried anything since the above post... |
Can you run |
@Jean-Francois-Lafleche The output is here. Thank you.
|
@furaga After replacing all the <torch/extension.h> with <torch/types.h>, I met the same error. cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for C/ObjC but not for C++ My cuda: |
Thanks @renleidewenming! It seems the trouble is coming from some deprecations that were introduced between PyTorch 1.0 and 1.2. For anyone using PyTorch < 1.2, please follow @renleidewenming's solution. PR #89 will be introduced to increase the minimum requirements of PyTorch to 1.2 and for CUDA 10.0.130. |
I am still seeing this issue with Pytorch 1.3. I also tried modifying the header files like @renleidewenming suggested. Is anyone else still having this issue?
|
I'm also seeing this issue even after having tried editing the header files. Cuda printout:
|
Hi, thank you for using Kaolin! The library went through a major rewrite with the version 0.9.0, and only the core library components we can thoroughly test and maintain are now part of this repository. Please refer to our latest documentation: Closing the bug as it is no longer relevant to this repo. |
…sforms Object Transforms for ray traced objects
Dear All,
I got the build error on pybind11 when processing the "python setup.py install".
The errors are as follows:
torch/include/pybind11/pytypes.h:1205:395: error: template argument 2 is invalid
torch/include/pybind11/pytypes.h:1205:397: error: template argument 1 is invalid
torch/include/pybind11/pytypes.h:1205:397: error: template argument 2 is invalid
torch/include/pybind11/pytypes.h:1205:412: error: template argument 1 is invalid
/root/miniconda3/envs/kaolin/lib/python3.6/site-packages/torch/include/pybind11/cast.h:776:149: error: expansion pattern ‘std::is_copy_constructible<_Tp>::value’ contains no argument packs
.../torch/include/pybind11pybind11.h:1471:131: error: no matching function for call to ‘pybind11::cpp_function::cpp_function(pybind11::detail::enum_base::init(bool, bool)::<lambda(pybind11::object, pybind11::object)>, pybind11::is_method)’
... pybind11/cast.h:2108:44: error: no matching function for call to ‘collect_arguments(pybind11::object&)’
I have tried built the pybind11 separately, and it's ok, I don't know what's wrong with the pybind11 when combining with the kaolin.
Env:
System: ubuntu 16.04
CUDA Version 10.1
cudnn: 9.0
Anybody know? Thanks very much!
The text was updated successfully, but these errors were encountered: