Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COLMAP not being compiled with cuda #3588

Open
bertaveira opened this issue Feb 7, 2025 · 2 comments
Open

COLMAP not being compiled with cuda #3588

bertaveira opened this issue Feb 7, 2025 · 2 comments

Comments

@bertaveira
Copy link

Describe the bug
I was looking around and playing with the pixi environment and I noticed that the COLMAP used and specified in the lockfile is the CPU version so this is no longer GPU accelerated compared to manually compiling it.

Also looking at the docker image the changes on pull rerquest #3283 made it install pycolmap from pip which according to their documentation does not support cuda as it has to be manually installed for that as well as having colmap installed with cuda support. So since then the docker based usages also don't have pycolmap/colmap with cuda support.

I am not sure this makes any difference at all and understand how painful it is to force the cuda versions of those but felt like sharing in case it was not known.

@AntonioMacaronio
Copy link
Contributor

If anyone is coming across this issue with pixi and colmap not coming with cuda, please install colmap with
conda install colmap=3.8 -c conda-forge

@bertaveira
Copy link
Author

As far as I can see from PyColmap/COLMAP they do not provide any pre compiled binary that was compiled with CUDA.

COLMAP documentation which says

Note that the COLMAP packages in the default repositories for Linux/Unix/BSD do not come with CUDA support, which requires a manual build from source
https://colmap.github.io/install.html#installation

Also pycolmap readme

They are currently not built with CUDA support, which requires building from source
https://pypi.org/project/pycolmap/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants