FYI CUDA 12.4 required
After wasting a few hours on this, I hit a blocking error when trying to compile the custom rasterizer
error: static assertion failed with "error STL1002: Unexpected compiler version, expected CUDA 12.4 or newer."
For anyone else with old hardware, this is where you'll stop for now. I'm just creating this discussion to save people some time.
The GPU treadmill sucks. Bad.
Hoping commodity NPU's become practical alternatives. Really soon. Personally i'm sick of funding the NVIDIA garden.
Shame. I came looking to see if I could get it to run on apple silicon. Can easily handle models that size CUDA dependency is a killer. Frustrating. Hopefully we get a way round it at some point!
Shame. I came looking to see if I could get it to run on apple silicon. Can easily handle models that size CUDA dependency is a killer. Frustrating. Hopefully we get a way round it at some point!
Unfortunately its the same old drill " buy a new device, serf". ( apple is as bad as NVIDIA is )
runs fine without any change to CUDA, you need to:
Use the standalone Python (python_standalone\python.exe)
Uninstall any existing torch packages
Install the CUDA 11.8–compatible PyTorch wheels into the standalone env
Invoke the normal 1-compile-install-texture-gen.bat to build DISO/custom_rasterizer
I created a batch file that will do so:
@echo
off
setlocal
REM ── Adjust these if your layout differs ──
set ROOT=%~dp0
set PY=%ROOT%python_standalone\python.exe
echo.
echo --------------------------------------------------
echo 1) Switching PyTorch to CUDA 11.8 build in standalone env
echo --------------------------------------------------
"%PY%" -m pip uninstall -y torch torchvision torchaudio
"%PY%" -m pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118
if errorlevel 1 (
echo.
echo ERROR: Failed to install PyTorch cu118. Check your network and pip logs.
pause
exit /b 1
)
echo.
echo --------------------------------------------------
echo 2) Compiling/installing texture generator (DISO)
echo --------------------------------------------------
call "%ROOT%1-compile-install-texture-gen.bat"
if errorlevel 1 (
echo.
echo ERROR: Texture-gen compile step failed.
pause
exit /b 1
)
echo.
echo ✓ All done! Texture generation should now work.
pause
endlocal