pierotofy / OpenSplat

Production-grade 3D gaussian splatting with CPU/GPU support for Windows, Mac and Linux 🚀
https://antimatter15.com/splat/?url=https://splat.uav4geo.com/banana.splat
GNU Affero General Public License v3.0
924 stars 87 forks source link

Don't set TORCH_CUDA_ARCH_LIST by default #100

Closed pierotofy closed 5 months ago

pierotofy commented 5 months ago

Sets TORCH_CUDA_ARCH_LIST only if CMAKE_CUDA_ARCHITECTURES is explicitly set.

On my machine, setting TORCH_CUDA_ARCH_LIST would cause the program to not run, due to my GPU architecture not being explicitly in the list.