facebookresearch / goliath

Goliath Dataset and Official PyTorch Implementation of RelightableHands, Relightable Gaussian Codec Avatars, and Driving-Signal Aware Full-Body Avatars.
Other
205 stars 15 forks source link

ImportError in sgutils(undefined symbol: _ZN3c104cuda9SetDeviceEi) #23

Closed dailinyuan1 closed 3 weeks ago

dailinyuan1 commented 3 weeks ago

when I use it in an other project. It seems have something wrong. : ImportError (note: full exception trace is shown but execution is paused at: _run_module_as_main) /home/guoyang/GMS/gaussian-mesh-splatting/extensions/sgutils/sgutilslib.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZN3c104cuda9SetDeviceEi

una-dinosauria commented 3 weeks ago

You should probably re-compile the extensions wherever you are trying to run the code.

dailinyuan1 commented 3 weeks ago

You should probably re-compile the extensions wherever you are trying to run the code.

You should probably re-compile the extensions wherever you are trying to run the code.

Thank you for your response! I have resolved the issue. The problem was caused by a mismatch between the CUDA version used by the PyTorch in my virtual environment and the CUDA version of the system.

una-dinosauria commented 3 weeks ago

Thanks for sharing your solution! Closing this issue now.