Open uulsj opened 2 months ago
/root/miniconda3/envs/bp/lib/python3.9/site-packages/torch/include/pybind11/detail/../cast.h:45:120: error: expected template-name before '<' token 45 | return caster.operator typename make_caster::template cast_op_type(); | ^ /root/miniconda3/envs/bp/lib/python3.9/site-packages/torch/include/pybind11/detail/../cast.h:45:120: error: expected identifier before '<' token /root/miniconda3/envs/bp/lib/python3.9/site-packages/torch/include/pybind11/detail/../cast.h:45:123: error: expected primary-expression before '>' token 45 | return caster.operator typename make_caster::template cast_op_type(); | ^ /root/miniconda3/envs/bp/lib/python3.9/site-packages/torch/include/pybind11/detail/../cast.h:45:126: error: expected primary-expression before ')' token 45 | return caster.operator typename make_caster::template cast_op_type();
Hello, we have encountered the same problem. Have you solved it yet
/root/miniconda3/envs/bp/lib/python3.9/site-packages/torch/include/pybind11/detail/../cast.h:45:120: error: expected template-name before '<' token 45 | return caster.operator typename make_caster::template cast_op_type();
| ^
/root/miniconda3/envs/bp/lib/python3.9/site-packages/torch/include/pybind11/detail/../cast.h:45:120: error: expected identifier before '<' token
/root/miniconda3/envs/bp/lib/python3.9/site-packages/torch/include/pybind11/detail/../cast.h:45:123: error: expected primary-expression before '>' token
45 | return caster.operator typename make_caster::template cast_op_type();
| ^
/root/miniconda3/envs/bp/lib/python3.9/site-packages/torch/include/pybind11/detail/../cast.h:45:126: error: expected primary-expression before ')' token
45 | return caster.operator typename make_caster::template cast_op_type();