I also have the following error after running python build.py install from models/torch-nndistance:
/usr/miniconda3/envs/huang_torch/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1401:51: required from here
/usr/miniconda3/envs/huang_torch/lib/python3.7/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(std::forward(args)...).call(derived().ptr());
/usr/miniconda3/envs/huang_torch/lib/python3.7/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) {
^~~~~~~~~~~~~~~~~
/usr/miniconda3/envs/huang_torch/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2087:1: note: template argument deduction/substitution failed:
/usr/miniconda3/envs/huang_torch/lib/python3.7/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) {
^~~~~~~~~~~~~~~~~
/usr/miniconda3/envs/huang_torch/lib/python3.7/site-packages/torch/include/pybind11/cast.h:2094:1: note: template argument deduction/substitution failed:
error: command '/usr/bin/nvcc' failed with exit status 1
Here is the last part of the code.
I would be very grateful if you could give me some help.
Environment:
System: ubuntu 18.04
Python: 3.7.7
PyTorch: 1.2.0
CUDA Version: 9.1
GPU: Quadro GP100
I also have the following error after running python build.py install from models/torch-nndistance:
/usr/miniconda3/envs/huang_torch/lib/python3.7/site-packages/torch/include/pybind11/pybind11.h:1401:51: required from here /usr/miniconda3/envs/huang_torch/lib/python3.7/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(std::forward(args)...).call(derived().ptr());