Open Shell0222 opened 1 month ago
Hi, do you have full log for this error?
I recommend you use the same cuda and gcc version as ours. (ie, cuda 11.8, gcc 9.4.0)
I have the same issue, i figure it out by changing the setup.py in the gridencoder
I change the c++14 to c++17.
My cuda is 12.4 and pip install torchaudio==2.1.0+cu121 torchvision==0.16.0+cu121 --index-url https://download.pytorch.org/whl/cu121
I make this change because I see
home/liujiahang/miniconda3/envs/HAC_env/lib/python3.10/site-packages/torch/include/c10/util/C++17.h:27:2: error: #error You need C++17 to compile PyTorch /home/liujiahang/miniconda3/envs/HAC_env/lib/python3.10/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4:2: error: C++17 or later compatible compiler is required to use PyTorch.
This means that I need the C++ version greater than or equal to 17
@Shell0222
Hello! This is a great job! I found such a problem during the replication process. How can I solve it?
Building wheel for gridencoder (setup.py) ... error
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for gridencoder Running setup.py clean for gridencoder Failed to build gridencoder ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (gridencoder)