vggt icon indicating copy to clipboard operation
vggt copied to clipboard

pycolmap DLL initialization failed on RTX 5090 with CUDA 12.8

Open YananZHOU5555 opened this issue 3 months ago • 1 comments

The demo_colmap.py script fails to run due to pycolmap DLL initialization error when using CUDA 12.8 PyTorch build, which is required for RTX 5090 compatibility.

Environmental Building Procedure:

   conda create -n vggt python=3.10 -c conda-forge -y
   conda activate vggt
   pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu128
   pip install huggingface_hub einops safetensors
   pip install pycolmap trimesh
   pip install kornia>=0.6.8
   pip install git+https://github.com/cvg/LightGlue.git
   pip install hydra-core
   pip install pycolmap==3.10.0

Error Message:

(vggt) D:\VGGT\vggt>python demo_colmap.py --scene_dir=D:\VGGT\vggt\examples\kitchen
Traceback (most recent call last):
  File "D:\VGGT\vggt\demo_colmap.py", line 23, in <module>
    import pycolmap
ImportError: DLL load failed while importing pycolmap: 动态链接库(DLL)初始化例程失败。

Is ther any alternative approaches to generate COLMAP-like data?

YananZHOU5555 avatar Sep 23 '25 12:09 YananZHOU5555

It can be solved by:

https://github.com/colmap/pycolmap/issues/288

jytime avatar Sep 24 '25 20:09 jytime