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
939 stars 87 forks source link

Support latest libtorch 2.2.x #19

Closed pfxuan closed 9 months ago

pfxuan commented 9 months ago

This PR is able to build both old and latest libtorch versions. It also fixes https://github.com/pierotofy/OpenSplat/issues/17. The root cause of the Compilation error is a bit complicated and seems having a long tail:

The updated build matrix: os: [ubuntu-22.04, ubuntu-20.04] torch-version: [2.1.2, 2.2.1] cuda-version: ['cu118', 'cu121'] cmake-build-type: [Release]

pierotofy commented 9 months ago

Thanks for looking into this and for the PR @pfxuan ! This looks 👍