We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Compiling the cpp version is ok, but the cuda python setup.py install fails.
python setup.py install
The output log is quite long so I have attached it, and I put the end of the log below.
Any ideas?
/home/tom/miniconda3/envs/venv/lib/python3.6/site-packages/torch/include/pybind11/pytypes.h:923:28: required from ‘pybind11::str pybind11::str::format(Args&& ...) const [with Args = {pybind11::object&, const pybind11::handle&}]’ /home/tom/miniconda3/envs/venv/lib/python3.6/site-packages/torch/include/pybind11/pybind11.h:1401:51: required from here /home/tom/miniconda3/envs/venv/lib/python3.6/site-packages/torch/include/pybind11/cast.h:2108:44: error: no matching function for call to ‘collect_arguments(pybind11::object&, const pybind11::handle&)’ return detail::collect_arguments<policy>(std::forward<Args>(args)...).call(derived().ptr()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/tom/miniconda3/envs/venv/lib/python3.6/site-packages/torch/include/pybind11/cast.h:2087:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::simple_collector<policy> pybind11::detail::collect_arguments(Args&& ...) simple_collector<policy> collect_arguments(Args &&...args) { ^~~~~~~~~~~~~~~~~ /home/tom/miniconda3/envs/venv/lib/python3.6/site-packages/torch/include/pybind11/cast.h:2087:1: note: template argument deduction/substitution failed: /home/tom/miniconda3/envs/venv/lib/python3.6/site-packages/torch/include/pybind11/cast.h:2094:1: note: candidate: template<pybind11::return_value_policy policy, class ... Args, class> pybind11::detail::unpacking_collector<policy> pybind11::detail::collect_arguments(Args&& ...) unpacking_collector<policy> collect_arguments(Args &&...args) { ^~~~~~~~~~~~~~~~~ /home/tom/miniconda3/envs/venv/lib/python3.6/site-packages/torch/include/pybind11/cast.h:2094:1: note: template argument deduction/substitution failed: error: command '/usr/local/cuda/bin/nvcc' failed with exit status 1
The text was updated successfully, but these errors were encountered:
The first line in the .cu file, change it from #include <torch/extension.h> to #include <torch/types.h>
Sorry, something went wrong.
No branches or pull requests
Compiling the cpp version is ok, but the cuda
python setup.py install
fails.The output log is quite long so I have attached it, and I put the end of the log below.
Any ideas?
The text was updated successfully, but these errors were encountered: