ashawkey / torch-ngp

A pytorch CUDA extension implementation of instant-ngp (sdf and nerf), with a GUI.
MIT License
2.11k stars 275 forks source link

compiling shencoder on windows with cuda 12.5 in windows #200

Open Duodecimus opened 4 months ago

Duodecimus commented 4 months ago

modify setup.py to make sure paths and C++ version are correct runsetup.py to create build.ninja and see errors

first error:LINK : fatal error LNK1181: cannot open input file 'c10_cuda.lib'

use Everything to find file, discover it doesn't exist anywhere on the computer and is never mentioned in any file in torch-ngp

if you don't have it, it means you installed torch for CPU, check up on your cuda version, and go update torch what I ended up doing was pip install --ignore-installed torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121