Closed liruilong940607 closed 3 weeks ago
Hey, just updated on Windows and getting these errors with splatfacto, Nerfstudio v1.1.2 and gsplat v1.0. Any ideas?
`3 errors detected in the compilation of "C:/Users/user/anaconda3/envs/nerfstudio/lib/site-packages/gsplat/cuda/csrc/rasterization.cu". rasterization.cu ninja: build stopped: subcommand failed.
Printing profiling stats, from longest to shortest duration in seconds
Trainer.train_iteration: 16.7488
VanillaPipeline.get_train_loss_dict: 16.7478
Traceback (most recent call last):
File "C:\Users\user\anaconda3\envs\nerfstudio\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\user\anaconda3\envs\nerfstudio\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\user\anaconda3\envs\nerfstudio\Scripts\ns-train.exe__main__.py", line 7, in
@gradeeterna It shows the compiling is failed. Any error message before this to show the compiling errors?
@liruilong940607 Yeah there was a huge wall of errors when running ns-train splatfacto, starting with:
Traceback (most recent call last):
File "C:\Users\user\anaconda3\envs\nerfstudio\lib\site-packages\gsplat\cuda_backend.py", line 41, in
Attached the full errors as a txt below.
Also tried setting up a fresh conda env and installing from scratch, tinycudann etc seemed to build fine, but get these errors when I try ns-train. Downgraded to nerfstudio v1.1.0 and gsplat v0.1.11 for now.
Thanks!
Thanks for sharing the error log! this is very helpful! I'm gonna look into it
Hi @gradeeterna , I'm having the same error as you did, but I tried to downgrade nerfstudio & gsplat but still same error
pip install nerfstudio==1.1.0 pip install gplat==0.1.11
Can you share how did you do the downgrade?
@Ben-Mack I'm pretty sure that's all I did to downgrade a few days ago, but I was also struggling with this again yesterday.
I eventually got the latest versions of nerfstudio 1.1.2 and gsplat 1.0 to work following the updated Windows installation guide here - https://github.com/nerfstudio-project/nerfstudio/blob/main/docs/quickstart/installation.md
After the vcvarsall.bat part, I also had to run "set DISTUTILS_USE_SDK=1" to get gsplat to build successfully.
Also if installing nerfstudio from source rather than pip install, skip "pip install --upgrade pip setuptools" as that updates setuptools from v69 to v70 which wasn't working with splatfacto.
Fix the issue of
torch.compile()
introduced in #3200 is not supported on windows