Open antithing opened 1 year ago
Hi i'm not quite familiar with windows build and it is a bit hard to tell from this error info.
I would recommend you to install the pre-built wheels following the instruction here.
Thank you for getting back to me. The project I am compiling expects version 0.3.3, https://github.com/bennyguo/instant-nsr-pl
when I use the wheel I get ;
from nerfacc import ContractionType, OccupancyGrid, ray_marching, render_weight_from_density, accumulate_along_rays
ImportError: cannot import name 'ContractionType'
We had a major update from 0.3.5
to 0.4.0
and had API changes in-between. So you might want to install nerfacc<=0.3.5
from here. Make sure to find the correct version of pytorch and cuda that corresponds to it.
Thank you! I will try that.
I also found that I saw this..
subprocess.CalledProcessError: Command '['where', 'cl']' returned non-zero exit status 1.
Epoch 0: : 0it [00:15, ?it/s]
[W C:\actions-runner\_work\pytorch\pytorch\builder\windows\pytorch\torch\csrc\CudaIPCTypes.cpp:15] Producer process has been terminated before all shared CUDA tensors released. See Note [Sharing CUDA tensors
Until I added the path to cl.exe to my environment variables. Is that normal?
Honestly I don't have too much of knowledge of compiling on windows.
I am building nerfacc as part of a third party app, and I get the following error from nerfacc:
What might be causing this?