Open EthanIrby8 opened 12 months ago
Hi,
It's hard to say exactly what's wrong, but the error happens while trying to build the c++ extension. Please make sure you have Visual Studio and a recent Cuda SDK installed on the machine. If the build process fails there should be some error from the c/nvcc compiler. I'm not sure but I don't think you need to name match with the pybind11 bindings.
I would also try a newer version of pytorch. While the codebase is quite old, I usually run our follow up projects (https://github.com/NVlabs/nvdiffmodeling) with Pytorch 2.0 & Cuda 11.7.
It could also be a matter of running pip install ninja
. That library used to be bundled with pytorch, but it has been moved out from newer versions.
Hitting a slight error when loading an extension "renderutils_plugin" at line 61 in /src/renderutils/ops.py.
RuntimeError: Error building extension 'renderutils_plugin
Checking the pytorch docs for torch.utils.cpp_extension.load(), the parameter "name" must be the same as the name of the pybind11 module. Is this the case here?
Running on Windows 11 Python 3.7 PyTorch 1.10.2+cu102