Closed yangluo23 closed 4 months ago
OK,I solved this problem. If you have the same issue in the future, please make sure your gcc/g++ version matches your cuda version, and your torch (with cuda) version should also match that. For me, the versions are:
gcc-10.3.0
cuda-11.7
torch-1.13.1+cu117
I highly recommend you follow such [solution] to install your package. Hope you well.
Description
Processing ./raymarching Preparing metadata (setup.py) ... done Building wheels for collected packages: raymarching Building wheel for raymarching (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [229 lines of output] running bdist_wheel running build running build_ext /hpc/home/connect.dzuo721/.conda/envs/dream/lib/python3.8/site-packages/torch/utils/cpp_extension.py:353: UserWarning:
Steps to Reproduce
I just followed all the same steps in this repo. Also, I have followed this issue. But nothing works.
Expected Behavior
successfully install cuda extensions:
bash scripts/install_ext.sh
Environment
The envs package:
and
nvcc -V
: